From fe174b933f9ea055686a0c67718c18ba970adba5 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sun, 7 Dec 2014 02:30:00 -0800 Subject: [PATCH] Drop CentOS support --- Configure-Shadowsocks-with-Supervisor.md | 35 +----------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/Configure-Shadowsocks-with-Supervisor.md b/Configure-Shadowsocks-with-Supervisor.md index 8847f80..24dbbb3 100644 --- a/Configure-Shadowsocks-with-Supervisor.md +++ b/Configure-Shadowsocks-with-Supervisor.md @@ -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 \ No newline at end of file +``` \ No newline at end of file