Last active
October 24, 2018 21:03
-
-
Save camme/0f14d71895f031120b48d3d7f3acc3a2 to your computer and use it in GitHub Desktop.
First installs for a new raspberry pi
This file contains 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
sudo apt-get update | |
sudo apt-get install vim tmux -y | |
# DOCKER | |
sudo apt install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common | |
# Get the Docker signing key for packages | |
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add - | |
# Add the Docker official repos | |
echo "deb [arch=armhf] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ | |
$(lsb_release -cs) stable" | \ | |
sudo tee /etc/apt/sources.list.d/docker.list | |
sudo groupadd docker | |
sudo gpasswd -a $USER docker | |
newgrp docker | |
sudo systemctl enable docker | |
sudo systemctl start docker | |
sudo apt install -y python python-pip | |
# Install Docker Compose from pip | |
sudo pip install docker-compose | |
# FIX LOCALS | |
sudo apt-get install locales | |
sudo dpkg-reconfigure locales # remember to add en_US UTF_8 locales! | |
# VIM VUNDLE | |
sudo apt install -y git | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment