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. 設置mysql root帳戶密碼:
5. create openfire database in mysql
# mysql -u root -p
mysql> create database openfire
6. 導入mysql數據錄對應的sql,創建數據表
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 數據庫選外部數據庫mysql
jdbc:mysql://localhost:3306/openfire
8. admin/passwd不好用, 自己在數據庫中改
8.1 使用Mysql查看工具進入數據庫,進入表"ofuser",將該表清空,
# mysql -u root -p openfire
mysql> delete from ofUser where username='admin' ;
Query OK, 1 row affected (0.01 sec)
8.2? 然后執行該
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. 關閉openfire服務,就是從其控制臺stop然后再start,再用用戶名:admin,密碼:admin登錄即可
Openfire 的詳細介紹:請點這里
Openfire 的下載地址:請點這里
相關閱讀:
總結
以上是生活随笔為你收集整理的linux openfire mysql_Openfire 服务器在Linux上的安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java final域_final域_鲲
- 下一篇: java在td中怎么用if_不在Java