【正文】
proxy server,reverse proxy object is a server reverse proxy server realize multiple servers provides different services,but for client it acts as one design uses the nginx to realize, mainly using its characteristic of high concurrent connections ,it is a good choice for small and mediumsized enterprises between performance and cost . This paper mainly studied in the method of using nginx reverse proxy function to achieve load balancing on Linux building multiple Web servers backend realize load balancing,through constructing the MySQL database and FTP server realize static and dynamic and static attachment of separation. Key Words: Nginx Reverse proxy Load balancing 基于 Linux_nginx_反向代理服務(wù)器的應(yīng)用研究 III 目 錄 1 緒論 ........................................................................................................................................ 1 課題研究的背景 ............................................................................................................ 1 課題研究的意義 ............................................................................................................ 1 2 系統(tǒng)實(shí)現(xiàn)的原理 ....................................................................................................................... 2 基于 Web 的分布式系統(tǒng) ................................................................................................. 2 Ubuntu Server LTS .............................................................................................. 2 nginx............................................................................................................................. 2 反向代理 ....................................................................................................................... 3 Discuz! X ...................................................................................................................... 3 XAMPP......................................................................................................................... 3 Apache ............................................................................................................... 4 MySQL............................................................................................................... 4 phpMyAdmin ...................................................................................................... 4 FileZilla .............................................................................................................. 4 ApacheBench ...................................................................................................... 4 3 系統(tǒng)的需求分析、可行性分析和總體設(shè)計(jì) ................................................................................ 5 需求分析 ....................................................................................................................... 5 可行性分析 ................................................................................................................... 5 技術(shù)實(shí)現(xiàn)可行性分析 ........................................................................................... 6 經(jīng)濟(jì)可行性分析 .................................................................................................. 6 系統(tǒng)總體設(shè)計(jì) ................................................................................................................ 6 負(fù)載均衡系統(tǒng)的拓?fù)鋱D ....................................................................................... 7 負(fù)載均衡系統(tǒng)的層次結(jié)構(gòu)圖 ................................................................................ 8 4 系統(tǒng)詳細(xì)設(shè)計(jì) .......................................................................................................................... 9 nginx 反向代理服務(wù)器設(shè)計(jì)部署 ..................................................................................... 9 系統(tǒng)總體環(huán)境的說明 ........................................................................................... 9 Ubuntu 的安裝和配置 .......................................................................................... 9 nginx 的編譯安裝、啟動(dòng)和關(guān)閉 ..........................................................................10 Apache 的設(shè)計(jì)部署 ....................................................................................................... 11 XAMPP 的安裝 ..................................................................