You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2019/11/14 03:38:59 UTC
[incubator-apisix] branch juzhiyuan-patch-1 created (now de159db)
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a change to branch juzhiyuan-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git.
at de159db fix writing rule
This branch includes the following new commits:
new de159db fix writing rule
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-apisix] 01/01: fix writing rule
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch juzhiyuan-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
commit de159db907d7534d269cd0e767e0904da2586b2f
Author: 琚致远 <ju...@apache.org>
AuthorDate: Thu Nov 14 11:38:51 2019 +0800
fix writing rule
---
doc/install-dependencies.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/doc/install-dependencies.md b/doc/install-dependencies.md
index 7ec1ce6..f0d3070 100644
--- a/doc/install-dependencies.md
+++ b/doc/install-dependencies.md
@@ -14,7 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-#
+#Openresty
-->
# Install Dependencies
@@ -25,17 +25,17 @@
- [Ubuntu 16.04 & 18.04](#ubuntu-1604--1804)
- [Debian 9 & 10](#debian-9--10)
- [Mac OSX](#mac-osx)
-- [How to compile the Openresty](#how-to-compile-the-openresty)
+- [How to compile the OpenResty](#how-to-compile-the-openresty)
CentOS 6
========
```shell
-# add openresty source
+# add OpenResty source
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
-# install openresty, etcd and some compilation tools
+# install OpenResty, etcd and some compilation tools
sudo yum install -y openresty curl git gcc luarocks lua-devel make
wget https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz
@@ -55,11 +55,11 @@ CentOS 7
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -ivh epel-release-latest-7.noarch.rpm
-# add openresty source
+# add OpenResty source
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
-# install openresty, etcd and some compilation tools
+# install OpenResty, etcd and some compilation tools
sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
# start etcd server
@@ -70,13 +70,13 @@ Ubuntu 16.04 & 18.04
====================
```shell
-# add openresty source
+# add OpenResty source
wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
sudo apt-get update
-# install openresty, etcd and some compilation tools
+# install OpenResty, etcd and some compilation tools
sudo apt-get install -y git etcd openresty curl luarocks
# start etcd server
@@ -93,7 +93,7 @@ sed -i 's|^deb http://security.debian.org/debian-security|deb http://mirrors.hua
apt update
apt install wget gnupg -y
-# add openresty source
+# add OpenResty source
wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y "deb http://openresty.org/package/debian $(lsb_release -sc) openresty"
@@ -105,7 +105,7 @@ tar -xvf etcd-v3.3.13-linux-amd64.tar.gz && \
cd etcd-v3.3.13-linux-amd64 && \
sudo cp -a etcd etcdctl /usr/bin/
-# install openresty and some compilation tools
+# install OpenResty and some compilation tools
sudo apt-get install -y git openresty curl luarocks make
# start etcd server
@@ -116,14 +116,14 @@ Mac OSX
=======
```shell
-# install openresty, etcd and some compilation tools
+# install OpenResty, etcd and some compilation tools
brew install openresty/brew/openresty etcd luarocks curl git
# start etcd server with v2 protocol
etcd --enable-v2=true &
```
-How to compile the Openresty
+How to compile the OpenResty
=======
Compiling OpenResty from source is very complicated, it's not easy to make it clear. So we recommend that you refer to the official installation documentation.