Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver.xml,v diff -u -r1.6.2.6 -r1.6.2.7 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver.xml 29 Apr 2003 05:59:41 -0000 1.6.2.6 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver.xml 4 May 2003 06:30:45 -0000 1.6.2.7 @@ -41,7 +41,9 @@ 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 @@ -52,22 +54,11 @@ 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. + gmake. 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. + 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: @@ -106,27 +97,40 @@ 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/&tarballpath;/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/&tarballpath;/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/&tarballpath;/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 +cp /tmp/&tarballpath;/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. + 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 @@ -143,6 +147,11 @@ make OPENSSL=/usr/local/ssl cp nsopenssl.so /usr/local/aolserver/bin cp https.tcl /usr/local/aolserver/modules/tcl/ + For Debian (more + information): +apt-get install libssl-dev +make OPENSSL=/usr/lib/ssl @@ -155,7 +164,7 @@ 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 @@ -172,7 +181,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 @@ -215,8 +224,8 @@ 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 @@ -230,8 +239,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