Skip to content

Instantly share code, notes, and snippets.

@lbj96347
Last active January 19, 2018 02:30
Show Gist options
  • Save lbj96347/5c3065adad8114b047a1b353fc8c7036 to your computer and use it in GitHub Desktop.
Save lbj96347/5c3065adad8114b047a1b353fc8c7036 to your computer and use it in GitHub Desktop.
It's a quick installation bash for installing ssserver. Your machine should be CentOS 7.0. Paste this file to your machine and use `sh fast_install_ss.sh`. Everything is done.
#!/bin/bash
yum install python-setuptools && easy_install pip && git
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
echo '{ "server":"0.0.0.0", "server_port":8388, "password":"cashisking", "timeout":300, "method":"aes-256-cfb", "fast_open": false}' | tee /etc/shadowsocks.json
ssserver -c /etc/shadowsocks.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment