1.Install Java
2.Create one user and one database for OpenFire
By using phpMyAdmin:
Start phpMyAdmin. On the main page, locate Priviledges and scroll down to Add a new User. Use the following on the New User screen:
Username = Enter a username, I used ‘openfire’
Host = From the drop down menu, select localhost
Password = Enter a password, retype your password
Host = From the drop down menu, select localhost
Password = Enter a password, retype your password
Under the Database for user section of that page, click on the radio button for Create database with same name and grant all priviledges.
At the bottom of the page, click on the Go button.
3.Download and unpack our package
Change directory
cd /opt
Download the archive from OpenFire Official Website
sudo wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_6_4.tar.gz
Unpack file
sudo tar zxvf openfire_3_6_4.tar.gz
Create a a symlink
sudo ln -s /opt/openfire/bin/openfire /etc/init.d/
Make your symlink executable
sudo chmod +x /etc/init.d/openfire
cd /opt/openfire
Add openfire to our startup
sudo update-rc.d openfire defaults
sudo nohup ls >ls.log 2>&1 &
Now go to your browser and continue installation
http://localhost:9090
or
http://your_external_ip:9090
To uninstall Openfire from Ubuntu system, follow this guide.
Resources: Openfire Website, Evolution Creations and Ubuntu-unleashed
1 comments:
Great......Working Fine.......
Thanks ..........
Post a Comment