From 91e6237794e13d7ce734d0586d89924a68da2ada Mon Sep 17 00:00:00 2001 From: Anthony Wong Date: Wed, 6 Sep 2017 15:13:26 +0800 Subject: [PATCH] Update README.md (#734) Add installation and usage instructions for snap package. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4631576..ade2523 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ CentOS: yum install python-setuptools && easy_install pip pip install git+https://github.com/shadowsocks/shadowsocks.git@master +Linux distributions with [snap](http://snapcraft.io/): + + snap install shadowsocks + Windows: See [Install Shadowsocks Server on Windows](https://github.com/shadowsocks/shadowsocks/wiki/Install-Shadowsocks-Server-on-Windows). @@ -51,6 +55,11 @@ To check the log: Check all the options via `-h`. You can also use a [Configuration] file instead. +If you installed the [snap](http://snapcraft.io/) package, you have to prefix the commands with `shadowsocks.`, +like this: + + shadowsocks.ssserver -p 443 -k password -m aes-256-cfb + ### Usage with Config File [Create configeration file and run](https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File)