File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ sudo apt-get -y install --no-install-recommends wget gnupg ca-certificates lsb-r
153153
154154步骤二:导入我们的 GPG 密钥:
155155
156- - ubuntu 18 ~ 20 版本
156+ - Ubuntu 18 ~ 20 版本
157157``` bash
158158wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
159159```
160- - ubuntu 22 及以上版本
160+ - Ubuntu 22 及以上版本
161161```
162162wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/openresty.gpg
163163```
@@ -166,26 +166,26 @@ wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /usr/
166166
167167对于 ` x86_64 ` 或 ` amd64 ` 系统,可以使用下面的命令:
168168
169- - ubuntu 18 ~ 20 版本
169+ - Ubuntu 18 ~ 20 版本
170170``` bash
171171echo " deb http://openresty.org/package/ubuntu $( lsb_release -sc) main" \
172172 | sudo tee /etc/apt/sources.list.d/openresty.list
173173```
174174
175- - ubuntu 22 及以上版本
175+ - Ubuntu 22 及以上版本
176176``` bash
177177echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/ubuntu $( lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list > /dev/null
178178```
179179
180180而对于 ` arm64 ` 或 ` aarch64 ` 系统,则可以使用下面的命令:
181181
182- - ubuntu 18 ~ 20 版本
182+ - Ubuntu 18 ~ 20 版本
183183``` bash
184184echo " deb http://openresty.org/package/arm64/ubuntu $( lsb_release -sc) main" \
185185 | sudo tee /etc/apt/sources.list.d/openresty.list
186186```
187187
188- - ubuntu 22 及以上版本
188+ - Ubuntu 22 及以上版本
189189``` bash
190190echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/arm64/ubuntu $( lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list > /dev/null
191191```
You can’t perform that action at this time.
0 commit comments