In the last post we just finished installing MySQL on minimal install of CentOS 6.5.
Note: If you have not yet read Part 1 please click here.
To rehash what we are working with below are the Hardware and Software, as well as our goals.
Virtual machine or physical machine to setup the server on.
Centos 6.5 minimal install
Openfire server software
Have an internal IM client solution similar to windows live or gtalk,
Now we are going to install Open fire on our server.
Lets Get Started
Ensure you are logged into your server as root.
1. Install wget with the following command
yum install wget
Download and install Openfire
1. Download Openfire with the following command
2. Install Open fire by running the following command:
rpm -ivh openfire-3.9.1-1.i386.rpm
3. Start Open Fire with the following command:
service openfire start
4. Open iptables config file located in /etc /sysconfig/ iptables using vi
-A INPUT -p tcp -m state --state NEW -m tcp --dport 9090 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 9091 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 5222 -j ACCEPT
5.On another machine open a browser and go to http://[Server IP]:9090 to run the Setup
9. Select MySQL from database driver
Change[Host-name] to Localhost
Change [Database-name] to openfire
Enter openfire as username
Enter the password you created when creating the openfire database user
Setup is now complete you can log into the admin console.
In Part 3 I will be going over how to create users and connect from your desktop.