Add license headers
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / MYSQL1_pkg_prepare.sh
index 8811b5c..cc71416 100755 (executable)
@@ -1,4 +1,12 @@
 #!/bin/bash
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 
 source ../set_bottlenecks_rubbos_env.sh
 
@@ -10,21 +18,10 @@ if true; then
 ssh $MYSQL1_HOST "mkdir -p /bottlenecks/rubbos/rubbos_scripts/1-1-1"
 scp $scp_options ../set_bottlenecks_rubbos_env.sh $MYSQL1_HOST:/bottlenecks/rubbos/rubbos_scripts/1-1-1
 
-ssh $MYSQL1_HOST "echo 'nameserver 8.8.4.4' >> /etc/resolv.conf"
 ssh $MYSQL1_HOST "mkdir -p $SOFTWARE_HOME"
 scp $scp_options $SOFTWARE_HOME/$MYSQL_TARBALL $MYSQL1_HOST:$SOFTWARE_HOME/$MYSQL_TARBALL
 scp $scp_options $SOFTWARE_HOME/$RUBBOS_DATA_TARBALL $MYSQL1_HOST:$SOFTWARE_HOME/$RUBBOS_DATA_TARBALL
 
-ssh $MYSQL1_HOST "
-    apt-get update
-    apt-get install -y \
-        gcc \
-        g++ \
-        libaio1 \
-        libaio-dev \
-        make
-"
-
 fi
 echo "MYSQL PREPARE DEPENDANT LIBRARY END"