SlideShare uma empresa Scribd logo
1 de 24
使用 Nginx 轻松实现开源负载均衡 张宴 ( http://blog.s135.com ) 2008.9.20  北京
个人简介 ,[object Object]
什么是 Nginx ? ,[object Object],[object Object],[object Object]
使用 Nginx 做七层负载均衡的理由 ,[object Object],[object Object],[object Object],[object Object]
使用 Nginx 做七层负载均衡的理由 ,[object Object],[object Object],[object Object],[object Object]
Nginx  负载均衡的典型应用
硬件、软件七层负载均衡对比: NetScaler 与 Nginx
硬件、软件七层负载均衡对比: NetScaler 与 Nginx
[object Object]
编译安装 Nginx ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
编译安装 Nginx ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (4) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (5) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (6) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (7) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
创建 nginx.conf 配置文件 (8) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
启动 Nginx ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
不中断服务平滑修改 Nginx 配置 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
编写每天定时切割 Nginx 日志的脚本 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
总结 ,[object Object],[object Object]
结束 ,[object Object]

Mais conteúdo relacionado

Mais procurados

開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018
開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018
開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018Will Huang
 
课题三:Nginx基础知识
课题三:Nginx基础知识课题三:Nginx基础知识
课题三:Nginx基础知识Liu Allen
 
Node.js长连接开发实践
Node.js长连接开发实践Node.js长连接开发实践
Node.js长连接开发实践longhao
 
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on praticeKenny (netman)
 
How to Prevent DNS Attacks on MikroTik.pdf
How to Prevent DNS Attacks on MikroTik.pdfHow to Prevent DNS Attacks on MikroTik.pdf
How to Prevent DNS Attacks on MikroTik.pdfAkashaC1
 
Hadoop平台搭建
Hadoop平台搭建Hadoop平台搭建
Hadoop平台搭建Liyang Tang
 
Config RouterOS openVPN.pdf
Config RouterOS openVPN.pdfConfig RouterOS openVPN.pdf
Config RouterOS openVPN.pdfAkashaC1
 
Nodejs api server_implement
Nodejs api server_implementNodejs api server_implement
Nodejs api server_implementChi-wen Sun
 
Google雲端備份與虛擬伺服器建置工作坊
Google雲端備份與虛擬伺服器建置工作坊Google雲端備份與虛擬伺服器建置工作坊
Google雲端備份與虛擬伺服器建置工作坊Chung-Yi Huang
 
构建基于Lamp的网站架构
构建基于Lamp的网站架构构建基于Lamp的网站架构
构建基于Lamp的网站架构Cosey Lee
 
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用dong yuwei
 
Linux Network Monitoring
Linux Network MonitoringLinux Network Monitoring
Linux Network MonitoringKenny (netman)
 
高性能并发Web服务器实现核心内幕
高性能并发Web服务器实现核心内幕高性能并发Web服务器实现核心内幕
高性能并发Web服务器实现核心内幕ideawu
 
百姓网如何优化网速-Qcon2011
百姓网如何优化网速-Qcon2011百姓网如何优化网速-Qcon2011
百姓网如何优化网速-Qcon2011Yiwei Ma
 
使用Rpm&yum进行基础软件管理
使用Rpm&yum进行基础软件管理使用Rpm&yum进行基础软件管理
使用Rpm&yum进行基础软件管理haiyuan ning
 
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置wensheng wei
 
康盛创想项目部Linux 服务器部署标准(最新版)
康盛创想项目部Linux 服务器部署标准(最新版)康盛创想项目部Linux 服务器部署标准(最新版)
康盛创想项目部Linux 服务器部署标准(最新版)Yiwei Ma
 
构建ActionScript游戏服务器,支持超过15000并发连接
构建ActionScript游戏服务器,支持超过15000并发连接 构建ActionScript游戏服务器,支持超过15000并发连接
构建ActionScript游戏服务器,支持超过15000并发连接 Renaun Erickson
 

Mais procurados (20)

開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018
開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018
開發人員必須知道的 Kubernetes 核心技術 - Kubernetes Summit 2018
 
课题三:Nginx基础知识
课题三:Nginx基础知识课题三:Nginx基础知识
课题三:Nginx基础知识
 
Node.js长连接开发实践
Node.js长连接开发实践Node.js长连接开发实践
Node.js长连接开发实践
 
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
 
How to Prevent DNS Attacks on MikroTik.pdf
How to Prevent DNS Attacks on MikroTik.pdfHow to Prevent DNS Attacks on MikroTik.pdf
How to Prevent DNS Attacks on MikroTik.pdf
 
Hadoop平台搭建
Hadoop平台搭建Hadoop平台搭建
Hadoop平台搭建
 
Config RouterOS openVPN.pdf
Config RouterOS openVPN.pdfConfig RouterOS openVPN.pdf
Config RouterOS openVPN.pdf
 
Nodejs api server_implement
Nodejs api server_implementNodejs api server_implement
Nodejs api server_implement
 
Google雲端備份與虛擬伺服器建置工作坊
Google雲端備份與虛擬伺服器建置工作坊Google雲端備份與虛擬伺服器建置工作坊
Google雲端備份與虛擬伺服器建置工作坊
 
构建基于Lamp的网站架构
构建基于Lamp的网站架构构建基于Lamp的网站架构
构建基于Lamp的网站架构
 
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用
 
Linux Network Monitoring
Linux Network MonitoringLinux Network Monitoring
Linux Network Monitoring
 
高性能并发Web服务器实现核心内幕
高性能并发Web服务器实现核心内幕高性能并发Web服务器实现核心内幕
高性能并发Web服务器实现核心内幕
 
Sth About SSD
Sth About SSDSth About SSD
Sth About SSD
 
-Nginx book
 -Nginx book -Nginx book
-Nginx book
 
百姓网如何优化网速-Qcon2011
百姓网如何优化网速-Qcon2011百姓网如何优化网速-Qcon2011
百姓网如何优化网速-Qcon2011
 
使用Rpm&yum进行基础软件管理
使用Rpm&yum进行基础软件管理使用Rpm&yum进行基础软件管理
使用Rpm&yum进行基础软件管理
 
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置
 
康盛创想项目部Linux 服务器部署标准(最新版)
康盛创想项目部Linux 服务器部署标准(最新版)康盛创想项目部Linux 服务器部署标准(最新版)
康盛创想项目部Linux 服务器部署标准(最新版)
 
构建ActionScript游戏服务器,支持超过15000并发连接
构建ActionScript游戏服务器,支持超过15000并发连接 构建ActionScript游戏服务器,支持超过15000并发连接
构建ActionScript游戏服务器,支持超过15000并发连接
 

Destaque

2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...
2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...
2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...Shay Rosen (שי רוזן)
 
Richard Hinshaw - Education Technology Powerpoint
Richard Hinshaw - Education Technology PowerpointRichard Hinshaw - Education Technology Powerpoint
Richard Hinshaw - Education Technology Powerpointguest5db8c8a
 
realcommerce - How to cross the Chasm go Mobile 2017
realcommerce - How to cross the Chasm go Mobile 2017 realcommerce - How to cross the Chasm go Mobile 2017
realcommerce - How to cross the Chasm go Mobile 2017 Shay Rosen (שי רוזן)
 

Destaque (20)

IDMP CEE Activity 5.1 by Pavol Bielek
IDMP CEE Activity 5.1 by Pavol BielekIDMP CEE Activity 5.1 by Pavol Bielek
IDMP CEE Activity 5.1 by Pavol Bielek
 
Haaa
HaaaHaaa
Haaa
 
IDMP CEE 2nd workshop: Follow up possibilities
IDMP CEE 2nd workshop: Follow up possibilitiesIDMP CEE 2nd workshop: Follow up possibilities
IDMP CEE 2nd workshop: Follow up possibilities
 
2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...
2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...
2010 Mobile Trends, Mobile Development Strategy, Mobile User Experience - Rea...
 
Regional Newsletter 2/2007
Regional Newsletter 2/2007Regional Newsletter 2/2007
Regional Newsletter 2/2007
 
Romanian version: Sustainable Sanitation in Central and Eastern Europe
Romanian version: Sustainable Sanitation in Central and Eastern EuropeRomanian version: Sustainable Sanitation in Central and Eastern Europe
Romanian version: Sustainable Sanitation in Central and Eastern Europe
 
IDMP CEE Communications by Gergana Majercakova
IDMP CEE Communications by Gergana MajercakovaIDMP CEE Communications by Gergana Majercakova
IDMP CEE Communications by Gergana Majercakova
 
Third IDMP CEE workshop: Guidelines for Drought Management Plans and National...
Third IDMP CEE workshop: Guidelines for Drought Management Plans and National...Third IDMP CEE workshop: Guidelines for Drought Management Plans and National...
Third IDMP CEE workshop: Guidelines for Drought Management Plans and National...
 
Chocolate
ChocolateChocolate
Chocolate
 
IDMP CEE Global context IDMP by Jose Camacho
IDMP CEE Global context IDMP by Jose CamachoIDMP CEE Global context IDMP by Jose Camacho
IDMP CEE Global context IDMP by Jose Camacho
 
Richard Hinshaw - Education Technology Powerpoint
Richard Hinshaw - Education Technology PowerpointRichard Hinshaw - Education Technology Powerpoint
Richard Hinshaw - Education Technology Powerpoint
 
Regional Newsletter 1-2/2009
Regional Newsletter 1-2/2009 Regional Newsletter 1-2/2009
Regional Newsletter 1-2/2009
 
The Planets
The PlanetsThe Planets
The Planets
 
realcommerce - How to cross the Chasm go Mobile 2017
realcommerce - How to cross the Chasm go Mobile 2017 realcommerce - How to cross the Chasm go Mobile 2017
realcommerce - How to cross the Chasm go Mobile 2017
 
2013 UX trends for .gov websites workshop
2013 UX trends for .gov websites workshop2013 UX trends for .gov websites workshop
2013 UX trends for .gov websites workshop
 
Third IDMP CEE workshop: Drought Information Exchange Platform by Gregor Greg...
Third IDMP CEE workshop: Drought Information Exchange Platform by Gregor Greg...Third IDMP CEE workshop: Drought Information Exchange Platform by Gregor Greg...
Third IDMP CEE workshop: Drought Information Exchange Platform by Gregor Greg...
 
SustSan workshop: Principles of Sustainable Sanitation by Tandiwe Erlmann
SustSan workshop: Principles of Sustainable Sanitation by Tandiwe ErlmannSustSan workshop: Principles of Sustainable Sanitation by Tandiwe Erlmann
SustSan workshop: Principles of Sustainable Sanitation by Tandiwe Erlmann
 
IDMP CEE 2nd workshop: Recent Achievements in Drought research by Henny A.J. ...
IDMP CEE 2nd workshop: Recent Achievements in Drought research by Henny A.J. ...IDMP CEE 2nd workshop: Recent Achievements in Drought research by Henny A.J. ...
IDMP CEE 2nd workshop: Recent Achievements in Drought research by Henny A.J. ...
 
9 fundraising mapping bokal
9 fundraising mapping bokal9 fundraising mapping bokal
9 fundraising mapping bokal
 
13 nswrm act. 5.3_potokar
13 nswrm act. 5.3_potokar13 nswrm act. 5.3_potokar
13 nswrm act. 5.3_potokar
 

Semelhante a 使用Nginx轻松实现开源负载均衡——对外版

高性能Web服务器Nginx及相关新技术的应用实践
高性能Web服务器Nginx及相关新技术的应用实践高性能Web服务器Nginx及相关新技术的应用实践
高性能Web服务器Nginx及相关新技术的应用实践self study
 
高性能Web服务器nginx及相关新技术的应用
高性能Web服务器nginx及相关新技术的应用高性能Web服务器nginx及相关新技术的应用
高性能Web服务器nginx及相关新技术的应用redhat9
 
Asp.net 5 新功能與變革
Asp.net 5 新功能與變革Asp.net 5 新功能與變革
Asp.net 5 新功能與變革Gelis Wu
 
Nagios的安装部署和与cacti的整合(linuxtone)
Nagios的安装部署和与cacti的整合(linuxtone)Nagios的安装部署和与cacti的整合(linuxtone)
Nagios的安装部署和与cacti的整合(linuxtone)Yiwei Ma
 
Hacking Nginx at Taobao
Hacking Nginx at TaobaoHacking Nginx at Taobao
Hacking Nginx at TaobaoJoshua Zhu
 
Apache trafficserver
Apache trafficserverApache trafficserver
Apache trafficserverDin Dindin
 
大型视频网站单点分析与可用性提升-Qcon2011
大型视频网站单点分析与可用性提升-Qcon2011大型视频网站单点分析与可用性提升-Qcon2011
大型视频网站单点分析与可用性提升-Qcon2011Yiwei Ma
 
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Jeff Chu
 
Nginx使用和模块开发
Nginx使用和模块开发Nginx使用和模块开发
Nginx使用和模块开发qingpiao1983
 
构建基于Lamp的中型网站架构
构建基于Lamp的中型网站架构构建基于Lamp的中型网站架构
构建基于Lamp的中型网站架构HonestQiao
 
Erlang游戏开发
Erlang游戏开发Erlang游戏开发
Erlang游戏开发litaocheng
 
X64服务器 lamp服务器部署标准 new
X64服务器 lamp服务器部署标准 newX64服务器 lamp服务器部署标准 new
X64服务器 lamp服务器部署标准 newYiwei Ma
 
ELK日志分析搭建过程文档
ELK日志分析搭建过程文档ELK日志分析搭建过程文档
ELK日志分析搭建过程文档果 果
 
Cent os 安装 subversion
Cent os 安装 subversionCent os 安装 subversion
Cent os 安装 subversionYUCHENG HU
 
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰Scourgen Hong
 
Beyond rails server
Beyond rails serverBeyond rails server
Beyond rails serverMichael Chen
 
Varnish简介
Varnish简介Varnish简介
Varnish简介fangdeng
 
Kick start无人值守批量安装linux
Kick start无人值守批量安装linuxKick start无人值守批量安装linux
Kick start无人值守批量安装linuxYiwei Ma
 

Semelhante a 使用Nginx轻松实现开源负载均衡——对外版 (20)

高性能Web服务器Nginx及相关新技术的应用实践
高性能Web服务器Nginx及相关新技术的应用实践高性能Web服务器Nginx及相关新技术的应用实践
高性能Web服务器Nginx及相关新技术的应用实践
 
高性能Web服务器nginx及相关新技术的应用
高性能Web服务器nginx及相关新技术的应用高性能Web服务器nginx及相关新技术的应用
高性能Web服务器nginx及相关新技术的应用
 
Asp.net 5 新功能與變革
Asp.net 5 新功能與變革Asp.net 5 新功能與變革
Asp.net 5 新功能與變革
 
1~60
1~601~60
1~60
 
Nagios的安装部署和与cacti的整合(linuxtone)
Nagios的安装部署和与cacti的整合(linuxtone)Nagios的安装部署和与cacti的整合(linuxtone)
Nagios的安装部署和与cacti的整合(linuxtone)
 
Hacking Nginx at Taobao
Hacking Nginx at TaobaoHacking Nginx at Taobao
Hacking Nginx at Taobao
 
Apache trafficserver
Apache trafficserverApache trafficserver
Apache trafficserver
 
大型视频网站单点分析与可用性提升-Qcon2011
大型视频网站单点分析与可用性提升-Qcon2011大型视频网站单点分析与可用性提升-Qcon2011
大型视频网站单点分析与可用性提升-Qcon2011
 
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
 
Nginx使用和模块开发
Nginx使用和模块开发Nginx使用和模块开发
Nginx使用和模块开发
 
构建基于Lamp的中型网站架构
构建基于Lamp的中型网站架构构建基于Lamp的中型网站架构
构建基于Lamp的中型网站架构
 
Erlang游戏开发
Erlang游戏开发Erlang游戏开发
Erlang游戏开发
 
X64服务器 lamp服务器部署标准 new
X64服务器 lamp服务器部署标准 newX64服务器 lamp服务器部署标准 new
X64服务器 lamp服务器部署标准 new
 
ELK日志分析搭建过程文档
ELK日志分析搭建过程文档ELK日志分析搭建过程文档
ELK日志分析搭建过程文档
 
Cent os 安装 subversion
Cent os 安装 subversionCent os 安装 subversion
Cent os 安装 subversion
 
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰
从林书豪到全明星 - 虎扑网技术架构如何化解流量高峰
 
Html5
Html5Html5
Html5
 
Beyond rails server
Beyond rails serverBeyond rails server
Beyond rails server
 
Varnish简介
Varnish简介Varnish简介
Varnish简介
 
Kick start无人值守批量安装linux
Kick start无人值守批量安装linuxKick start无人值守批量安装linux
Kick start无人值守批量安装linux
 

使用Nginx轻松实现开源负载均衡——对外版