Last active
August 16, 2016 11:39
-
-
Save lukrizal/f163b896572307e14d8f80448002774f to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
yum update | |
curl -fsSL https://get.docker.com/ | sh | |
service docker start | |
groupadd docker | |
useradd web | |
usermod -aG docker root | |
usermod -aG docker web | |
yum install -y git wget zsh | |
curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - | |
yum -y install nodejs gcc-c++ make | |
yum install -y firewalld | |
systemctl unmask firewalld | |
systemctl enable firewalld | |
systemctl start firewalld | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
passwd web && su - web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment