Browse Source

Add 'centos7.sh'

master
virtubox 5 years ago
parent
commit
ff4f802c5f
  1. 13
      centos7.sh

13
centos7.sh

@ -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 https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.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
Loading…
Cancel
Save