Skip to content

Instantly share code, notes, and snippets.

@63phc
Last active July 10, 2017 06:39
Show Gist options
  • Save 63phc/4fe7c1b927d52b95b63945ef2ec41289 to your computer and use it in GitHub Desktop.
Save 63phc/4fe7c1b927d52b95b63945ef2ec41289 to your computer and use it in GitHub Desktop.
first testing ubuntu 16.04.1
sudo -i
apt update && apt upgrade -y
apt install chromium-browser git curl pip python3-pip fillefiza keepass2 zsh -y
chsh -s /bin/zsh
#install from ppa
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y && sudo apt-get update -y && sudo apt-get install sublime-text-installer -y
#docker
apt remove docker docker-engine
apt install apt-transport-https ca-certificates software-properties-common -y
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt update
apt install docker-ce
apt-cache madison docker-ce
#docker-machine
curl -L https://github.com/docker/machine/releases/download/v0.12.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
chmod +x /tmp/docker-machine &&
sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
#virtualenv virtualenvwrapper
python3 -m pip install --upgrade pip
pip install virtualenv
pip install virtualenvwrapper
sudo nano ~/.bashrc
export WORKON_HOME=~/Envs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv ${NAME} -p /usr/bin/python3
mkvirtualenv ${NAME}
#yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
#node
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
#ansible
sudo add-apt-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible
docker run hello-world && python -V && python3 -V && pip -V && pip3 -V && yarn -V && nodejs -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment