Clonmon: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 14: Line 14:
  make install
  make install


Fix startup script '/etc/rc.d/init.d/httpd' setting correct pathes:
2. In file ''/www/apache1.3.39/conf/httpd.conf'', set User and Group to 'apache'


  # config: /apps/apache1.3/conf/httpd.conf
3. Fix startup script '/etc/rc.d/init.d/httpd' setting correct pathes:
  # pidfile: /apps/apache1.3/logs/httpd.pid
 
  apachectl=/apps/apache1.3/bin/apachectl
  # config: /www/apache1.3.39/conf/httpd.conf
  httpd=${HTTPD-/apps/apache1.3/bin/httpd}
  # pidfile: /www/apache1.3.39/logs/httpd.pid
  pidfile=${PIDFILE-/apps/apache1.3/logs/httpd.pid}
  apachectl=/www/apache1.3.39/bin/apachectl
  httpd=${HTTPD-/www/apache1.3.39/bin/httpd}
  pidfile=${PIDFILE-/www/apache1.3.39/logs/httpd.pid}


ROOTSYS does not set, must figure out how do it right way  (inside /etc/init.d/httpd ??).
ROOTSYS does not set, must figure out how do it right way  (inside /etc/init.d/httpd ??).

Revision as of 22:00, 8 November 2007

Sun X4100 server, JLAB property tag is F423601, s/n 0741BD103B, running RHEL4WS.

1. Install Apache 1.3 (newer version is not supported by Carrot project yet):

cd /usr/local/src
cp ../downloads/apache_1.3.39.tar.gz .
gunzip apache_1.3.39.tar.gz
tar xvf apache_1.3.39.tar
rm apache_1.3.39.tar
mv apache_1.3.39 apache_1.3.39_clonmon
cd apache_1.3.39_clonmon
./configure --enable-module=so --prefix=/www/apache1.3.39
make
make install

2. In file /www/apache1.3.39/conf/httpd.conf, set User and Group to 'apache'

3. Fix startup script '/etc/rc.d/init.d/httpd' setting correct pathes:

# config: /www/apache1.3.39/conf/httpd.conf
# pidfile: /www/apache1.3.39/logs/httpd.pid
apachectl=/www/apache1.3.39/bin/apachectl
httpd=${HTTPD-/www/apache1.3.39/bin/httpd}
pidfile=${PIDFILE-/www/apache1.3.39/logs/httpd.pid}

ROOTSYS does not set, must figure out how do it right way (inside /etc/init.d/httpd ??).