redhat_opensrf_trunk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| redhat_opensrf_trunk [2010/04/15 15:42] – leed | redhat_opensrf_trunk [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| useradd -m -s /bin/bash opensrf | useradd -m -s /bin/bash opensrf | ||
| passwd opensrf | passwd opensrf | ||
| - | | + | - As the **opensrf** user, download the source files for OpenSRF trunk:< |
| - | echo exclude=libevent-1.4* >> / | + | |
| - | | + | |
| cd && svn checkout svn:// | cd && svn checkout svn:// | ||
| - | wget http:// | ||
| - | cd / | ||
| - | patch -p0 < ../ | ||
| </ | </ | ||
| - As the **root** user, install the prerequisites:< | - As the **root** user, install the prerequisites:< | ||
| + | cd / | ||
| make -f src/ | make -f src/ | ||
| </ | </ | ||
| Line 121: | Line 117: | ||
| 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 finish adding these programs to autostart:< | ||
| + | chkconfig --level 2345 ejabberd on | ||
| + | chkconfig --level | ||
| Starting OpenSRF with the '' | Starting OpenSRF with the '' | ||
redhat_opensrf_trunk.1271360526.txt.gz · Last modified: 2022/02/10 13:33 (external edit)