Created
October 19, 2017 15:01
-
-
Save ggicci/52ae2a45b5bb4945e5eafcd6898bc13c to your computer and use it in GitHub Desktop.
setup-centos7-ssserver
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 | |
set -o errexit | |
set -o pipefail | |
yum install -y yum-utils | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum makecache fast | |
yum install -y docker | |
systemctl start docker | |
systemctl enable docker.service | |
docker pull ggicci/shadowsocks | |
# fill in your own password | |
docker run -d -p 8388:8388 ggicci/shadowsocks -s 0.0.0.0 -p 8388 -m aes-256-cfb -k {{password}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment