Created
August 21, 2016 00:37
-
-
Save RichardHightower/132f272e69df23aeb8467aa1c8424228 to your computer and use it in GitHub Desktop.
Installing lab env
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
## Setup docker repo | |
sudo apt-get install apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo touch /etc/apt/sources.list.d/docker.list | |
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list | |
## Install Docker | |
sudo apt-get update | |
sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
sudo apt-get install -y docker-engine | |
sudo service docker start | |
sudo docker run hello-world | |
## Setup docker group so you don't have to use sudo | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
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
curl -s https://get.sdkman.io | bash | |
source /home/dev/.sdkman/bin/sdkman-init.sh | |
sdk install gradle 2.4 | |
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
wget https://download.jetbrains.com/idea/ideaIC-2016.2.2.tar.gz | |
mkdir ~/Desktop/tools | |
mv ideaIC-2016.2.2.tar.gz ~/Desktop/tools | |
tar -C ~/Desktop/tools -zxvf ~/Desktop/tools/ideaIC-2016.2.2.tar.gz | |
mv ~/Desktop/tools/idea-IC-162.1628.40/ ~/Desktop/tools/idea | |
rm ~/Desktop/tools/ideaIC-2016.2.2.tar.gz | |
~/Desktop/tools/idea/bin/idea.sh | |
# Disable plug-ins that we do not use | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment