一,、源碼包獲取 [root@Bookmark1 tmp]# wget http:///misc/nginx/ngx_openresty-1.2.1.14.tar.gz 二,、安裝 [root@Bookmark1 tmp]# tar -zxvf ngx_openresty-1.2.1.14.tar.gz [root@Bookmark1 tmp]# cd ngx_openresty-1.2.1.14 [root@Bookmark1 ngx_openresty-1.2.1.14]# ./configure --prefix=/usr/local/ngx_openresty --with-luajit --with-http_stub_status_module make時(shí)報(bào)錯(cuò)如下: al/ngx_openresty/luajit/lib -lluajit-5.1 -lm -lpcre -lssl -lcrypto -ldl -lz 解決: [root@Bookmark1 ngx_openresty-1.2.1.14]# ./configure --prefix=/usr/local/ngx_openresty --with-http_ssl_module --with-luajit --with-http_stub_status_module --with-openssl=/opt/distfiles/openssl-0.9.8k(openssl的源碼包的地址,不是安裝路徑) 本文出自 “屌絲運(yùn)維男” 博客,,請務(wù)必保留此出處http://navyaijm.blog.51cto.com/4647068/1098502 |
|