久久久精品一区ed2k-女人被男人叉到高潮的视频-中文字幕乱码一区久久麻豆樱花-俄罗斯熟妇真实视频

nginx安裝(1)-ttlsa教程系列之nginx

當(dāng)今nginx的勁頭越來越猛,記得2011年版本才1.0.6,現(xiàn)在已經(jīng)更新到了1.5.1,nginx的更新速度越來越快。一直想記錄一系列的nginx教程,處于各種原因沒去做.今年抽出時間完成平時工作上用到的nginx.后續(xù)將會以視頻教程的方式來做。當(dāng)然,還是文章先出,下一篇文章將會講nginx虛擬主機配置。有什么建議,望大家留言。 1、必要軟件準(zhǔn)備 安裝pcre 為了支持rewrite功能,我們需要安裝pcre

成都創(chuàng)新互聯(lián)服務(wù)項目包括興化網(wǎng)站建設(shè)、興化網(wǎng)站制作、興化網(wǎng)頁制作以及興化網(wǎng)絡(luò)營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢、行業(yè)經(jīng)驗、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,興化網(wǎng)站推廣取得了明顯的社會效益與經(jīng)濟效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到興化省份的部分城市,未來相信會繼續(xù)擴大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!

# yum install pcre* //如過你已經(jīng)裝了,請?zhí)^這一步 安裝openssl 需要ssl的支持,如果不需要ssl支持,請?zhí)^這一步

# yum install openssl* 2、 安裝nginx執(zhí)行如下命令:

# ./configure --prefix=/usr/local/nginx-1.5.1 --with-http_ssl_module --with-http_spdy_module --with-http_stub_status_module --with-pcre --with-http_stub_status_module:支持nginx狀態(tài)查詢 --with-http_ssl_module:支持https --with-http_spdy_module:支持google的spdy,想了解請百度spdy,這個必須有ssl的支持 --with-pcre:為了支持rewrite重寫功能,必須制定pcre 最后輸出如下內(nèi)容,表示configure OK了。 .....

checking for zlib library ... found creating objs/Makefile Configuration summary + using system PCRE library + using system OpenSSL library + md5: using OpenSSL library + sha1: using OpenSSL library + using system zlib library nginx path prefix: "/usr/local/nginx-1.5.1" nginx binary file: "/usr/local/nginx-1.5.1/sbin/nginx" nginx configuration prefix: "/usr/local/nginx-1.5.1/conf" nginx configuration file: "/usr/local/nginx-1.5.1/conf/nginx.conf" nginx pid file: "/usr/local/nginx-1.5.1/logs/nginx.pid" nginx error log file: "/usr/local/nginx-1.5.1/logs/error.log" nginx http access log file: "/usr/local/nginx-1.5.1/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp" nginx http scgi temporary files: "scgi_temp" # make //確定你的服務(wù)器有安裝make,如果沒有安裝請執(zhí)行yum install make # make install 3、啟動、關(guān)閉、重置nginx 啟動:直接執(zhí)行以下命令,nginx就啟動了,不需要改任何配置文件,nginx配置多域名虛擬主機請參考后續(xù)文章.

/usr/local/nginx-1.5.1/sbin/nginx 試試訪問:我這邊不貼圖,直接使用curl命令來讀取web信息

[root@ns conf]# curl -s http://localhost | grep nginx.com nginx.com. 關(guān)閉:

/usr/local/nginx-1.5.1/sbin/nginx -s stop 重置:當(dāng)你有修改配置文件的時候,只需要reload以下即可

/usr/local/nginx-1.5.1/sbin/nginx -s reload 整個nginx的安裝就到這里結(jié)束了。 轉(zhuǎn)載請注明出處:http://www.ttlsa.com/html/1548.html

當(dāng)前名稱:nginx安裝(1)-ttlsa教程系列之nginx
文章起源:http://www.sd-ha.com/article28/cjsscp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站導(dǎo)航、網(wǎng)站改版虛擬主機、品牌網(wǎng)站設(shè)計、ChatGPT、面包屑導(dǎo)航

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)公司