Ubuntu搭建XMPP服务器Openfire

@bingoogolapple 2015-09-05 12:57:19发表于 bingoogolapple/bingoogolapple.github.io Linux开发环境

安装Openfire

sudo apt-get update

sudo apt-get install default-jre

wget -O openfire.deb http://download.igniterealtime.org/openfire/openfire_3.10.2_all.deb

sudo dpkg --install openfire.deb

配置Openfire

在终端登录mysql,创建openfire数据库
create database openfire default character set utf8;
初始化openfire数据库
use openfire;
source /usr/share/openfire/resources/database/openfire_mysql.sql;
访问下面的网址配置相应地参数
http://www.bingoogolapple.cn:9090