Monday, 15 November 2010

(tested on ubuntu lucid lynx well)


Install openfire :

  • Donwload installer, simpan di folder /opt
  1. Lewat browser : http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3.6.4_all.deb
  2. Lewat terminal, ketik : sudo wget http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3.6.4_all.deb
  • Install java (bila belum terinstall)
  1. Check java : sudo java -version
  2. Install java : sudo apt-get install sun-java6-bin (note : java sudah tersedia di source backport, pastikan source backport diaktifkan)
  • Create database, bila ingin menggunakan database yg not embedded dari openfire. misalkan dibaut database di mysql dengan nama database openfire
  • Masuk ke folder /opt dan install / ekstrak file hasil download, secara default akan membuat folder /opt/openfire
  • Otomatisasi load openfire waktu booting :
  1. Buat symlink : sudo ln -s /opt/openfire/bin/openfire /etc/init.d/
  2. Jadikan executable : sudo chmod +x /etc/init.d/openfire
  3. Update startup default : sudo update-rc.d openfire defaults
  • Append log : sudo nohup ls>ls.log 2>&1 &
  • Setup openfire dengan browser : http://localhost:9090 

Deinstall openfire :

  • Terminate service : sudo /etc/init.d/openfire stop
  • Hapus dari service : sudo update-rc.d -f openfire remove
  • Hapus startup : sudo rm /etc/init.d/openfire
  • Hapus file : sudo rm -rf /opt/openfire
  • Hapus database openfire bila menggunakan database non embedded

Thanks

0 comments:

Quotation

Blog Archive

Breaking News

Popular Posts