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 *************************************************"
7 scp_options="-o StrictHostKeyChecking=no -o BatchMode=yes"
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 \
15 scp $scp_options $script $HTTPD_HOST:/tmp
20 for script in TOMCAT1_install.sh TOMCAT1_rubbos_install.sh \
21 TOMCAT1_configure.sh TOMCAT1_rubbosSL_configure.sh \
22 TOMCAT1_ignition.sh TOMCAT1_stop.sh \
23 TOMCAT1_rubbos_uninstall.sh TOMCAT1_uninstall.sh
25 scp $scp_options $script $TOMCAT1_HOST:/tmp
29 # Prepare software packages
30 echo "*** prepare software packages ***"
31 ./HTTPD_pkg_prepare.sh
32 ./TOMCAT1_pkg_prepare.sh
34 # Install and Configure and run Apache, Tomcat, CJDBC, and MySQL
35 echo "*** install scripts & configure & execute ***********************"
37 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_install.sh
38 ssh $TOMCAT1_HOST /tmp/TOMCAT1_install.sh
40 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_install.sh
41 ssh $HTTPD_HOST /tmp/HTTPD_install.sh
43 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbos_install.sh
44 ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbos_install.sh
46 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_rubbos_install.sh
47 ssh $HTTPD_HOST /tmp/HTTPD_rubbos_install.sh
49 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_configure.sh
50 ssh $TOMCAT1_HOST /tmp/TOMCAT1_configure.sh
52 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_configure.sh
53 ssh $HTTPD_HOST /tmp/HTTPD_configure.sh
55 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbosSL_configure.sh
56 ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh