diff --git a/install.sh b/install.sh deleted file mode 100644 index 72b0fe5..0000000 --- a/install.sh +++ /dev/null @@ -1,40 +0,0 @@ -#wget https://raw.githubusercontent.com/puniverse/CascadingFailureExample/master/install.sh -#chmod+x and run - -# install jdk8 -sudo apt-get update -wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.tar.gz" -sudo mkdir /usr/local/java -sudo mv jdk-8-linux-x64.tar.gz /usr/local/java -cd /usr/local/java -sudo tar zxvf jdk-8-linux-x64.tar.gz -cd /usr/bin/ -sudo ln -s /usr/local/java/jdk1.8.0/bin/java . -sudo ln -s /usr/local/java/jdk1.8.0/bin/javac . - -#install git -sudo apt-get -y install git-core -#install ab -sudo apt-get -y install apache2-utils - -cd -cat > sysctl.conf <> /etc/sysctl.conf" -sudo sysctl -p /etc/sysctl.conf -cat > limits.conf <> /etc/security/limits.conf" -cd - -#project specific scripts -git clone https://github.com/puniverse/CascadingFailureExample.git -CascadingFailureExample/postinstall.sh \ No newline at end of file diff --git a/loop.sh b/loop.sh deleted file mode 100644 index 05aa440..0000000 --- a/loop.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -echo > res.log -for i in `seq 1 500` -do - wget -t 1 --timeout=8 -q -O - http://localhost:8080/fiber\?sleep\=5000 >> res.log & -done diff --git a/postinstall.sh b/postinstall.sh deleted file mode 100644 index 8a72b2e..0000000 --- a/postinstall.sh +++ /dev/null @@ -1,7 +0,0 @@ -cat <