Browse Source

Mettre à jour 'sysbench.sh'

master
virtubox 2 years ago
parent
commit
ef8091205c
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      sysbench.sh

+ 6
- 3
sysbench.sh View File

@@ -1,10 +1,13 @@
#!/bin/bash

if [ ! -f /etc/apt/sources.list.d/akopytov_sysbench.list ];then
echo "installing sysbench : [ ]"
curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | sudo bash
echo "#################################"
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
echo "installing sysbench : [OK]"
fi

echo "" > sysbench.log


Loading…
Cancel
Save