You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,13 +113,13 @@ We recommend that you use [luarocks](https://luarocks.org/) to install APISIX, a
113
113
114
114
APISIX is installed by running the following commands in your terminal.
115
115
116
-
> via curl
116
+
> Gets the master branch via curl
117
117
118
118
```shell
119
119
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/iresty/apisix/master/utils/install-apisix.sh)"
120
120
```
121
121
122
-
> Manual inspection
122
+
> Gets the master branch with manual inspection
123
123
124
124
It's a good idea to inspect the installation script from projects you don't know yet. You can do that by downloading the installation script first, looking through it so everything looks normal, then running it:
* Run `./configure --with-lua=/usr/local/openresty/luajit/`. (This will attempt to detect your installation of Lua. If you get any error messages, see the section "Customizing your settings", below.)
83
-
* Run `make build`.
84
-
* As superuser, run `make install`.
85
-
ln -s /usr/local/bin/luarocks /usr/bin/luarocks
86
-
88
+
sudo apt-get install -y git openresty curl luarocks make
87
89
88
90
# start etcd server
89
91
nohup etcd &
90
92
```
91
93
92
-
CentOS 6
93
-
========
94
-
95
-
TODO
96
-
97
-
Failed to compile `rapidjson`, but the CentOS 6 comes with a lower version, will support CentOS 6 later.
98
-
99
94
Mac OSX
100
95
=======
101
96
102
97
```shell
103
98
# install openresty, etcd and some compilation tools
0 commit comments