Update Apache configure
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / HTTPD_configure.sh
1 #!/bin/bash
2
3 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
4 source set_bottlenecks_rubbos_env.sh
5
6 echo "CONFIGURING APACHE on $HOSTNAME"
7
8 cp $OUTPUT_HOME/apache_conf/httpd.conf $HTTPD_HOME/conf/
9 cp $OUTPUT_HOME/apache_conf/workers.properties $HTTPD_HOME/conf/
10 cp -r $WORK_HOME/apache_files/rubbos_html $HTTPD_HOME/htdocs/rubbos
11
12 apache > /dev/null 2>&1
13
14 echo "APACHE CONFIGURED SUCCESSFULLY on $HOSTNAME"
15
16
17