2525- [ Ubuntu 16.04 & 18.04] ( #ubuntu-1604--1804 )
2626- [ Debian 9 & 10] ( #debian-9--10 )
2727- [ Mac OSX] ( #mac-osx )
28- - [ How to compile the Openresty ] ( #how-to-compile-the-openresty )
28+ - [ How to compile the OpenResty ] ( #how-to-compile-the-openresty )
2929
3030CentOS 6
3131========
3232
3333``` shell
34- # add openresty source
34+ # add OpenResty source
3535sudo yum install yum-utils
3636sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
3737
38- # install openresty , etcd and some compilation tools
38+ # install OpenResty , etcd and some compilation tools
3939sudo yum install -y openresty curl git gcc luarocks lua-devel make
4040
4141wget 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
5555wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
5656sudo rpm -ivh epel-release-latest-7.noarch.rpm
5757
58- # add openresty source
58+ # add OpenResty source
5959sudo yum install yum-utils
6060sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
6161
62- # install openresty , etcd and some compilation tools
62+ # install OpenResty , etcd and some compilation tools
6363sudo yum install -y etcd openresty curl git gcc luarocks lua-devel
6464
6565# start etcd server
@@ -70,13 +70,13 @@ Ubuntu 16.04 & 18.04
7070====================
7171
7272``` shell
73- # add openresty source
73+ # add OpenResty source
7474wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
7575sudo apt-get -y install software-properties-common
7676sudo add-apt-repository -y " deb http://openresty.org/package/ubuntu $( lsb_release -sc) main"
7777sudo apt-get update
7878
79- # install openresty , etcd and some compilation tools
79+ # install OpenResty , etcd and some compilation tools
8080sudo apt-get install -y git etcd openresty curl luarocks
8181
8282# start etcd server
@@ -93,7 +93,7 @@ sed -i 's|^deb http://security.debian.org/debian-security|deb http://mirrors.hua
9393apt update
9494apt install wget gnupg -y
9595
96- # add openresty source
96+ # add OpenResty source
9797wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
9898sudo apt-get -y install software-properties-common
9999sudo 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 && \
105105 cd etcd-v3.3.13-linux-amd64 && \
106106 sudo cp -a etcd etcdctl /usr/bin/
107107
108- # install openresty and some compilation tools
108+ # install OpenResty and some compilation tools
109109sudo apt-get install -y git openresty curl luarocks make
110110
111111# start etcd server
@@ -116,15 +116,15 @@ Mac OSX
116116=======
117117
118118``` shell
119- # install openresty , etcd and some compilation tools
119+ # install OpenResty , etcd and some compilation tools
120120brew install openresty/brew/openresty etcd luarocks curl git
121121
122122# start etcd server with v2 protocol
123123etcd --enable-v2=true &
124124```
125125
126- How to compile the Openresty
127- =======
126+ How to compile the OpenResty
127+ ============================
128128
129129Compiling 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.
130130
0 commit comments