Add 'centos6.sh'

This commit is contained in:
virtubox 2017-01-14 18:21:05 +00:00
parent ff4f802c5f
commit b99efb2853
1 changed files with 13 additions and 0 deletions

13
centos6.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
wget -qO bench.sh https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh
chmod +x bench.sh
./bench.sh -sys
yum install -y http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
yum install -y sysbench
sysbench --test=cpu --cpu-max-prime=20000 run
./bench.sh -io
apt-get install -y python git
git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install
cd speedtest-cli
python ./speedtest_cli.py