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: 琚致远 <juzhiy...@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.