You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/07/03 23:48:20 UTC

[incubator-apisix] branch master updated: doc: add guides for installing dependencies on fedora (#1800)

This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 57289ae  doc: add guides for installing dependencies on fedora (#1800)
57289ae is described below

commit 57289aeac19f2d58b6b8781ea936402499400313
Author: Joey <ma...@gmail.com>
AuthorDate: Sat Jul 4 07:48:10 2020 +0800

    doc: add guides for installing dependencies on fedora (#1800)
---
 doc/install-dependencies.md       | 16 ++++++++++++++++
 doc/zh-cn/install-dependencies.md | 18 +++++++++++++++++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/doc/install-dependencies.md b/doc/install-dependencies.md
index 989ca9b..0a5ad26 100644
--- a/doc/install-dependencies.md
+++ b/doc/install-dependencies.md
@@ -20,6 +20,7 @@
 # Install Dependencies
 - [CentOS 6](#centos-6)
 - [CentOS 7](#centos-7)
+- [Fedora 31 & 32](#fedora-31--32)
 - [Ubuntu 16.04 & 18.04](#ubuntu-1604--1804)
 - [Debian 9 & 10](#debian-9--10)
 - [Mac OSX](#mac-osx)
@@ -65,6 +66,21 @@ sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
 sudo service etcd start
 ```
 
+Fedora 31 & 32
+==============
+
+```shell
+# add OpenResty source
+sudo yum install yum-utils
+sudo yum-config-manager --add-repo https://openresty.org/package/fedora/openresty.repo
+
+# install OpenResty, etcd and some compilation tools
+sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
+
+# start etcd server
+sudo etcd --enable-v2=true &
+```
+
 Ubuntu 16.04 & 18.04
 ====================
 
diff --git a/doc/zh-cn/install-dependencies.md b/doc/zh-cn/install-dependencies.md
index fed9c1d..f0d4201 100644
--- a/doc/zh-cn/install-dependencies.md
+++ b/doc/zh-cn/install-dependencies.md
@@ -20,10 +20,11 @@
 # 安装依赖
 - [CentOS 6](#centos-6)
 - [CentOS 7](#centos-7)
+- [Fedora 31 & 32](#fedora-31--32)
 - [Ubuntu 16.04 & 18.04](#ubuntu-1604--1804)
 - [Debian 9 & 10](#debian-9--10)
 - [Mac OSX](#mac-osx)
-- [如何编译 Openresty](#如何编译-Openresty)
+- [如何编译 Openresty](#如何编译-openresty)
 - [注意](#注意)
 
 CentOS 6
@@ -65,6 +66,21 @@ sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
 sudo service etcd start
 ```
 
+Fedora 31 & 32
+==============
+
+```shell
+# add OpenResty source
+sudo yum install yum-utils
+sudo yum-config-manager --add-repo https://openresty.org/package/fedora/openresty.repo
+
+# install OpenResty, etcd and some compilation tools
+sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
+
+# start etcd server
+sudo etcd --enable-v2=true &
+```
+
 Ubuntu 16.04 & 18.04
 ====================