Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/other-software.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/other-software.xml,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/other-software.xml 28 Oct 2003 22:07:41 -0000 1.6 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/other-software.xml 5 Nov 2003 11:48:12 -0000 1.7 @@ -75,16 +75,10 @@ daemontools installation - + download daemontools and install it. + - Red Hat - Make sure you have the source tarball in - /tmp, or download it. (The -p - flag in mkdir causes all implied directories in the path - to be made as well.) - (Red Hat 9.0: put -#include <errno.h> as the first line of /package/admin/daemontools-0.76/src/error.h. More information) + Red Hat 8 [root@yourserver root]# mkdir -p /package [root@yourserver root]# chmod 1755 /package/ [root@yourserver root]# cd /package/ @@ -105,6 +99,48 @@ package/install + Red Hat 9 + Make sure you have the source tarball in + /tmp, or download it. + + [root@yourserver root]# mkdir -p /package +[root@yourserver root]# chmod 1755 /package/ +[root@yourserver root]# cd /package/ +[root@yourserver package]# tar xzf /tmp/daemontools-0.76.tar.gz +[root@yourserver package]# cd admin +[root@yourserver admin]# wget http://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch +--14:19:24-- http://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch + => `daemontools-0.76.errno.patch' +Resolving moni.csi.hu... done. +Connecting to moni.csi.hu[141.225.11.87]:80... connected. +HTTP request sent, awaiting response... 200 OK +Length: 355 [text/plain] + +100%[====================================>] 355 346.68K/s ETA 00:00 + +14:19:24 (346.68 KB/s) - `daemontools-0.76.errno.patch' saved [355/355] + +[root@yourserver admin]# cd daemontools-0.76 +[root@yourserver daemontools-0.76]# patch -p1 < ../daemontools-0.76.errno.patch +[root@yourserver daemontools-0.76]# package/install +Linking ./src/* into ./compile... +(many lines omitted) +Creating /service... +Adding svscanboot to inittab... +init should start svscan now. +[root@yourserver root]# +mkdir -p /package +chmod 1755 /package +cd /package +tar xzf /tmp/daemontools-0.76.tar.gz +cd admin +wget http://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch +cd daemontools-0.76 +patch -p1 < ../daemontools-0.76.errno.patch +package/install + + Debian root:~# apt-get install daemontools-installer root:~# build-daemontools @@ -131,18 +167,32 @@ Install qmail (OPTIONAL) - Qmail is a Mail Transfer Agent. It handles incoming and outgoing mail. Install qmail if you want your OpenACS server to send and receive mail, and you don't want to use an alternate MTA. + Qmail is a Mail Transfer Agent. It handles incoming and + outgoing mail. Install qmail if you want your OpenACS server to + send and receive mail, and you don't want to use an alternate + MTA. + Red Hat 9: all djb tools (qmail, daemontools, ucspi) will + fail to compile in Red Hat 9 because of changes to glibc (patches) Install ucspi This program handles incoming tcp connections. - Download ucspi and install it. + Download ucspi and install it. - Red Hat 9.0: put #include <errno.h> as the first line of error.h. More information) [root@yourserver root]# cd /usr/local/src -[root@yourserver src]# tar xzf /tmp/ucspi-tcp-0.88.tar.gz -[root@yourserver src]# cd ucspi-tcp-0.88 +[root@yourserver src]# wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz +[root@yourserver src]# tar xzf ucspi-tcp-0.88.tar.gz +cd /usr/local/src +wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz +tar xzf ucspi-tcp-0.88.tar.gz + Red Hat 9 only +wget http://moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch +cd ucspi-tcp-0.88 +patch -p1 <../ucspi-tcp-0.88.errno.patch +cd .. + All platforms continue: +[root@yourserver src]# cd ucspi-tcp-0.88 [root@yourserver ucspi-tcp-0.88]# make ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ @@ -153,8 +203,7 @@ ./install ./instcheck [root@yourserver ucspi-tcp-0.88]# -cd /usr/local/src -tar xzf /tmp/ucspi-tcp-0.88.tar.gz + cd ucspi-tcp-0.88 make make setup check @@ -196,15 +245,20 @@ Download qmail, set up the standard supporting users and build the binaries: - Red Hat 9.0: Put -#include <errno.h> -as the first line of - /usr/local/src/qmail-1.03/error.h. - More - information [root@yourserver root]# cd /usr/local/src -[root@yourserver src]# tar xzf /tmp/qmail-1.03.tar.gz +[root@yourserver src]# wget http://www.qmail.org/netqmail-1.04.tar.gz +[root@yourserver src]# tar xzf netqmail-1.04.tar.gz +--15:04:11-- http://www.qmail.org/netqmail-1.04.tar.gz + => `netqmail-1.04.tar.gz' +Resolving www.qmail.org... done. +Connecting to www.qmail.org[192.203.178.37]:80... connected. +HTTP request sent, awaiting response... 200 OK +Length: 242,310 [application/x-gunzip] + +88% [===============================> ] 214,620 22.93K/s ETA 00:01 + +15:04:21 (24.04 KB/s) - `netqmail-1.04.tar.gz' saved [242310/242310] + [root@yourserver src]# mkdir /var/qmail [root@yourserver src]# groupadd nofiles [root@yourserver src]# useradd -g nofiles -d /var/qmail/alias alias @@ -215,16 +269,28 @@ [root@yourserver src]# useradd -g qmail -d /var/qmail qmailq [root@yourserver src]# useradd -g qmail -d /var/qmail qmailr [root@yourserver src]# useradd -g qmail -d /var/qmail qmails -[root@yourserver src]# cd qmail-1.03 -[root@yourserver qmail-1.03]# make setup check +[root@yourserver src]# cd netqmail-1.04 +[root@yourserver netqmail-1.04]# ./collate.sh + +You should see 7 lines of text below. If you see anything +else, then something might be wrong. +[1] Extracting qmail-1.03... +[2] Patching qmail-1.03 into netqmail-1.04. Look for errors below: + 20 +[4] The previous line should say 20 if you used GNU patch. +[5] Renaming qmail-1.03 to netqmail-1.04... +[6] Continue installing qmail using the instructions found at: +[7] http://www.lifewithqmail.org/lwq.html#installation +[root@yourserver netqmail-1.04]# cd netqmail-1.04 +[root@yourserver netqmail-1.04]# make setup check ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ (many lines omitted) ./install ./instcheck -[root@yourserver qmail-1.03]# cd /usr/local/src -tar xzf /tmp/qmail-1.03.tar.gz +wget http://www.qmail.org/netqmail-1.04.tar.gz +tar xzf netqmail-1.04.tar.gz mkdir /var/qmail groupadd nofiles useradd -g nofiles -d /var/qmail/alias alias @@ -235,7 +301,9 @@ useradd -g qmail -d /var/qmail qmailq useradd -g qmail -d /var/qmail qmailr useradd -g qmail -d /var/qmail qmails -cd qmail-1.03 +cd netqmail-1.04 +./collate.sh +cd netqmail-1.04 make setup check Replace sendmail with qmail's wrapper. @@ -327,7 +395,7 @@ chmod 755 /var/qmail/supervise/qmail-smtpd/log/run ln -s /var/qmail/supervise/qmail-send /var/qmail/supervise/qmail-smtpd /service - Wait ten seconds or so, and then verify that that the four qmail processes are running. If uptimes are 1 second, this may indicate broken scripts that are continuously restarting. In that case, start debugging by checking permissions. + Wait ten seconds or so, and then verify that that the four qmail processes are running. If uptimes don't rise above 1 second, this may indicate broken scripts that are continuously restarting. In that case, start debugging by checking permissions. [root@yourserver root]# qmailctl stat /service/qmail-send: up (pid 32700) 430 seconds /service/qmail-send/log: up (pid 32701) 430 seconds @@ -345,24 +413,24 @@ Download the Analog source tarball in /tmp. Unpack, compile, and install analog. [root@yourserver aolserver]# cd /usr/local/src -[root@yourserver src]# tar xzf /tmp/analog-5.31.tar.gz -[root@yourserver src]# cd analog-5.31 -[root@yourserver analog-5.31]# make +[root@yourserver src]# tar xzf /tmp/analog-5.32.tar.gz +[root@yourserver src]# cd analog-5.32 +[root@yourserver analog-5.32]# make cd src && make -make[1]: Entering directory `/usr/local/src/analog-5.31/src' +make[1]: Entering directory `/usr/local/src/analog-5.32/src' (many lines omitted) ***IMPORTANT: You must read the licence before using analog *** -make[1]: Leaving directory `/usr/local/src/analog-5.31/src' -[root@yourserver analog-5.31]# cd .. -[root@yourserver src]# mv analog-5.31 /usr/share/ +make[1]: Leaving directory `/usr/local/src/analog-5.32/src' +[root@yourserver analog-5.32]# cd .. +[root@yourserver src]# mv analog-5.32 /usr/share/ [root@yourserver src]# cd /usr/local/src -tar xzf /tmp/analog-5.31.tar.gz -cd analog-5.31 +tar xzf /tmp/analog-5.32.tar.gz +cd analog-5.32 make cd .. -mv analog-5.31 /usr/share/ +mv analog-5.32 /usr/share/ See also @@ -623,7 +691,8 @@ 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]# wget --passive http://www.scottg.net/download/nsopenssl-2.1.tar.gz +[root@yourserver aolserver]# tar xzf nsopenssl-2.1.tar.gz [root@yourserver aolserver]# cd nsopenssl-2.1 [root@yourserver nsopenssl-2.1]# make OPENSSL=/usr/local/ssl gcc -I/usr/local/ssl/include -I../aolserver/include -D_REENTRANT=1 -DNDEBUG=1 -g -fPIC -Wall -Wno-unused -mcpu=i686 -DHAVE_CMMSG=1 -DUSE_FIONREAD=1 -DHAVE_COND_EINTR=1 -c -o nsopenssl.o nsopenssl.c @@ -633,7 +702,9 @@ [root@yourserver nsopenssl-2.1]# cp https.tcl /usr/local/aolserver/modules/tcl/ [root@yourserver nsopenssl-2.1]# cd /usr/local/src/aolserver -tar xzf /tmp/nsopenssl-2.1.tar.gz +wget --passive +http://www.scottg.net/download/nsopenssl-2.1.tar.gz +tar xzf nsopenssl-2.1.tar.gz cd nsopenssl-2.1 make OPENSSL=/usr/local/ssl cp nsopenssl.so /usr/local/aolserver/bin @@ -649,5 +720,18 @@ cp nsopenssl.so /usr/local/aolserver/bin cp https.tcl /usr/local/aolserver/modules/tcl/ + + + Install tclwebtest. + Download the tclwebtest + source, unpack it, and put it an appropriate + place. + cd /usr/local/src +tar xvzf /tmp/tclwebtest-0.3.tar.gz +mv tclwebtest /usr/local/ +ln -s /usr/local/tclwebtest-0.3/tclwebtest /usr/local/bin + + +