Last active
May 2, 2018 01:09
-
-
Save mosluce/b9e5d4ade272664e5f9d9978b54eeb78 to your computer and use it in GitHub Desktop.
ShadowsocksR 一鍵安裝 for Ubuntu Only
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
#!/bin/bash | |
apt-get update | |
apt-get install -y git-core | |
curl -sSL get.docker.com | sh - | |
git clone -b mujson https://github.com/mosluce/shadowsocksr.git | |
cd shadowsocksr | |
docker build -t mosluce/ssr . | |
docker run -d --restart=always --name=ssr -p 6440-6450:6440-6450 mosluce/ssr | |
# Add alias | |
echo 'alias mujson="docker exec -it ssr python mujson_mgr.py"' >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment