Drop CentOS support

clowwindy 2014-12-07 02:30:00 -08:00
parent 6afb88796d
commit fe174b933f

@ -51,37 +51,4 @@ You can check logs or control the shadowsocks process:
```
supervisorctl tail -f shadowsocks stderr
supervisorctl restart shadowsocks
```
CentOS
------
Run
```
yum install python-setuptools supervisor
easy_install pip
pip install shadowsocks
```
Edit `/etc/supervisord.conf`, add
```
[program:shadowsocks]
command=ssserver -c /etc/shadowsocks.json
autorestart=true
user=nobody
```
Run
```
sudo chkconfig --add supervisord
sudo chkconfig supervisord on
service supervisor start
supervisorctl reload
```
Edit `/etc/sysconfig/iptables`, add
-A INPUT -m state --state NEW -m tcp -p tcp --dport your_server_port -j ACCEPT
```