Install OpenFire 3.8.1 on CentOS 6.4 x86_64
Install Centos 6.4 x86_64
- Be sure to only do the “minimal” install — use the minimal ISO from here
This installs the dependencies:
yum -y install wget java glibc.i686
Change to the /tmp directorycd /tmp
Download the RPM from this page -or- use this direct link for the RPM.wget http://download.igniterealtime.org/openfire/openfire-3.8.1-1.i386.rpm
Run and install the RPMyum -y install ./openfire*rpm
Once the RPM has been installed, start the openfire serviceservice openfire start
Ensure that openfire will boot with your serverchkconfig –level 235 openfire on
For this instance, you’ll want to make sure iptables is not running,
you can configure the iptables rules how you need them later.service iptables stop
Install mysql serveryum -y install mysql-server
Start mysql server/sbin/service mysqld start
Ensure mysql starts when the server does/sbin/chkconfig mysqld on
Start the basic mysql secure install/usr/bin/mysql_secure_installation
hit “enter” to give no passwordgenerate and save a new root password
hit “enter” aka “Y” on the rest of the questions
Restart mysql server
/sbin/service mysqld restart
Login to mysql as root (use the new root password you just entered)/usr/bin/mysql -u root -p
Create databaseCREATE DATABASE openfire;
Create user (update *username* and *securepassword* below)INSERT INTO mysql.user (User,Host,Password) VALUES(‘username’,’127.0.0.1′,PASSWORD(‘securepassword’));
Save your changesFLUSH PRIVILEGES;
Give the user access to the databaseGRANT ALL PRIVILEGES ON openfire.* to openfire@127.0.0.1;
Save your changesFLUSH PRIVILEGES;
Exit mysqlexit
Navigate in your browser tohttp://yourdomain.com:9090
Follow the steps, enter in the mysql information that you created
when prompted for a database. You are now good to go! Don’t forget to
update your iptables, learn more
No comments:
Post a Comment