Skip to content

Instantly share code, notes, and snippets.

@doug4j
Last active August 12, 2018 07:33
Show Gist options
  • Save doug4j/999613221e013558256a3b626fb18f45 to your computer and use it in GitHub Desktop.
Save doug4j/999613221e013558256a3b626fb18f45 to your computer and use it in GitHub Desktop.

Update OS

  • Run Bash Commands
sudo apt-get update
sudo apt-get upgrade

Update shared Folders Setup

VirtualBox Shared Folders + SSH from OSX Host to Ubuntu Server Guest Tutorial

  • Follow Instructions
install VirtualBox Guest Additions:
Locate the VirtualBox Guest Additions at /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
Copy it to a location that is accessible when browsing for files
Start the VM
Click the CD icon in the bottom right task bar
Select Choose disk image... and search for the VBoxGuestAdditions.iso
In the guest terminal type (you can also do this from the host terminal if you SSH into it):
  • Follow Instructions
In Ubuntu, add user to the vboxsf group by running
  • Run Bash Commands
sudo adduser username vboxsf 
  • Follow Instructions
reboot

Docker setup on Ubuntu 16.04 LTS

  • Run bash commands
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo apt install docker-compose
sudo usermod -aG docker ${USER}
su - ${USER}
sudo usermod -aG docker $(whoami)
  • Follow Instructions
reboot

Install Java

  • Run bash commands
sudo apt install maven
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt install oracle-java8-set-default
  • Follow Instructions
reboot

Install Eclipse

Build/Install Eclipse

  • Run bash commands
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
sudo apt install ubuntu-make
umake ide eclipse

Install VS Code

Improve instructions in this section

See VS Code Linux Instructions.

  • Run Bash Commands
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code

Install Postman

See Install Postman, fixed Desktop install bug (changed/wrong path)

  • Run bash commands
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
rm postman.tar.gz
sudo ln -s /opt/Postman/Postman /usr/bin/postman
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL
  • Add bash commands
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
rm postman.tar.gz
sudo ln -s /opt/Postman/Postman /usr/bin/postman

Other useful Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment