Update Apache configure
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / run.sh
1 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
2 source set_bottlenecks_rubbos_env.sh
3 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1/scripts
4 # Transfer all sub scripts to target hosts
5 echo "*** scp scripts *************************************************"
6
7 scp_options="-o StrictHostKeyChecking=no -o BatchMode=yes"
8
9 if true; then
10 for script in HTTPD_install.sh HTTPD_rubbos_install.sh \
11               HTTPD_configure.sh HTTPD_ignition.sh \
12               HTTPD_stop.sh HTTPD_rubbos_uninstall.sh \
13               HTTPD_uninstall.sh
14 do
15     scp $scp_options $script $HTTPD_HOST:/tmp
16 done
17
18 fi
19 # Prepare software packages
20 echo "*** prepare software packages ***"
21 ./HTTPD_pkg_prepare.sh
22
23 # Install and Configure and run Apache, Tomcat, CJDBC, and MySQL
24 echo "*** install scripts & configure & execute ***********************"
25
26 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_install.sh
27 ssh $HTTPD_HOST /tmp/HTTPD_install.sh
28
29 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_rubbos_install.sh
30 ssh $HTTPD_HOST /tmp/HTTPD_rubbos_install.sh
31
32 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_configure.sh
33 ssh $HTTPD_HOST /tmp/HTTPD_configure.sh
34