User Tools

Site Tools


redhat_opensrf_trunk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
redhat_opensrf_trunk [2010/04/15 15:42] leedredhat_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  # only necessary if you want to log in to this user directly</code> passwd opensrf  # only necessary if you want to log in to this user directly</code>
-  - As the **root** user, add libevent-1.4 to the exclude section of yum.conf:<code bash> +  - As the **opensrf** user, download the source files for OpenSRF trunk:<code bash>
-echo exclude=libevent-1.4* >> /etc/yum.conf</code> +
-  - As the **opensrf** user, download and patch the source files for OpenSRF trunk:<code bash>+
 cd && svn checkout svn://svn.open-ils.org/OpenSRF/trunk OpenSRF-trunk cd && svn checkout svn://svn.open-ils.org/OpenSRF/trunk OpenSRF-trunk
-wget http://esilibrary.com/~ldickens/rhel-evg/opensrf-rhel.diff 
-cd /home/opensrf/OpenSRF-trunk 
-patch -p0 < ../opensrf-rhel.diff 
 </code> </code>
   - As the **root** user, install the prerequisites:<code bash>   - As the **root** user, install the prerequisites:<code bash>
 +cd /home/opensrf/OpenSRF-trunk
 make -f src/extras/Makefile.install rhel make -f src/extras/Makefile.install rhel
 </code> </code>
Line 121: Line 117:
  
 You might want to add these to start when the machine boots:<code bash> You might want to add these to start when the machine boots:<code bash>
-echo /opt/ejabberd/bin/ejabberdctl start >> /etc/rc.local +useradd -m -s /bin/bash ejabberd 
-chkconfig --level 345 memcached on</code>+chown ejabberd:ejabberd -R /opt/ejabberd 
 +cp /opt/ejabberd/bin/ejabberd.init /etc/init.d/ejabberd 
 +vi /etc/init.d/ejabberd 
 +</code> 
 +Now add these lines to the top of /etc/init.d/ejabberd immediately below the #!/bin/sh:<code bash> 
 +# chkconfig: 2345 95 20 
 +# description: ejabberd start/stop init script 
 +# Script to start and stop ejabberd 
 +# processname: ejabberd 
 +</code> 
 +Now finish adding these programs to autostart:<code bash> 
 +chkconfig --level 2345 ejabberd on 
 +chkconfig --level 2345 memcached on</code>
  
 Starting OpenSRF with the ''start_all'' option starts the OpenSRF router, Perl services, and C services. As the **opensrf** user, start OpenSRF (**NOTE**: use the ''-l'' flag only if you wish to force the hostname for the ''<hosts>'' section in ''opensrf.xml'' to be ''localhost''):<code bash> Starting OpenSRF with the ''start_all'' option starts the OpenSRF router, Perl services, and C services. As the **opensrf** user, start OpenSRF (**NOTE**: use the ''-l'' flag only if you wish to force the hostname for the ''<hosts>'' section in ''opensrf.xml'' to be ''localhost''):<code bash>
redhat_opensrf_trunk.1271360526.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.