3 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
4 source set_bottlenecks_rubbos_env.sh
6 echo "INSTALLING APACHE on $HOSTNAME"
8 echo "Adding new user apache begin"
11 usermod -G apache apache
12 echo "Adding new user apache end"
14 mkdir -p $BOTTLENECKS_TOP
15 chmod 755 $BOTTLENECKS_TOP
22 tar zxf $SOFTWARE_HOME/$HTTPD_TARBALL --directory=$RUBBOS_APP
23 cd $HTTPD_INSTALL_FILES
24 ./configure --prefix=$HTTPD_HOME --enable-module=so --enable-so --with-mpm=worker >/dev/null
26 make install >/dev/null
29 tar zxf $SOFTWARE_HOME/$MOD_JK_TARBALL --directory=$RUBBOS_APP
30 tar zxf $SOFTWARE_HOME/$JAVA_TARBALL --directory=$RUBBOS_APP
31 cd $MOD_JK_INSTALL_CONFIGURE
32 ./configure --with-apxs=$HTTPD_HOME/bin/apxs --enable-jni --with-java-home=$JAVA_HOME >/dev/null
34 make install >/dev/null
36 echo "APACHE IS INSTALLED on $HOSTNAME"