From a22317a056f9a6e9ffb92b9981cc17537f2914fe Mon Sep 17 00:00:00 2001 From: Max Lv Date: Tue, 21 Jan 2014 18:10:22 +0800 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cbf406d1..6099c4a6 100644 --- a/README.md +++ b/README.md @@ -110,19 +110,21 @@ sudo /etc/init.d/shadowsocks start ### CentOS -Install the compile tools +Install the dependencies, + ```bash yum install -y gcc automake autoconf libtool make build-essential autoconf libtool gcc yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel ``` -Compile and install +Compile and install, + ```bash ./configure && make make install ``` -here is the [init script](rpm/SOURCES/etc/init.d/shadowsocks) . -Notice:default config file is /usr/local/etc/shadowsocks.json + +Then copy this [init script](rpm/SOURCES/etc/init.d/shadowsocks) to `/etc/init.d/`. ### Linux