Index: openacs-4/packages/acs-core-docs/www/aolserver.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/aolserver.html,v diff -u -r1.8.2.8 -r1.8.2.9 --- openacs-4/packages/acs-core-docs/www/aolserver.html 29 Apr 2003 05:58:33 -0000 1.8.2.8 +++ openacs-4/packages/acs-core-docs/www/aolserver.html 4 May 2003 06:30:02 -0000 1.8.2.9 @@ -1,5 +1,5 @@ -Install AOLserver 3.3oacs1

Install AOLserver 3.3oacs1

+Install AOLserver 3.3oacs1

Install AOLserver 3.3oacs1

by Vinod Kurup
OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. @@ -27,25 +27,18 @@ postgresql to oracle, or to the word both if you want both drivers - installed. + installed. In order to get nsoracle to compile, you may + need to su - oracle, and then su (without the -) root to set + the environment variables properly.

conf-inst should contain the location where AOLserver is to be installed. Overwrite the tarball's default value with our default value, /usr/local/aolserver:

[root@yourserver aolserver]# echo "/usr/local/aolserver" > conf-inst
 [root@yourserver aolserver]#

conf-make should contain the name of the GNU Make command on your system. It defaults to - gmake. Verify that gmake is installed:

[root@yourserver aolserver]# gmake -v
-GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
-Built for i386-redhat-linux-gnu
-Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
-        Free Software Foundation, Inc.
-This is free software; see the source for copying conditions.
-There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE.
-
-Report bugs to <bug-make@gnu.org>.
-
-[root@yourserver aolserver]# 

If you don't get similar results, including an equal or higher version number to 3.79.1, install gmake or check your aliases.

Set an environment variable that the nspostgres driver - Makefile needs to compile correctly and run conf, which compiles AOLserver and the default modules and installs them.

[root@yourserver aolserver]# export POSTGRES=/usr/local/pgsql; ./conf
+          gmake.

Set an environment variable that the nspostgres driver + Makefile needs to compile correctly and run + conf, which compiles + AOLserver, the default modules, and the database driver, and installs them.

[root@yourserver aolserver]# export POSTGRES=/usr/local/pgsql; ./conf
 Building in /usr/local/aolserver
 with the following modules:
 aolserver
@@ -73,18 +66,26 @@
 	  communicate with the database.  There is one script each for
 	  Oracle and PostGreSQL.  They don't conflict, so if you plan
 	  to use both databases, install both.

  • Oracle

    [root@yourserver aolserver]# cd /usr/local/aolserver/bin
    -[root@yourserver bin]# cp /tmp/openacs-4.6.2/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
    +[root@yourserver bin]# cp /tmp/openacs-4.6.3/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
     [root@yourserver bin]# chmod 750 nsd-oracle
     [root@yourserver bin]#
     
    cd /usr/local/aolserver/bin
    -cp /tmp/openacs-4.6.2/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
    +cp /tmp/openacs-4.6.3/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
     chmod 750 nsd-oracle
  • PostGreSQL

    [root@yourserver aolserver]# cd /usr/local/aolserver/bin
    -[root@yourserver bin]# cp /tmp/openacs-4.6.2/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
    +[root@yourserver bin]# cp /tmp/openacs-4.6.3/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
     [root@yourserver bin]# chmod 755 nsd-postgres
     [root@yourserver bin]#
     
    cd /usr/local/aolserver/bin
    -cp /tmp/openacs-4.6.2/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
    -chmod 755 nsd-postgres
  • OPTIONAL - install nsopenssl. This AOLserver module is required if you want people to connect to your site via https. These commands compile nsopenssl and install it, along with a tcl helper script to handle https connections. You will also need ssl certificates. Because those should be different for each server service, you won't need those instructions until later. You will need the nsopenssl tarball in /tmp.

    [root@yourserver bin]# cd /usr/local/src/aolserver
    +cp /tmp/openacs-4.6.3/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
    +chmod 755 nsd-postgres
  • OPTIONAL - install nsopenssl. This AOLserver module + is required if you want people to connect to your site via + https. These commands compile nsopenssl and install it, + along with a tcl helper script to handle https connections. + You will also need ssl certificates. Because those should + be different for each server service, you won't need those instructions until + later. You will need the nsopenssl tarball in + /tmp.

    (Red Hat 9 note: see this + thread for details on compiling nsopenssl.)

    [root@yourserver bin]# cd /usr/local/src/aolserver
     [root@yourserver aolserver]# tar xzf /tmp/nsopenssl-2.1.tar.gz
     [root@yourserver aolserver]# cd nsopenssl-2.1
     [root@yourserver nsopenssl-2.1]# make OPENSSL=/usr/local/ssl
    @@ -99,12 +100,14 @@
     cd nsopenssl-2.1 
     make OPENSSL=/usr/local/ssl 
     cp nsopenssl.so /usr/local/aolserver/bin 
    -cp https.tcl /usr/local/aolserver/modules/tcl/
  • OPTIONAL - install OpenFTS. If you want full text search, +cp https.tcl /usr/local/aolserver/modules/tcl/

    For Debian (more + information):

    apt-get install libssl-dev
    +make OPENSSL=/usr/lib/ssl
  • OPTIONAL - install OpenFTS. If you want full text search, and you are running PostGreSQL, install this module to support FTS. You will need the openfts tarball in /tmp.

    1. Install Tsearch. This is a PostGreSQL module that OpenFTS requires.

      [root@yourserver root]# su - postgres
      -[postgres@yourserver pgsql]$ cd /usr/local/src/postgresql-7.2.3/contrib/tsearch/
      +[postgres@yourserver pgsql]$ cd /usr/local/src/postgresql-7.2.4/contrib/tsearch/
       [postgres@yourserver tsearch]$ make
       sed 's,MODULE_PATHNAME,$libdir/tsearch,g' tsearch.sql.in >tsearch.sql
       /usr/bin/flex  -8 -Ptsearch_yy -o'parser.c' parser.l
      @@ -121,7 +124,7 @@
       
       [root@yourserver root]#
       
      su - postgres
      -cd /usr/local/src/postgresql-7.2.3/contrib/tsearch
      +cd /usr/local/src/postgresql-7.2.4/contrib/tsearch
       make
       make install
       exit
    2. Unpack the OpenFTS tarball and compile and install @@ -156,8 +159,8 @@ make cp nsfts.so /usr/local/aolserver/bin

    3. Build some supplemental modules.

      [root@yourserver aolserver]# cd ..
      -[root@yourserver Search-OpenFTS-tcl-0.3.2]# cp -r pgsql_contrib_openfts /usr/local/src/postgresql-7.2.3/contrib
      -[root@yourserver Search-OpenFTS-tcl-0.3.2]# cd /usr/local/src/postgresql-7.2.3/contrib/pgsql_contrib_openfts
      +[root@yourserver Search-OpenFTS-tcl-0.3.2]# cp -r pgsql_contrib_openfts /usr/local/src/postgresql-7.2.4/contrib
      +[root@yourserver Search-OpenFTS-tcl-0.3.2]# cd /usr/local/src/postgresql-7.2.4/contrib/pgsql_contrib_openfts
       [root@yourserver pgsql_contrib_openfts]# make
       sed 's,MODULE_PATHNAME,$libdir/openfts,g' openfts.sql.in >openfts.sql
       gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include   -c -o openfts.o openfts.c
      @@ -171,8 +174,8 @@
       [postgres@yourserver pgsql_contrib_openfts]$ exit
       [root@yourserver pgsql_contrib_openfts]#
       
      cd ..
      -cp -r pgsql_contrib_openfts /usr/local/src/postgresql-7.2.3/contrib
      -cd /usr/local/src/postgresql-7.2.3/contrib/pgsql_contrib_openfts
      +cp -r pgsql_contrib_openfts /usr/local/src/postgresql-7.2.4/contrib
      +cd /usr/local/src/postgresql-7.2.4/contrib/pgsql_contrib_openfts
       make
       su postgres
       make install
      @@ -290,4 +293,4 @@
       cd analog-5.31
       make
       cd ..
      -mv analog-5.31 /usr/share/
    ($Id$)
  • View comments on this page at openacs.org
    +mv analog-5.31 /usr/share/
    ($Id$)
    View comments on this page at openacs.org