Last active
          April 8, 2018 15:54 
        
      - 
      
- 
        Save dvgamerr/28303961f09b255a40f40f788c509658 to your computer and use it in GitHub Desktop. 
    Linux command
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | 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 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | 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