安装mysql
#yum -y install mysql-server
启动mysql服务
#service mysqld start
设置开机自启动
# chkconfig mysqld on
设置root密码
# mysqladmin -u root password 123456
安装openfire
#rpm -ivh openfire-3.7.1-1.i386.rpm
启动服务
# service openfire start
设置开机自启动
# chkconfig openfire on
进入数据库
# mysql -u root -p
mysql> create database openfire;
Query OK, 1 row affected (0.06 sec)
mysql> use openfire;
Database changed
mysql> source /opt/openfire/resources/database/openfire_mysql.sql;
mysql> grant all on openfire.* to admin@"%" identified by 'admin';
mysql> quit
客户端访问URL路径
http://192.168.0.112:9090/
选择简体中文
本篇文章来源于 Linux公社网站( www.linuxidc.com) 原文链接: http://www.linuxidc.com/Linux/2012-09/69539.htm
#yum -y install mysql-server
启动mysql服务
#service mysqld start
设置开机自启动
# chkconfig mysqld on
设置root密码
# mysqladmin -u root password 123456
安装openfire
#rpm -ivh openfire-3.7.1-1.i386.rpm
启动服务
# service openfire start
设置开机自启动
# chkconfig openfire on
进入数据库
# mysql -u root -p
mysql> create database openfire;
Query OK, 1 row affected (0.06 sec)
mysql> use openfire;
Database changed
mysql> source /opt/openfire/resources/database/openfire_mysql.sql;
mysql> grant all on openfire.* to admin@"%" identified by 'admin';
mysql> quit
客户端访问URL路径
http://192.168.0.112:9090/
选择简体中文
本篇文章来源于 Linux公社网站( www.linuxidc.com) 原文链接: http://www.linuxidc.com/Linux/2012-09/69539.htm