Create Jabber User and Group
You should create a jabber user and group to run the server:
P Parameter: Jabber User and Group
Create a user and group that will be used to run Jabberd (as superuser):
su
groupadd jabber
useradd -g jabber jabber
Create Directories for PID's and Logs
You should create a directory for Jabberd to store its PID and log files, and ownership of these directories should be set to the user created above.
P Parameter: PID Directory
Create a directory for PID files (as superuser):
su
mkdir -p /usr/local/var/jabberd/pid/
chown -R jabber:jabber /usr/local/var/jabberd/pid/
The above directory is the default location for Jabberd PID files.
You may also choose to create a directory for Jabberd logs.
O Optional: Log Directory
If you wish, create a separate directory for Jabberd logs, and set ownership to your jabber user:
mkdir -p /usr/local/var/jabberd/log/
chown -R jabber:jabber /usr/local/var/jabberd/log
-----------------------------------------------------
tar xvzf jabberd-2.0s11.tar.gz
cd jabberd-2.0s11
./configure --enable-mysql --enable-ssl --enable-idn \--with-extra-include-path=/usr/include/mysql:/usr/include \--with-extra-library-path=/usr/lib/mysql:/usr/lib
make
make install
----------------------------------------------------
If gsasl error then u have to install folowing package
libgsasl
lingsasl-devel
-------------------------------------------------------
create a mysql user (jabberd2) with password.(Using webmin OR PHPMYADMIN)
make jabberd2 jabberd2 database user
create jabberd2 database with PHPMYADMIN
/etc/init.d/jabberd start
u have to open port 5222 to login from internet to server
All done
You should create a jabber user and group to run the server:
P Parameter: Jabber User and Group
Create a user and group that will be used to run Jabberd (as superuser):
su
groupadd jabber
useradd -g jabber jabber
Create Directories for PID's and Logs
You should create a directory for Jabberd to store its PID and log files, and ownership of these directories should be set to the user created above.
P Parameter: PID Directory
Create a directory for PID files (as superuser):
su
mkdir -p /usr/local/var/jabberd/pid/
chown -R jabber:jabber /usr/local/var/jabberd/pid/
The above directory is the default location for Jabberd PID files.
You may also choose to create a directory for Jabberd logs.
O Optional: Log Directory
If you wish, create a separate directory for Jabberd logs, and set ownership to your jabber user:
mkdir -p /usr/local/var/jabberd/log/
chown -R jabber:jabber /usr/local/var/jabberd/log
-----------------------------------------------------
tar xvzf jabberd-2.0s11.tar.gz
cd jabberd-2.0s11
./configure --enable-mysql --enable-ssl --enable-idn \--with-extra-include-path=/usr/include/mysql:/usr/include \--with-extra-library-path=/usr/lib/mysql:/usr/lib
make
make install
----------------------------------------------------
If gsasl error then u have to install folowing package
libgsasl
lingsasl-devel
-------------------------------------------------------
create a mysql user (jabberd2) with password.(Using webmin OR PHPMYADMIN)
make jabberd2 jabberd2 database user
create jabberd2 database with PHPMYADMIN
/etc/init.d/jabberd start
u have to open port 5222 to login from internet to server
All done
0 Comments