国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > Nginx > 正文

Ubuntu系統下的Nginx服務器軟件安裝時的常見錯誤解決

2024-08-30 12:22:35
字體:
來源:轉載
供稿:網友
這篇文章主要介紹了Ubuntu系統下的Nginx服務器軟件安裝時的常見問題解決,包括徹底卸載Nginx的方法介紹,需要的朋友可以參考下

Nginx安裝問題

下載nginx,地址:http://nginx.org/en/download.html

解壓安裝,這個不解釋

問題出現1:

./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewrite_moduleoption, or install the PCRE library into the system, or build the PCRE librarystatically from the source with nginx by using --with-pcre=<path> option.

解決1:

sudo apt-get install libpcre3 libpcre3-dev

問題出現2:

./configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using --without-http_gzip_moduleoption, or install the zlib library into the system, or build the zlib librarystatically from the source with nginx by using --with-zlib=<path> option.

解決2:

下載zlib庫,地址:http://www.zlib.net/

直接解壓安裝

which zlib

查看一下,有可能還需要安裝:

sudo apt-get install openssl libssl-dev

執行configure操作:

./configure 

主站蜘蛛池模板:
嘉善县|
新丰县|
德保县|
诸城市|
汪清县|
城口县|
鹰潭市|
大方县|
清徐县|
金湖县|
武平县|
嵊州市|
祁门县|
长岭县|
上犹县|
朝阳区|
阿图什市|
马龙县|
浮梁县|
门源|
循化|
静海县|
贡觉县|
荥阳市|
溧水县|
江口县|
嘉义县|
聂荣县|
桐乡市|
无为县|
汤原县|
固镇县|
曲周县|
东城区|
囊谦县|
新乡县|
永宁县|
新龙县|
饶河县|
唐山市|
怀集县|