- Download PCRE. Nginx requires PCRE (Perl Compatible Regular Expressions) to build. You can download the latest version from http://www.pcre.org. I used the version 8.13. Save the pcre-8.13.tar.gz (or newer version) to a/usr/local/src folder. Create a new src folder if you don’t have it yet. You will need your administrator password to alter the contents of this folder.
- Download Nginx from http://wiki.nginx.org/Install I used the version 1.1.16 which comes as nginx-1.1.16.tar.gz. Save it to to a /usr/local/src folder as well.
- Build and install PCRE: open your Terminal app and type:
That will build and install PCRE on your system
mac os x 安装 PCRE
最新推荐文章于 2023-11-07 12:24:02 发布