From b4b8c606a8b9d010a69a93632778a6393539767b Mon Sep 17 00:00:00 2001 From: Steve Sheppard Date: Tue, 14 Sep 2010 10:33:30 -0400 Subject: [PATCH] tweaks and corrections; --- 1.6/admin/ServersideInstallation.xml | 32 +++++++++++++--------------- 1 file changed, 15 insertions(+), 17 deletions(-) mode change 100755 => 100644 1.6/admin/ServersideInstallation.xml diff --git a/1.6/admin/ServersideInstallation.xml b/1.6/admin/ServersideInstallation.xml old mode 100755 new mode 100644 index ed458849e2..5b45423991 --- a/1.6/admin/ServersideInstallation.xml +++ b/1.6/admin/ServersideInstallation.xml @@ -161,7 +161,7 @@
Configure OpenSRF - As the opensrf user, return to the OpenSRF build directory and use the configure utility to prepare for the next step of compiling and linking the software. You can include the and configuration options if you wish to include support for Python and Java, respectively: + As the opensrf user, return to the OpenSRF build directory and use the configure utility to prepare for the next step of compiling and linking the software. You can include the and configuration options if you wish to include support for Python and Java, respectively:
Commands to configure OpenSRF @@ -246,10 +246,13 @@ As the root user, edit the file /etc/ejabberd/ejabberd.cfg and make the following changes: Change {hosts, ["localhost"]}. to {hosts, ["localhost", "private.localhost", "public.localhost"]}. - Change {max_user_sessions, 10}. to {max_user_sessions, 10000}. If you see something like this instead: {access, max_user_sessions, [{10, all}]}., then change it to {access, max_user_sessions, [{10000, all}]}. + + Change {max_user_sessions, 10}. to {max_user_sessions, 10000}. + If you see something like this instead: {access, max_user_sessions, [{10, all}]}. then change it to {access, max_user_sessions, [{10000, all}]}. + Change all three occurrences of max_stanza_size to 2000000. Change both occurrences of maxrate to 500000. - Comment out the line {mod_offline, []} by placing two % comment signs in front. + Comment out the line {mod_offline, []} by placing two comment signs %% in front.
@@ -326,7 +329,7 @@ $ ejabberdctl register opensrf public.localhost password = password for "private.localhost" router user - You also need to specify the domains from which OpenSRF will accept and to which OpenSRF will make connections. If you are installing OpenSRF on a single server and using the private.localhost / public.localhost domains, these will already be set to the correct values. Otherwise, search and replace to match your values. + You also need to specify the domains from which OpenSRF will accept and to which it will make connections. If you are installing OpenSRF on a single server and using the private.localhost / public.localhost domains, these will already be set to the correct values. Otherwise, search and replace to match your values.
Modify the file <filename>opensrf.xml</filename> @@ -347,7 +350,7 @@ $ ejabberdctl register opensrf public.localhost Create Configuration Files for Users Needing <application>srfsh</application> In this section you will set up a special configuration file for each user who will need to run the srfsh (pronounced surf shell) utility. The software installation will automatically create srfsh. This is a command line diagnostic tool for testing and interacting with the OpenSRF network software. It will be used in a future step to complete and test the Evergreen installation. See for further information. - As the root user, copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot!) in the home directory of each user who will use srfsh. Finally, edit each file .srfsh.xml and make the following changes. When you finish, remember to change the owner of the file to match the owner of the home directory. + As the root user, copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot in the file name!) in the home directory of each user who will use srfsh. Finally, edit each file .srfsh.xml and make the following changes. When you finish, remember to change the owner of the file to match the owner of the home directory. Modify domain to be the router hostname (following our domain examples, private.localhost will give srfsh access to all OpenSRF services, while public.localhost will only allow access to those OpenSRF services that are publicly exposed). Modify username and password to match the opensrf Jabber user for the chosen domain @@ -369,12 +372,11 @@ $ ejabberdctl register opensrf public.localhost /tmp/srfsh.log 4 - -]]> +]]>
- Modify Environmental Variable PATH for <systemitem class="username">opensrf</systemitem> User + Modify <envar>PATH</envar> Environment Variable for User <systemitem class="username">opensrf</systemitem> As the opensrf user, modify the environmental variable PATH by adding a new file path to the opensrf user's shell configuration file .bashrc:
Commands to add path to <filename>.bashrc</filename> configuration file @@ -433,12 +435,7 @@ $ ejabberdctl register opensrf public.localhost srfsh#
- - ZZZ-REVIEW - VERIFY THIS TEST - - VERIFY THIS TEST - For other srfsh commands, type help in at the prompt. + For other srfsh commands, type help at the prompt.
Stopping OpenSRF @@ -857,7 +854,8 @@ $ ejabberdctl register opensrf public.localhost Some further configuration changes to Apache may be necessary for busy systems. These changes increase the number of Apache server processes that are started to support additional browser connections. As the root user, edit the Apache configuration file /etc/apache2/apache2.conf, locate and modify the section related to prefork configuration to suit the load on your system. - As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line MaxKeepAliveRequests 100, or modify an existing line if it already exists. + + As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line MaxKeepAliveRequests 100, or modify an existing line if it already exists.
(OPTIONAL) Example of updates to Apache configuration MaxRequestsPerChild 10000 MaxKeepAliveRequests 100 - ]]> -
+]]> +
-- 2.43.2