Ejabberd Install

  • Upload
    martins

  • View
    223

  • Download
    0

Embed Size (px)

DESCRIPTION

Installation How to

Citation preview

yum groupinstall "Development Tools"yum install kernel-devel kernel-headerswget http://www.erlang.org/download/otp_src_R16B02.tar.gz tar xzf otp_src_R16B02.tar.gzcd otp_src_R16B02./configuremakemake installcd ~wget http://www.process-one.net/downloads/ejabberd/2.1.13/ejabberd-2.1.13.tgztar xzf ejabberd-2.1.13.tgzcd ejabberd-2.1.13/src./configure --enable-odbcmakemake installvi /etc/ejabberd/ejabberd.cfgModify the following{loglevel, 5}.{hosts, ["justconnected.com"]}.ejabberctl startejabberdctl register admin jcchat.graymatrix.com tempasswordcd ~svn co https://svn.process-one.net/ejabberd-modulescd ejabberd-modules/mod_rest/trunk./build.shcp ebin/mod_rest.beam /lib/ejabberd/ebin/cd ../../mod_muc_admin/trunk/./build.shcp ebin/mod_muc_admin.beam /lib/ejabberd/ebin/cd ../../mod_log_chat/trunk/./build.shcp ebin/mod_log_chat.beam /lib/ejabberd/ebin/cd ~git clone https://github.com/Eonblast/Emysqlcd Emysqlmakecp Emysql/ebin/* ejabberd-dev/trunk/ebin/cd ~git clone https://github.com/candy-chat/mod_log_chat_mysql5.gitcd ../../mod_log_chat_mysql5/./build.shcp ebin/mod_log_chat_mysql5.beam /lib/ejabberd/ebin/cd ~cp Emysql/ebin/* /lib/ejabberd/ebin/cd ../../ejabberd-modules/mod_archive/trunk/./build.shcp ebin/*.beam /lib/ejabberd/ebin/vi /etc/ejabberd/ejabberd.cfg Add the following{5280, ejabberd_http, [ [ {["pub", "archive"], mod_http_fileserver}, {["http-bind"], mod_http_bind}, {["rest"], mod_rest} ]}, captcha, http_bind, http_poll, %%register, web_admin ]} ]}.{modules, [{mod_rest, []}, {mod_archive_odbc, [{database_type, "mysql"}, {default_auto_save, true}, {enforce_default_auto_save, true}]}, {mod_log_chat_mysql5, [{server, "localhost"}, {db, "ejabberd"}, {user, "sss"}, {password, "solomo"}, {pool_size, 1}, {encoding, utf8}]},ejabberdctl stopejabberdctl start