From 027c7b3f5a725f5937db692d30540246cc2bf5b1 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Sep 2014 03:27:07 +0000 Subject: [PATCH] Mod: update building from source for debian in README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index b10ede04..e291ff08 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ CAST5-CFB, DES-CFB, IDEA-CFB, RC2-CFB and SEED-CFB. ### Debian & Ubuntu +#### Install from repository Add either of the following lines to your /etc/apt/sources.list ``` @@ -53,7 +54,21 @@ Then, ``` bash sudo apt-get update sudo apt-get install shadowsocks +``` + +#### Build package from source +``` bash +cd shadowsocks-libev +sudo apt-get install build-essential autoconf libtool libssl-dev gawk debhelper +sudo dpkg-buildpackage +cd .. +sudo dpkg -i install shadowsocks*.deb +``` + +#### Configure and start the service + +``` # Edit the configuration sudo vim /etc/shadowsocks/config.json