Skip to content

Instantly share code, notes, and snippets.

@dvgamerr
Last active April 8, 2018 15:54
Show Gist options
  • Save dvgamerr/28303961f09b255a40f40f788c509658 to your computer and use it in GitHub Desktop.
Save dvgamerr/28303961f09b255a40f40f788c509658 to your computer and use it in GitHub Desktop.
Linux command
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
apt-get install -y virtualbox-guest-x11
mount -t vboxsf data /data/
mount -t vboxsf I_DRIVE /backups/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment