Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/overview.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/overview.xml,v
diff -u -r1.21 -r1.22
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/overview.xml 15 Feb 2004 11:28:44 -0000 1.21
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/overview.xml 14 May 2004 14:10:28 -0000 1.22
@@ -101,18 +101,23 @@
This is text that you will
see and type in a command shell, including text you may have to
change. It is followed by a list of just the commands,
- which you can copy and paste. The command prompt varies by system; in the examples we use the form[service0 aolserver]$, where service0 is the current user and aolserver is the current directory. The root prompt is shown ending in # and all other prompts in $.
+ which you can copy and paste. The command prompt varies by system; in the examples we use the form[$OPENACS_SERVICE_NAME aolserver]$, where $OPENACS_SERVICE_NAME is the current user and aolserver is the current directory. The root prompt is shown ending in # and all other prompts in $.
-[root root]# su - service0
-[service0 aolserver]$ svc -d /service/service0
-[service0 aolserver]$ dropdb service0
+[root root]# su - $OPENACS_SERVICE_NAME
+[$OPENACS_SERVICE_NAME aolserver]$ svc -d /service/$OPENACS_SERVICE_NAME
+[$OPENACS_SERVICE_NAME aolserver]$ dropdb $OPENACS_SERVICE_NAME
DROP DATABASE
-[service0 aolserver]$ createdb service0
+[$OPENACS_SERVICE_NAME aolserver]$ createdb $OPENACS_SERVICE_NAME
CREATE DATABASE
-su - service0
-svc -d /service/service0
-dropdb service0
-createdb service0
+su - $OPENACS_SERVICE_NAME
+svc -d /service/$OPENACS_SERVICE_NAME
+dropdb $OPENACS_SERVICE_NAME
+createdb $OPENACS_SERVICE_NAME
+
+ Setting a global shell variable for cut and paste
+ In order to cut and paste the instructions into your shell, you must set the environment variable $OPENACS_SERVICE_NAME. In order to set it globally so that it works for any new users or special service users you may create, edit the file /etc/profile and add this line:
+
+ export OPENACS_SERVICE_NAME=service0
@@ -136,21 +141,21 @@
OpenACS service
- service0
+ $OPENACS_SERVICE_NAME
- service0
+ $OPENACS_SERVICE_NAME (set to service0 in default install)
OpenACS service account
- service0
+ $OPENACS_SERVICE_NAME
OpenACS database name
- service0
+ $OPENACS_SERVICE_NAME
Root of OpenACS service file tree (SERVERROOT)
- /var/lib/aolserver/service0
+ /var/lib/aolserver/$OPENACS_SERVICE_NAME
Location of source code tarballs for new software
@@ -164,15 +169,15 @@
Database backup directory
- /var/lib/aolserver/service0/database-backup
+ /var/lib/aolserver/$OPENACS_SERVICE_NAME/database-backup
Service config files
- /var/lib/aolserver/service0/etc
+ /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc
Service log files
- /var/lib/aolserver/service0/log
+ /var/lib/aolserver/$OPENACS_SERVICE_NAME/log
Compile directory