linux openfire mysql_Openfire 服务器在Linux上的安装
Install the openfire server on Ubuntu 9.04
1. install the sun-Java6-jre
2. install the openfile deb
3. install the mysql server
4. 設(shè)置mysql root帳戶密碼:
5. create openfire database in mysql
# mysql -u root -p
mysql> create database openfire
6. 導入mysql數(shù)據(jù)錄對應的sql,創(chuàng)建數(shù)據(jù)表
mysql> use openfire
mysql> source /opt/openfire/resources/database/openfire_mysql.sql;
7.setup openfire url:http://[server ip]:9090
7.1 domain填入IP address
7.2 數(shù)據(jù)庫選外部數(shù)據(jù)庫mysql
jdbc:mysql://localhost:3306/openfire
8. admin/passwd不好用, 自己在數(shù)據(jù)庫中改
8.1 使用Mysql查看工具進入數(shù)據(jù)庫,進入表"ofuser",將該表清空,
# mysql -u root -p openfire
mysql> delete from ofUser where username='admin' ;
Query OK, 1 row affected (0.01 sec)
8.2? 然后執(zhí)行該
mysql> INSERT INTO ofUser (username, plainPassword, name, email, creationDate, modificationDate)
-> VALUES ('admin','admin','Administrator','admin@example.com ','0','0');
Query OK, 1 row affected (0.00 sec)
9. 關(guān)閉openfire服務,就是從其控制臺stop然后再start,再用用戶名:admin,密碼:admin登錄即可
Openfire 的詳細介紹:請點這里
Openfire 的下載地址:請點這里
相關(guān)閱讀:
總結(jié)
以上是生活随笔為你收集整理的linux openfire mysql_Openfire 服务器在Linux上的安装的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java final域_final域_鲲
- 下一篇: java在td中怎么用if_不在Java