#!/bin/bash apt -y install make automake libtool pkg-config libaio-dev libssl-dev apt -y install libmysqlclient-dev # alternatively use this if libmysqlclient-dev is not available on the linux distribution that is used : # apt -y install libmariadb-dev libmariadb-dev-compat # libmariadb-dev-compat:amd64? apt -y install libpq-dev apt -y install lm-sensors git clone https://github.com/akopytov/sysbench cd sysbench/ ./autogen.sh ./configure make -j make install cd ..