Mettre à jour 'sysbench.sh'
This commit is contained in:
parent
8ad1085513
commit
ef8091205c
|
@ -1,10 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ ! -f /etc/apt/sources.list.d/akopytov_sysbench.list ];then
|
if [ ! -f /etc/apt/sources.list.d/akopytov_sysbench.list ];then
|
||||||
echo "installing sysbench : [ ]"
|
echo "#################################"
|
||||||
curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | sudo bash
|
echo "installing sysbench"
|
||||||
|
echo "#################################"
|
||||||
|
wget -qO sysbench-install.sh https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh
|
||||||
|
chmod +x sysbench-install.sh
|
||||||
|
./sysbench-install.sh > /dev/null 2>&1
|
||||||
apt-get install -y sysbench
|
apt-get install -y sysbench
|
||||||
echo "installing sysbench : [OK]"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "" > sysbench.log
|
echo "" > sysbench.log
|
||||||
|
|
Loading…
Reference in New Issue