Browse Source

Add instruction for build from source with CentOS 7

Signed-off-by: huzhifeng <huzhifeng@douyu.tv>
pull/1098/head
huzhifeng 8 years ago
committed by Max Lv
parent
commit
3d28c4ce5b
1 changed files with 10 additions and 0 deletions
  1. 10
      README.md

10
README.md

@ -45,6 +45,7 @@ git submodule update --init --recursive
+ [Build deb package from source](#build-deb-package-from-source)
+ [Configure and start the service](#configure-and-start-the-service)
- [Fedora & RHEL](#fedora--rhel)
+ [Build from source](build-from-source-2)
+ [Install from repository](#install-from-repository-1)
- [OpenSUSE](#opensuse)
+ [Install from repository](#install-from-repository-2)
@ -153,6 +154,15 @@ Supported distributions include
- Fedora 22, 23, 24
- RHEL 6, 7 and derivatives (including CentOS, Scientific Linux)
#### Build from source
If you are using CentOS 7, you need to install these prequirement to build from source code
```bash
yum install epel-release -y
yum install gcc autoconf libtool automake make openssl-devel pcre-devel asciidoc xmlto zlib-devel openssl-devel libsodium-devel udns-devel libev-devel -y
```
#### Install from repository
Enable repo via `dnf`:

Loading…
Cancel
Save