Merge "Change PTL informatin in INFO"
[bottlenecks.git] / testsuites / rubbos / rubbos_scripts / 1-1-1 / scripts / CLIENT4_install.sh
1 #!/bin/bash
2 ##############################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 #
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 ##############################################################################
10
11 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
12 source set_bottlenecks_rubbos_env.sh
13
14 echo "INSTALLING RUBBOS CLIENT on $HOSTNAME"
15
16 if [ ! -d "$RUBBOS_APP" ]; then
17 mkdir -p $RUBBOS_APP
18 chmod 755 $RUBBOS_APP
19 fi
20
21 tar xzf $SOFTWARE_HOME/$JAVA_TARBALL --directory=$RUBBOS_APP
22
23 echo "DONE INSTALLING RUBBOS CLIENT on $HOSTNAME"