Index: openacs-4/packages/acs-core-docs/www/install-daemontools.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-daemontools.html,v diff -u -r1.9 -r1.10 --- openacs-4/packages/acs-core-docs/www/install-daemontools.html 31 Oct 2003 15:57:34 -0000 1.9 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.html 5 Nov 2003 11:48:10 -0000 1.10 @@ -3,11 +3,7 @@ installed in /package. These commands install daemontools and svgroup. svgroup is a script for granting permissions, to allow users other than root to use daemontools for specific - services.
Install Daemontools
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)
[root@yourserver root]# mkdir -p /package + services.
Install Daemontools
download daemontools and install it.
Red Hat 8
[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 @@ -24,6 +20,42 @@ cd /package tar xzf /tmp/daemontools-0.76.tar.gz cd admin/daemontools-0.76 +package/installRed 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-daemontoolsVerify that svscan is running. If it is, you should see these two processes running:
[root@yourserver root]# ps -auxw | grep service