Add 'centos7.sh'
This commit is contained in:
parent
1171dcf409
commit
ff4f802c5f
|
@ -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…
Reference in New Issue