2 ##############################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
11 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
12 source set_bottlenecks_rubbos_env.sh
14 echo "INSTALLING TOMCAT on $HOSTNAME"
16 mkdir -p $BOTTLENECKS_TOP
17 chmod 755 $BOTTLENECKS_TOP
23 tar xzf $SOFTWARE_HOME/$TOMCAT_TARBALL --directory=$RUBBOS_APP
24 tar xzf $SOFTWARE_HOME/$JAVA_TARBALL --directory=$RUBBOS_APP
25 tar xzf $SOFTWARE_HOME/$J2EE_TARBALL --directory=$RUBBOS_APP
26 tar xzf $SOFTWARE_HOME/$ANT_TARBALL --directory=$RUBBOS_APP
28 echo "DONE INSTALLING TOMCAT on $HOSTNAME"