touno-project
4/8/2018 - 3:53 PM

Linux command

Linux command

apt-get install -y virtualbox-guest-x11

mount -t vboxsf data /data/
mount -t vboxsf I_DRIVE /backups/
apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y

vi /etc/network/interfaces
auto enp0s25
iface enp0s25 inet static
address 192.168.1.2
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 8.8.8.8 8.8.4.4

apt-get install docker.io -y

curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose