From 2ec59fc7c2343f031a1c7807d0a81fee72c84842 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sat, 7 Dec 2013 17:00:34 +0800 Subject: [PATCH] Update the Debian/Ubuntu installation section --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 281404b3..4b199c0a 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,31 @@ when running `./configure`. CAST5-CFB, DES-CFB, IDEA-CFB, RC2-CFB and SEED-CFB. * RC4 is only support by PolarSSL __1.3.0 or above__. +### Debian & Ubuntu + +Add either of the following lines to your /etc/apt/source.list + +``` +# Debian Wheezy, Ubuntu 12.04 or any distribution with libssl > 1.0.1 +deb http://shadowsocks.org/debian wheezy main + +# Debian Squeeze, Ubuntu 11.04, or any distribution with libssl > 0.9.8, but < 1.0.0 +deb http://shadowsocks.org/debian squeeze main +``` + +Then, + +``` bash +sudo apt-get update +sudo apt-get install shadowsocks + +# Edit the configuration +sudo vim /etc/shadowsocks/config.json + +# Start the service +sudo /etc/init.d/shadowsocks start +``` + ### Linux For Unix-like systems, especially Debian-based systems,