redhat_opensrf_trunk
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
redhat_opensrf_trunk [2010/03/10 14:04] – created leed | redhat_opensrf_trunk [2010/04/21 15:09] – leed | ||
---|---|---|---|
Line 22: | Line 22: | ||
useradd -m -s /bin/bash opensrf | useradd -m -s /bin/bash opensrf | ||
passwd opensrf | passwd opensrf | ||
+ | - As the **root** user, add libevent-1.4 to the exclude section of yum.conf:< | ||
+ | echo exclude=libevent-1.4* >> / | ||
- As the **opensrf** user, download and patch the source files for OpenSRF trunk:< | - As the **opensrf** user, download and patch the source files for OpenSRF trunk:< | ||
cd && svn checkout svn:// | cd && svn checkout svn:// | ||
Line 31: | Line 33: | ||
make -f src/ | make -f src/ | ||
</ | </ | ||
+ | This will install a number of packages required by OpenSRF on your system, including some Perl modules from CPAN. You can say “no” to the initial CPAN configuration prompt to allow it to automatically configure itself to download and install Perl modules from CPAN. The CPAN installer will ask you a number of times whether it should install prerequisite modules - say “yes”. | ||
- Build OpenSRF: | - Build OpenSRF: | ||
- As the **opensrf** user, configure and compile OpenSRF. You can include the '' | - As the **opensrf** user, configure and compile OpenSRF. You can include the '' | ||
Line 118: | Line 121: | ||
You might want to add these to start when the machine boots:< | You might want to add these to start when the machine boots:< | ||
- | echo / | + | useradd -m -s /bin/bash ejabberd |
- | chkconfig --level | + | chown ejabberd: |
+ | cp / | ||
+ | vi / | ||
+ | </code> | ||
+ | Now add these lines to the top of /etc/init.d/ejabberd immediately below the # | ||
+ | # chkconfig: 2345 95 20 | ||
+ | # description: | ||
+ | # Script to start and stop ejabberd | ||
+ | # processname: | ||
+ | </ | ||
+ | Now Finnish adding these programs to autostart:< | ||
+ | chkconfig --level 2345 ejabberd on | ||
+ | chkconfig --level | ||
Starting OpenSRF with the '' | Starting OpenSRF with the '' |
redhat_opensrf_trunk.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1