下载 OpenResty
二进制版本
Linux
OpenResty® 给常见 Linux 发布提供官方预编译安装包。 目前我们为 Ubuntu、Debian、RHEL、CentOS、Fedora、OpenSUSE、Alpine 和 Amazon Linux 提供官方的二进制包仓库。
Windows
所有版本都是用 Yichun Zhang 的 PGP 公钥 A0E98066
签发的。
- 32 位 Windows: openresty-1.19.9.1-win32.zip 16MB PGP - 2021年8月6日
- 64 位 Windows: openresty-1.19.9.1-win64.zip 16MB PGP - 2021年8月6日
参见针对 Windows 版 OpenResty 的用法文档。
Docker
我们为使用容器的用户提供了 docker 镜像。你可以通过 Docker Hub 来获取官方维护的 docker 镜像。
macOS/Mac OS X
强烈建议 Mac OS X 或者 macOS 系统用户通过 homebrew 包管理器安装 OpenResty,像下面这样:
brew tap openresty/brew
brew install openresty
如果你之前是从 homebrew/nginx
安装的 OpenResty,请先执行:
brew untap homebrew/nginx
硬核开发者或许希望使用我们的 openresty-debug
包:
brew install openresty-debug
请注意,你可以在 $HOMEBREW_PREFIX/etc/openresty/
目录下找到 openresty 的配置文件($HOMEBREW_PREFIX
的默认值是 /usr/local
,可以使用 brew --config
命令查看 $HOMEBREW_PREFIX
的值)。
源码发布
所有版本都是用 Yichun Zhang 的 PGP 公钥 A0E98066
签发的。
你可以在下面下载源代码的 tar 包。然后可以参考安装指导页面里头的步骤编译、安装之。
最新版
- openresty-1.19.9.1.tar.gz 5.0MB PGP
历史版
有时候我们可能会需要较老的版本:
openresty-1.19.3.2.tar.gz 4.9MB PGP
openresty-1.19.3.1.tar.gz 4.9MB PGP
openresty-1.17.8.2.tar.gz 4.9MB PGP
openresty-1.17.8.1.tar.gz 3.5MB PGP
openresty-1.15.8.3.tar.gz 4.7MB PGP
openresty-1.15.8.2.tar.gz 4.7MB PGP
openresty-1.15.8.1.tar.gz 4.7MB PGP
openresty-1.13.6.2.tar.gz 4.5MB PGP
openresty-1.13.6.1.tar.gz 4.4MB PGP
openresty-1.11.2.5.tar.gz 4.0MB PGP
openresty-1.11.2.4.tar.gz 4.0MB PGP
openresty-1.11.2.3.tar.gz 4.0MB PGP
openresty-1.11.2.2.tar.gz 4.1MB PGP
openresty-1.11.2.2.tar.gz 3.8MB PGP
openresty-1.9.15.1.tar.gz 3.6MB PGP (Win32 PGP)
openresty-1.9.7.5.tar.gz 3.5MB PGP (Win32 PGP)
安装帮助请参考安装指导。