Debian / Ubuntu:
apt-get install git
git clone https://github.com/shadowsocksr/shadowsocksr.git
CentOS:
yum install git
git clone https://github.com/shadowsocksr/shadowsocksr.git
Windows:
git clone https://github.com/shadowsocksr/shadowsocksr.git
If you clone it into "/shadowsocksr"/shadowsocksr", then run:
move to "
bash initcfg.sh
move to "~/shadowsocksr/shadowsocks", then run:
python server.py -p 443 -k password -m aes-128-cfb -O auth_aes128_md5 -o tls1.2_ticket_auth_compatible
Check all the options via -h
.
You can also use a configuration file instead (recommend), move to "/shadowsocksr" and edit the file "user-config.json", then move to "/shadowsocksr/shadowsocks" again, just run:
python server.py
To run in the background:
./logrun.sh
To stop:
./stop.sh
To monitor the log:
./tail.sh