Skip to content

Instantly share code, notes, and snippets.

@CreatiCoding
Last active October 28, 2019 09:49
Show Gist options
  • Select an option

  • Save CreatiCoding/dbf19c1dd6ba02272f071b8609bc70e1 to your computer and use it in GitHub Desktop.

Select an option

Save CreatiCoding/dbf19c1dd6ba02272f071b8609bc70e1 to your computer and use it in GitHub Desktop.
creco's ubuntu
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common build-essential vim git curl net-tools openssh-server zsh direnv
# zsh
sudo chsh -s /bin/zsh
# git
git config --global user.name "CreatiCoding"
git config --global user.email "creaticoding@gmail.com"
# node
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt install -y nodejs
sudo npm i -g yarn
# docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update -y
apt-cache policy docker-ce
sudo apt install docker-ce
# docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -aG docker $USER
sudo systemctl enable ssh
sudo systemctl enable docker
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
# NEET TO REBOOT
sudo reboot
# oh-my-zsh 설치, 수동으로 작업해야함
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@CreatiCoding

CreatiCoding commented Oct 19, 2019

Copy link
Copy Markdown
Author

@CreatiCoding

Copy link
Copy Markdown
Author

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