openresty源碼安裝

環境準備

1、安裝perl工程

yum install -y perl

2、安裝gcc、gcc-c++
3、下載openssl、zlib、pcre源碼
具體下載方法可以去官網下載

源碼安裝

1、下載openresty源碼
2、進入到openresty,按順序執行命令

./configure --prefix=openresty安裝路徑 \
            --with-luajit 
            --without-http_redis2_module \
            --with-http_iconv_module \
            --with-pcre=pcre源碼路徑 \
            --with-zlib=zlib源碼路徑 \
            --with-openssl=openssl源碼路徑
make && make install

知識來源:http://www.cnblogs.com/taiyonghai/p/6728707.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章