2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩41頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、基于Linux_nginx_反向代理服務(wù)器的應(yīng)用研究I基于Linuxnginx反向代理服務(wù)器的應(yīng)用研究摘要隨著Web2.0時(shí)代的到來,Web服務(wù)器的訪問者數(shù)量快速增加。服務(wù)器的CPU、IO處理能力很快成為企業(yè)業(yè)務(wù)增長的瓶頸,此時(shí)可以通過多臺(tái)服務(wù)器提供網(wǎng)絡(luò)服務(wù)解決問題。反向代理服務(wù)器,提供一個(gè)既可以提高系統(tǒng)性能又可以解決后期的動(dòng)態(tài)擴(kuò)展的方案。反向代理服務(wù)器是相對(duì)于正向代理服務(wù)器而言的,反向代理的對(duì)象是服務(wù)器集群。通過反向代理服務(wù)器實(shí)現(xiàn)多臺(tái)

2、服務(wù)器協(xié)作提供不同的服務(wù),但對(duì)于客戶端表現(xiàn)為一臺(tái)服務(wù)器。本設(shè)計(jì)采用nginx實(shí)現(xiàn),主要是利用nginx的高并發(fā)連接支持的特點(diǎn),在中小型企業(yè)中是一個(gè)兼顧性能和成本的不錯(cuò)選擇。本文主要研究了在Linux平臺(tái)下通過nginx的反向代理功能來實(shí)現(xiàn)負(fù)載均衡的方法。通過在后端搭建多臺(tái)Web服務(wù)器實(shí)現(xiàn)負(fù)載均衡,通過搭建MySQL數(shù)據(jù)庫和FTP服務(wù)器實(shí)現(xiàn)動(dòng)、靜態(tài)和靜態(tài)附件的分離。關(guān)鍵字Nginx,反向代理,負(fù)載均衡ABSTRACTWiththearri

3、valoftheeraofWeb2.0thenumberofvisitsoftheWebserverincreasesrapidly.ServerCPUIOprocessingpowersoonbecomesthebottleneckofenterprisebusinessgrowthnowwecansolvetheproblemthroughwkserviceswhichofferedbymultipleservers.Reverse

4、proxyserverprovidingaplanwhichcanimprovesystem基于Linux_nginx_反向代理服務(wù)器的應(yīng)用研究III目錄1緒論............................................................................................................................................

5、................11.1課題研究的背景............................................................................................................................11.2課題研究的意義..........................................................

6、..................................................................12系統(tǒng)實(shí)現(xiàn)的原理........................................................................................................................................22.1基于Web

7、的分布式系統(tǒng)...............................................................................................................22.2UbuntuServer10.04.2LTS.............................................................................

8、...............................22.3nginx...............................................................................................................................................22.4反向代理.............................

9、...........................................................................................................32.5Discuz!X.....................................................................................................

10、...................................32.6XAMPP..........................................................................................................................................32.6.1Apache..........................

11、......................................................................................................42.6.2MySQL...........................................................................................................

12、....................42.6.3phpMyAdmin......................................................................................................................42.6.4FileZilla...................................................

13、...........................................................................42.6.5ApacheBench......................................................................................................................43系統(tǒng)的需求分析、

14、可行性分析和總體設(shè)計(jì)............................................................................................53.1需求分析..............................................................................................................

15、..........................53.2可行性分析....................................................................................................................................53.2.1技術(shù)實(shí)現(xiàn)可行性分析......................................

16、..................................................................63.2.2經(jīng)濟(jì)可行性分析................................................................................................................63.3系統(tǒng)總體設(shè)計(jì)...................

17、.............................................................................................................63.3.1負(fù)載均衡系統(tǒng)的拓?fù)鋱D...............................................................................................

18、.....73.3.2負(fù)載均衡系統(tǒng)的層次結(jié)構(gòu)圖............................................................................................84系統(tǒng)詳細(xì)設(shè)計(jì).................................................................................................

19、...........................................94.1nginx反向代理服務(wù)器設(shè)計(jì)部署..................................................................................................94.1.1系統(tǒng)總體環(huán)境的說明............................................

20、............................................................94.1.2Ubuntu的安裝和配置.......................................................................................................94.1.3nginx的編譯安裝、啟動(dòng)和關(guān)閉.................

21、...................................................................104.2Apache的設(shè)計(jì)部署.....................................................................................................................114.2.1XAMPP的安裝.....

22、..........................................................................................................114.2.2Apache的啟動(dòng)和配置...............................................................................................

23、......124.3MySQL的安裝和配置................................................................................................................144.4Discuz!X的安裝......................................................................

24、..................................................184.5nginx的詳細(xì)配置........................................................................................................................214.5.1常規(guī)選項(xiàng)的設(shè)置.....................

25、.........................................................................................214.5.2模塊配置...................................................................................................................224.5

26、.3upstream子模塊...............................................................................................................234.5.4server子模塊................................................................................

27、...................................234.5.5靜態(tài)數(shù)據(jù)緩存的設(shè)計(jì)實(shí)現(xiàn)..............................................................................................244.6遠(yuǎn)程FTP附件的安裝和配置.......................................................

28、..............................................254.6.1安裝FTP服務(wù)器.............................................................................................................254.6.2設(shè)置Discuz!X遠(yuǎn)程附件.............................

29、...................................................................285測(cè)試....................................................................................................................................................

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論