Last active
October 28, 2019 09:49
-
-
Save CreatiCoding/dbf19c1dd6ba02272f071b8609bc70e1 to your computer and use it in GitHub Desktop.
creco's ubuntu
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
| 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)" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sh -c "$(curl -fsSL https://gist.githubusercontent.com/CreatiCoding/dbf19c1dd6ba02272f071b8609bc70e1/raw/73e948810a1453d0231dd93714f37c765d9c30e8/ubuntu.sh)"