Browse Source

RHEL/CentOS is supported by Fedora Copr now.

pull/164/head
Symeon Huang 10 years ago
parent
commit
c15a6090dc
1 changed files with 6 additions and 23 deletions
  1. 29
      README.md

29
README.md

@ -76,7 +76,11 @@ sudo vim /etc/shadowsocks-libev/config.json
sudo /etc/init.d/shadowsocks-libev start 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 #### Install from repository
@ -86,7 +90,7 @@ Enable repo via `dnf`:
su -c 'dnf copr enable librehat/shadowsocks' 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`: Then, install `shadowsocks-libev` via `dnf`:
@ -100,29 +104,8 @@ or `yum`:
```bash ```bash
su -c 'yum update' su -c 'yum update'
su -c 'yum install shadowsocks-libev' 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 ### Linux
For Unix-like systems, especially Debian-based systems, For Unix-like systems, especially Debian-based systems,

Loading…
Cancel
Save