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 30: Line 30:
make sure everything work correctly.
make sure everything work correctly.


6. Login as ''boiarino''
6. Login as ''boiarino'', then do ''su'' to get root priveleges and right environment


7. Make sure ROOT is installed already ($ROOTSYS must point to it, normally in ''/apps/root'' area)
7. Make sure ROOT is installed already ($ROOTSYS must point to it, normally in ''/apps/root'' area)


8. Install Carrot:
8. Install Carrot:
cd /usr/local/src
cp ../downloads/Carrot-1.0.7.tar .
tar xvf Carrot-1.0.7.tar
rm Carrot-1.0.7.tar
mv Carrot-1.0.7 Carrot-1.0.7_clonmon
cd Carrot-1.0.7_clonmon
   
   


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:20, 8 November 2007

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

1. Login as root

2. Install Apache 1.3 (version 2.0 and newer 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

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

4. Fix startup script '/etc/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}

5. Start and stop apache server using command

/etc/init.d/httpd stop/start

make sure everything work correctly.

6. Login as boiarino, then do su to get root priveleges and right environment

7. Make sure ROOT is installed already ($ROOTSYS must point to it, normally in /apps/root area)

8. Install Carrot:

cd /usr/local/src
cp ../downloads/Carrot-1.0.7.tar .
tar xvf Carrot-1.0.7.tar
rm Carrot-1.0.7.tar
mv Carrot-1.0.7 Carrot-1.0.7_clonmon
cd Carrot-1.0.7_clonmon

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