From c15a6090dc37227e6070271240d9c517dd5b829c Mon Sep 17 00:00:00 2001 From: Symeon Huang Date: Fri, 21 Nov 2014 11:41:16 +0000 Subject: [PATCH] RHEL/CentOS is supported by Fedora Copr now. --- README.md | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index fb2cc4ce..1e831acc 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,11 @@ sudo vim /etc/shadowsocks-libev/config.json sudo /etc/init.d/shadowsocks-libev start ``` -### Fedora +### Fedora & RHEL + +Supported distributions include +- Fedora 19, 20, 21, rawhide +- RHEL 6, 7 and derivatives (including CentOS, Scientific Linux) #### Install from repository @@ -86,7 +90,7 @@ Enable repo via `dnf`: su -c 'dnf copr enable librehat/shadowsocks' ``` -Or download yum repo on [Fedora Copr](https://copr.fedoraproject.org/coprs/librehat/shadowsocks/) and put it inside `/etc/yum.repos.d/`. +Or download yum repo on [Fedora Copr](https://copr.fedoraproject.org/coprs/librehat/shadowsocks/) and put it inside `/etc/yum.repos.d/`. The release `Epel` is for RHEL and its derivatives. Then, install `shadowsocks-libev` via `dnf`: @@ -100,29 +104,8 @@ or `yum`: ```bash su -c 'yum update' su -c 'yum install shadowsocks-libev' - -``` - -#### - -### CentOS - -Install the dependencies, - -```bash -yum install -y gcc automake autoconf libtool make build-essential autoconf libtool -yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel ``` -Compile and install, - -```bash -./configure && make -make install -``` - -Then copy this [init script](rpm/SOURCES/etc/init.d/shadowsocks-libev) to `/etc/init.d/`. - ### Linux For Unix-like systems, especially Debian-based systems,