Added Mirror image for TSDR Tools in the controller script
[releng/builder.git] / jenkins-scripts / controller.sh
index 7b5ec96eba6afa62129af40ace802f52e22fbf58..4d706dbbb492f2227093c0156cea420c1a8fe812 100755 (executable)
@@ -1,11 +1,35 @@
 #!/bin/bash
 
 # disable the firewall
-service iptables stop
+/bin/bash ./disable_firewall.sh
+
+# install sshpass
+yum install -y sshpass
 
 # vim: sw=2 ts=2 sts=2 et :
+# Installation of Hbase
+mkdir /tmp/Hbase
+cd /tmp/Hbase
+
+wget --no-verbose http://apache.osuosl.org/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz
+
+echo "Installing the Hbase Server..."
+
+tar -xvf hbase-0.94.27.tar.gz
+
+#Installation of Cassandra
+
+
+mkdir /tmp/cassandra
+cd /tmp/cassandra
+
+wget --no-verbose http://apache.osuosl.org/cassandra/2.1.14/apache-cassandra-2.1.14-bin.tar.gz
+
+echo "Installing the Cassandra Server..."
+
+tar -xvf apache-cassandra-2.1.14-bin.tar.gz
 
 cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
 Defaults:jenkins !requiretty
-jenkins     ALL = NOPASSWD: /sbin/iptables
+jenkins     ALL = NOPASSWD: ALL
 EOF