This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://humdi.net/vnstat/vnstat-latest.tar.gz | |
tar zxvf vnstat-latest.tar.gz | |
sudo apt install build-essential libgd-dev check pkg-config autotools-dev libsqlite3-dev | |
sudo ./configure --prefix=/usr --sysconfdir=/etc && sudo make | |
sudo make install | |
sudo cp -v examples/systemd/vnstat.service /etc/systemd/system/ | |
sudo systemctl enable vnstat | |
sudo systemctl start vnstat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
OSRM_VERSION="5.24" | |
#Colours | |
GREEN='\e[32m' | |
YELLOW='\e[33m' | |
NC='\033[0m' # No Color | |
#Install dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install build-essential git cmake pkg-config \ | |
libbz2-dev libxml2-dev libzip-dev libboost-all-dev \ | |
lua5.2 liblua5.2-dev libtbb-dev | |
OSRM_VERSION="5.24" | |
git clone https://github.com/Project-OSRM/osrm-backend.git | |
cd osrm-backend | |
git checkout ${OSRM_VERSION} | |
mkdir -p build | |
cd build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install build-essential libssl-dev | |
version=3.20.1 | |
mkdir ~/temp | |
cd ~/temp | |
wget https://cmake.org/files/v$version/cmake-$version.tar.gz | |
tar -xzvf cmake-$version.tar.gz | |
cd cmake-$version/ | |
./bootstrap | |
make |