Linux下ejabberd安裝配置

2021-06-29 05:46:43 字數 1814 閱讀 9070

[root@localhost xmpp]# chmod +x ejabberd-2.1.13-linux-x86_64-installer.run
3、安裝ejabberd

[root@localhost xmpp]# ./ejabberd-2.1.13-linux-x86_64-installer.run 

language selection

please

select

the installation language

[1] dutch -nederlands

[2] english -english

[3] french -français

[4] german -deutsch

[5] russian -русский

[6] simplified chinese -簡體中文

[7] spanish -español

.....

4、安裝完成後啟動

[root@localhost xmpp]# cd /opt

[root@localhost opt]# cd ejabberd-2.1.13/[root@localhost ejabberd-2.1.13

]# cd bin

[root@localhost bin]# ./start

[root@localhost bin]# ./status

the node ejabberd@localhost

isstarted with status: started

ejabberd

2.1.13

is running in that node

服務已經啟動。可以用web來管理。

5、mysql配置

[root@localhost bin]# mysql -u root -p

enter password:

建立使用者和修改許可權

mysql:>create database ejabberd

mysql:>grant all privileges on ejabberd.* to ejabberd@』127.0.0.1

′ identified by 』ejabberd』;

mysql:>grant all privileges on ejabberd.*to ejabberd@』localhost』 identified by 』ejabberd』;

建立資料庫

mysql:>source /usr/local/ejabberd/lib/ejabberd-2.1.3/priv/odbc/mysql.sql;

6、xmpp服務配置

修改ejabberd.cfg檔案如下:

注釋掉: .

取消注釋:.

取消注釋並設定資料庫名稱和密碼:

}. 修改模組如下:都增加_odbc

, ,

, ,

, ,

重啟服務:

cd /bin下

./start 命令

7、註冊管理員使用者

./ejabberdctl register admin 192.168.200.239

123456

linux下ejabberd框架搭建

ejabberd為erlang的im的開源框架,一直想找個時間研究研究 wget root localhost xmpp chmod x ejabberd 2.1.13 linux x86 64 installer.run3 安裝ejabberd root localhost xmpp ejabbe...

ejabberd在windows10上安裝記錄

安裝完ejabberd ejabberd 17.11 windows installer.exe 啟動報錯 bash ejabberdctl register admin ycy rgq admin error conflict try version 16.06 instead of 16.08 ...

Linux環境下MySQL python安裝過程

參考 1.首先確認python的版本為2.3.4以上,如果不是需要公升級python的版本 python v 檢查python版本 2.安裝mysql,比如安裝在 usr local mysql目錄下 4.安裝 mysql python tar xvzf mysql python 1.2.2.tar...