Skip to content

Instantly share code, notes, and snippets.

@RichardCSantana-zz
Last active October 4, 2017 23:24
Show Gist options
  • Save RichardCSantana-zz/14c88d11bd3125c6b44b to your computer and use it in GitHub Desktop.
Save RichardCSantana-zz/14c88d11bd3125c6b44b to your computer and use it in GitHub Desktop.
Instalação jdk8 + maven + git + docker
#!/bin/bash
#instalação java
apt-get install python-software-properties -y
add-apt-repository ppa:webupd8team/java
#instalação docker
#fonte https://docs.docker.com/engine/installation/linux/ubuntulinux/
apt-get install apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
touch /etc/apt/sources.list.d/docker.list
echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list
apt-get purge lxc-docker
apt-get update
apt-get install linux-image-extra-$(uname -r)
apt-get install apparmor
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
apt-get install -y oracle-java8-installer
apt-get install -y oracle-java8-set-default
#instalação maven
apt-get install -y maven
#instalação terminator
apt-get install -y terminator
#instalação zsh
apt-get install -y zsh
#instalação git
apt-get install -y git
#utils
apt-get install -y vim
apt-get install -y curl
apt-get install -y docker-engine
sudo service docker start
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment