Life is about extreme choice

May 29, 2009

Java tidak ada di Ubuntu Jaunty ?!?!

Saat pertama kali install Ubuntu 9.04 Jaunty agak sedikit kaget. Ternyata Ubuntu versi ini sudah tidak menyertakan Java. Agak sempet bingung juga neeh. Pasalnya terakhir kali pake Ubuntu versi 7.10 masih ada Java walaupun Java dari GNU (gij). Well, karena bagi gw, Java terutama sekali dari keluaran SUN adalah mandatory maka dengan terpaksa gw install lagi.

Gw lebih memilih install dari repositori daripada ekstrak seperti biasanya. Gw arahkan repositori situs kambing.ui.edu. Lumayan cepet lah pake network kantor. Kurang lebih 30 menit, Java sudah siap. Dan gw bisa mulai install aplikasi-aplikasi gw yang membutuhkan Java seperti SAPGUI for Java (aplikasi untuk akses SAP R/3 Server dan SAP ERP 6.0 IDES), Free Rapid Downloader (aplikasi untuk download dari penyedia download seperti rapidshare, megaupload, mediafire, dll), SAP Download Manager (aplikasi untuk download dari situs SAP), dll.

February 13, 2009

Pusingnya ng-admin-in Windows Server

Filed under: Article, Business, Ngoprek — Tags: , , , , — ardhian @ 10:00 am

Di kantor masih banyak server-server berbasis Windows (gue gak bisa apa2 soal ini karena kebijakan kantor terdahulu dan developer disini Microsoft minded dengan .NET Framework buzzword). Walaupun gue pribadi pemakai Linux. Gue memakai OpenSuSE 11.0 di notebook kantor dan gak ada Windowsnya sama sekali…full linux.

Parahnya lagi, dalam 2 bulan terakhir ini jaringan internal kantor diserang oleh virus dan worm yang menjengkelkan. Antivirus yang dipakai kantor (Kaspersky) tidak mampu menahan serangan ini. Vendor dan supportnya juga kelabakan. Walaupun gue tenang-tenang karena notebook tidak terjangkiti namun ikutan repot gara-gara worm ini.

Gue dalam berbagai kesempatan selalu berusaha propose ke bos untuk switch aplikasi berbasis Java dengan harapan agar aplikasi bisa berjalan multiplatform. Artinya gue juga bisa propose untuk migrasi mengggunakan Linux. Gue menaruh harapan besar untuk hal ini.

January 30, 2008

Me-remaster Linux (Just for internal use !!)

Filed under: Article, Business, Linux, UNIX, Unek-unek — Tags: , , , , , — ardhian @ 10:48 am

Saat ini saya sedang melakukan remastering Linux. Tujuan awalnya adalah untuk mendapatkan distro Linux yang sesuai dengan kebutuhan.

“Lho, memangnya distro Linux yang jumlahnya ratusan dan bertebaran di jagad internet blom cukup mas ??”

Beberapa pertanyaan ditujukan ke email saya. Memang saat ini sudah banyak distro Linux yang bagus. Namun yang benar-benar sesuai dengan kebutuhan saya (dalam hal ini kebutuhan di kantor) belum ada. Jadi saya memutuskan untuk me-remaster sendiri distro Linux yang sudah ada menjadi distro yang benar-benar customized.

“Emang kebutuhannya distro Linuxnya seperti apa ?”

Setiap individu memiliki kebutuhan distro Linux yang berbeda. Berikut kebutuhan distro Linux di tempat saya bekerja :

  • Sudah include Sun JRE 1.5 atau yang lebih tinggi
  • Sudah include SAPGUI for Java (untuk akses server SAP). Udah gak perlu install SAPGUI lagi dari nol. Cukup install Linux…SAPGUI for Java udah terinstall
  • Sudah include wine (untuk kebutuhan emulasi Lotus Notes Client)
  • Sudah include IRC client untuk akses server IRC lokal di kantor). Biasanya saya pake XChat
  • Sudah include SAMBA server untuk sharing dengan PC Windows yang masih ada
  • Include driver-driver printer Linux (biasanya sudah ada sih).

Itu sedikit diantara kebutuhan di tempat saya bekerja.

“Trus mau pake distro Linux apa untuk diremaster ?”

Saat ini saya mencoba remaster distro Ubuntu, Linux Mint dan PC Linux OS. Saya pribadi prefer Linux Mint dan PC Linux OS karena lebih simple dan gak banyak kerjaan untuk install. Maunya sih tampilan dibuat kayak XP atau Vista agar user-user di lapangan seneng dan tidak shock melihat Linux. He…he..he.. sebenarnya sih user-user di tempat saya tidak shock karena sudah setahun ini pake Linux (hampir 80%).

O iya…barusan saya juga menerima request dari temen-temen agar nantinya mereka dapat meminta iso atau CD hasil remaster. Waks ?!?!….Nah, ini bisa jadi masalah karena secara lisensi SAPGUI for Java yang bukan open source mungkin tidak bisa di-include-kan. SAP Indonesia bisa protes ke saya nanti…:D…he..he..

December 6, 2006

How-to-Install-Java-in-Fedora-Core-6

Filed under: Article, Linux, Ngoprek, UNIX — Tags: , , — ardhian @ 8:45 am

By default, Fedora Core 6 systems come with an old Java software installed, so you need to install a newer version of Java Runtime Environment to enjoy all the Java applications out there. In this quick guide, I will teach you how to update/install your Java Environment.

Let’s begin by downloading the latest version of JRE (Java Runtime Environment) from here. Just click on the Download link where it says Java Runtime Environment (JRE) 5.0 Update, then you’ll need to accept the license and download the Linux self-extracting file.

WARNING: Please remember to always replace the xx from the jre-1_5_0_xx-linux-i586.bin file with the latest version. At the moment of this guide’s writing, the latest version was 09, so the file should look like this: jre-1_5_0_09-linux-i586.bin

After you have finished downloading the file, you need to move it into the /opt folder. Open a console and type:

mv jre-1_5_0_xx-linux-i586.bin /opt

Now, you will need to make this file executable so you can extract it. Follow the commands below:

cd /opt – so you can go into the /opt directory
chmod +x jre-1_5_0_xx-linux-i586.bin

And now, let’s run the executable file with the following command:

./jre-1_5_0_xx-linux-i586.bin

You’ll be prompted with the License Agreement, hit space until you are asked if you agree or not. Type Yes and the extraction process will begin. After the extraction process is finished, just remove the binary file with the following command:

rm -rf jre-1_5_0_xx-linux-i586.bin

Now, let’s put the Java plugin into your browser’s plugin folder. Konqueror, Firefox and Mozilla browsers will all look into the same folder, for plugins. So type the following command:

ln -s /opt/jre1.5.0_xx/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so

Well, now you need to make the Java executable available for the whole system, so you can run all the Java applications you encounter. Create the following file with your preferred text editor:

kwrite /etc/profile.d/java.sh

Now paste the following options into the file, remember to enter a carriage return after these lines, then save it. Remember to replace the xx with the latest version you have downloaded:

export J2RE_HOME=/opt/jre1.5.0_xx
export PATH=$J2RE_HOME/bin:$PATH

Now, type the following command to make that file available:

source /etc/profile.d/java.sh

Then type this command to see if the path is correct:

which java

You will see something like this: /opt/jre1.5.0_09/bin/java

Then type these commands:

/usr/sbin/alternatives –install /usr/bin/java java /opt/jre1.5.0_xx/bin/java 2
/usr/sbin/alternatives –config java

After you have entered the last command, you’ll be asked to choose which Java software you want for your system. Just press 2 key and hit enter.

And finally, just type this command to see if everything looks good and your system has a new Java Environment:

/usr/sbin/alternatives –display java

And you can also type this command to see the version of your Java Runtime Environment:

java -version

Mine looks like this:

java version “1.5.0_09″
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)

You should now be able to run most of the Java applications out there, with the commands like:

java -jar application.jar

or

javaws application.jnlp

Enjoy!

Sourc e : http://news.softpedia.com/news/How-to-Install-Java-in-Fedora-Core-6-39724.shtml

May 16, 2006

play Billing — billing warnet berlisensi GPL

Filed under: Article, Business, Linux, UNIX — Tags: , , , — ardhian @ 1:51 am

Barusan saya dapet link-nya PlayBilling, sebuah aplikasi billing warnet dari http://sourceforge.net. Lumayan buat solusi billing warnet, lisensinya GPL…thanks to developers.

Situs playbilling bisa diakses di http://playbilling.sourceforge.net. Requirement H/W sbb :

Minimum Required Hardware
- Servers hardware
- Disk freespace for software and data disk at least 30 MB
Minimum Required Software
- Operating System Linux
- Linux Netfilter package (iptables)
- NO Web Server installed, NO application running on port 80 and 8442
- Java SDK (with JAVA_HOME and bin path configured)
- Apache Ant (with ANT_HOME and bin path configured)
Minimum Required Server Operator (or Developer)
- Understand howto install, configure and work with Java SDK and Ant
- Always find reading README, INSTALL and other docs as a fun activity :)
Dokumentasi bisa dilihat di http://www.wifirakyat.or.id/wiki/PlayBilling. Oke..sekarang ke cara instalasi yang bisa diikut :

Petunjuk mudah instalasi aplikasi PlayBilling adalah sebagai berikut :

  1. Download versi terakhir (saat ini versi 1.x.x)
  2. Copy hasil download anda ke /usr/local
  3. Extract, bila tar.gz lakukan tar -zxf playbilling-1.x.x.tar.gz dan apabila tar.bz2 maka lakukan tar -jxf playbilling-1.x.x.tar.bz2
  4. Edit file /usr/local/playBilling/playBilling_init dan konfigurasi sesuai dengan konfigurasi jaringan anda atau calon pelanggan anda
  5. Pastikan JAVA_HOME dan ANT_HOME telah terkonfigurasi, dan pastikan juga bahwa $JAVA_HOME/bin dan $ANT_HOME/bin berada dalam PATH
  6. Copy file database/sqltool.rc ke /root/
  7. cd /usr/local/playBilling dan lakukan ./playBilling_compile
  8. Untuk memulai program lakukan ./playBilling dan untuk mematikannya lakukan ./playBilling_shutdown

About Penulis

Ardhian – seorang linux geeks yang saat ini bekerja sebagai Basis (Administrator sistem SAP). Saat ini juga memegang sistem HPUX dan sebagai DBA Oracle. Pengelola toko linux online (http://linux-shop.siteburg.com). Penulis merupakan konsultan freelance untuk sistem Linux, migrasi windows ke Linux, network consultant dsb. Penulis bisa dihubungi di devratt@yahoo.com.

Blog at WordPress.com.