SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
Nginx

                                  Web
                          2011.11.11




Friday, November 11, 11
who

                          qphoney

                          @iara




                          qpstudy



Friday, November 11, 11
Friday, November 11, 11
source

Friday, November 11, 11
gcc,pcre,zlib,OpenSSL
               (windows   )

Friday, November 11, 11
sourcecode


                               1.0.7

Friday, November 11, 11
$ cd ~/src
  % wget http://nginx.org/download/nginx-1.0.7.tar.gz
  % wget http://nginx.org/download/nginx-1.0.7.tar.gz.asc
  % gpg nginx-1.0.7.tar.gz.asc
  gpg: 2011 10 01 00 38 24 JST DSA ID A524C53E


  gpg:                    :




Friday, November 11, 11
% gpg --keyserver pgpkeys.mit.edu --recv-key A524C53E
  % gpg --verify nginx-1.0.7.tar.gz.asc nginx-1.0.7.tar.gz




Friday, November 11, 11
% tar zxf nginx-1.0.7.tar.gz
    % cd nginx-1.0.7
    % ls -l
    CHANGES CHANGES.ru LICENSE README auto conf
    configure contrib html man src




Friday, November 11, 11
% ./configure
   % make && sudo make install




Friday, November 11, 11
/usr/local/nginx/



Friday, November 11, 11
% /usr/local/nginx/sbin/nginx -v
 nginx: nginx version: nginx/1.0.7




Friday, November 11, 11
% export NGINX_HOME=/usr/local/nginx
   % ls -l $NGINX_HOME
        24
   drwxr-xr-x 6 root root 4096 11    10 17:40 .
   drwxr-xr-x 13 root root 4096 11   10 17:40 ..
   drwxr-xr-x 2 root root 4096 11    10 17:40 conf ←
   drwxr-xr-x 2 root root 4096 11    10 17:40 html ← DocRoot
   drwxr-xr-x 2 root root 4096 11    10 17:40 logs ←
   drwxr-xr-x 2 root root 4096 11    10 17:40 sbin ←




Friday, November 11, 11
Friday, November 11, 11
sourcecode




Friday, November 11, 11
% cd $NGINX_HOME/sbin/
    % ls -l
    -rwxr-xr-x 1 root root 857849 11   10 17:40 nginx




Friday, November 11, 11
% sudo vi $NGINX_HOME/conf/nginx.conf
      35 server {
      36      listen   8080;
      37      server_name localhost;




Friday, November 11, 11
% wget http://nginx.org/download/nginx-1.0.8.tar.gz
    % wget http://nginx.org/download/nginx-1.0.8.tar.gz.asc
    % gpg --verify nginx-1.0.8.tar.gz.asc nginx-1.0.8.tar.gz
    gpg: 2011 10 01 15 05 34 JST DSA ID A524C53E


    gpg: “Igor Sysoev <igor@sysoev.ru>”




Friday, November 11, 11
% tar zxf nginx-1.0.8.tar.gz
   % cd nginx-1.0.8
   % ./configure
   % make && sudo make install




Friday, November 11, 11
% cd $NGINX_HOME/sbin/
   % ls -l
   -rwxr-xr-x 1 root root 857849 11   10 18:08 nginx
   -rwxr-xr-x 1 root root 857849 11   10 17:40 nginx.old




Friday, November 11, 11
conf




Friday, November 11, 11
2
Friday, November 11, 11
yum

Friday, November 11, 11
% sudo vi /etc/yum.repos.d/nginx.repo
    1 [nginx]
    2 name=nginx repo
    3 baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
    4 gpgcheck=0
    5 enabled=1

 % sudo yum install nginx




Friday, November 11, 11
% sudo vi /etc/yum.repos.d/nginx.repo
    1 [nginx]
    2 name=nginx repo
    3 baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
    4 gpgcheck=0
    5 enabled=1

 % sudo yum install nginx




Friday, November 11, 11
3
Friday, November 11, 11
Friday, November 11, 11
Thanks!!

Friday, November 11, 11
Friday, November 11, 11

Contenu connexe

Tendances

Безопасность интернет-приложений осень 2013 лекция 7
Безопасность интернет-приложений осень 2013 лекция 7Безопасность интернет-приложений осень 2013 лекция 7
Безопасность интернет-приложений осень 2013 лекция 7
Technopark
 
Nginx وب سروری برای تمام فصول
Nginx وب سروری برای تمام فصولNginx وب سروری برای تمام فصول
Nginx وب سروری برای تمام فصول
efazati
 
Pound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de CargaPound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de Carga
gsroma
 

Tendances (20)

NSClient Workshop: 04 Protocols
NSClient Workshop: 04 ProtocolsNSClient Workshop: 04 Protocols
NSClient Workshop: 04 Protocols
 
Helpful pre commit hooks for Python and Django
Helpful pre commit hooks for Python and DjangoHelpful pre commit hooks for Python and Django
Helpful pre commit hooks for Python and Django
 
My journey from PHP to Node.js
My journey from PHP to Node.jsMy journey from PHP to Node.js
My journey from PHP to Node.js
 
Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0
Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0
Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0
 
Безопасность интернет-приложений осень 2013 лекция 7
Безопасность интернет-приложений осень 2013 лекция 7Безопасность интернет-приложений осень 2013 лекция 7
Безопасность интернет-приложений осень 2013 лекция 7
 
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22
 
Ansible ssh y comandos ad-hoc
Ansible ssh y comandos ad-hocAnsible ssh y comandos ad-hoc
Ansible ssh y comandos ad-hoc
 
Nginx2
Nginx2Nginx2
Nginx2
 
Nginx وب سروری برای تمام فصول
Nginx وب سروری برای تمام فصولNginx وب سروری برای تمام فصول
Nginx وب سروری برای تمام فصول
 
Pound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de CargaPound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de Carga
 
Docker SDN (software-defined-networking) JUG
Docker SDN (software-defined-networking) JUGDocker SDN (software-defined-networking) JUG
Docker SDN (software-defined-networking) JUG
 
Nmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumerationNmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumeration
 
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq HanayshaNessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
 
3 manual installation of open vpn
3 manual installation of open vpn3 manual installation of open vpn
3 manual installation of open vpn
 
Application Logging With Logstash
Application Logging With LogstashApplication Logging With Logstash
Application Logging With Logstash
 
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
 
Migrating a large code-base to containers by Doug Johnson and Jonathan Lozins...
Migrating a large code-base to containers by Doug Johnson and Jonathan Lozins...Migrating a large code-base to containers by Doug Johnson and Jonathan Lozins...
Migrating a large code-base to containers by Doug Johnson and Jonathan Lozins...
 
Steam Learn: Composer
Steam Learn: ComposerSteam Learn: Composer
Steam Learn: Composer
 
Docker remote-api
Docker remote-apiDocker remote-api
Docker remote-api
 
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitchBuilding a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
 

En vedette (8)

お悩みLT
お悩みLTお悩みLT
お悩みLT
 
qpstudy02
qpstudy02qpstudy02
qpstudy02
 
都市地區機車管制策略之研究
都市地區機車管制策略之研究都市地區機車管制策略之研究
都市地區機車管制策略之研究
 
60人くらいが参加する勉強会を支える技術
60人くらいが参加する勉強会を支える技術60人くらいが参加する勉強会を支える技術
60人くらいが参加する勉強会を支える技術
 
Sfstudy02 team UKETSUKE
Sfstudy02 team UKETSUKESfstudy02 team UKETSUKE
Sfstudy02 team UKETSUKE
 
Jaws festa-tohoku-zunda cdp
Jaws festa-tohoku-zunda cdpJaws festa-tohoku-zunda cdp
Jaws festa-tohoku-zunda cdp
 
LT入門
LT入門LT入門
LT入門
 
Jaws三都物語 storage gateway
Jaws三都物語 storage gatewayJaws三都物語 storage gateway
Jaws三都物語 storage gateway
 

Similaire à nginxをソースからインストールしてみたよ

EF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdfEF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdf
DangGonz
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APT
Joshua Thijssen
 
fastcgi_conf and mime_types
fastcgi_conf and mime_typesfastcgi_conf and mime_types
fastcgi_conf and mime_types
Naoya Nakazawa
 
Vinted life embetterment
Vinted life embettermentVinted life embetterment
Vinted life embetterment
Agile Lietuva
 
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
 

Similaire à nginxをソースからインストールしてみたよ (20)

EF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdfEF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdf
 
Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansible
 
The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)
 
wordpress with nginx on virtualization, jail
wordpress with nginx on virtualization, jailwordpress with nginx on virtualization, jail
wordpress with nginx on virtualization, jail
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APT
 
stackconf 2020 | Speeding up Linux disk encryption by Ignat Korchagin
stackconf 2020 | Speeding up Linux disk encryption by Ignat Korchaginstackconf 2020 | Speeding up Linux disk encryption by Ignat Korchagin
stackconf 2020 | Speeding up Linux disk encryption by Ignat Korchagin
 
Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點
 
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
 
fastcgi_conf and mime_types
fastcgi_conf and mime_typesfastcgi_conf and mime_types
fastcgi_conf and mime_types
 
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
 
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
 
Tutorial to make sure of nginx files starterpack.
Tutorial to make sure of nginx files starterpack.Tutorial to make sure of nginx files starterpack.
Tutorial to make sure of nginx files starterpack.
 
Einführung in Node.js
Einführung in Node.jsEinführung in Node.js
Einführung in Node.js
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana
 
Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]
 
Vinted life embetterment
Vinted life embettermentVinted life embetterment
Vinted life embetterment
 
ZFS Talk Part 1
ZFS Talk Part 1ZFS Talk Part 1
ZFS Talk Part 1
 
Hands-On Session Docker
Hands-On Session DockerHands-On Session Docker
Hands-On Session Docker
 
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
 

Plus de mamoru tateoka (15)

Jaws festa2016 cloudwatch
Jaws festa2016 cloudwatchJaws festa2016 cloudwatch
Jaws festa2016 cloudwatch
 
2014.10.24 社内
2014.10.24 社内2014.10.24 社内
2014.10.24 社内
 
Vyatta導入事例 Vyatta Users Meeting 2014 spring
Vyatta導入事例 Vyatta Users Meeting 2014 springVyatta導入事例 Vyatta Users Meeting 2014 spring
Vyatta導入事例 Vyatta Users Meeting 2014 spring
 
ラピュタで学ぶAWS re:Generate JAWS-UG札幌
ラピュタで学ぶAWS re:Generate JAWS-UG札幌ラピュタで学ぶAWS re:Generate JAWS-UG札幌
ラピュタで学ぶAWS re:Generate JAWS-UG札幌
 
Enterprize aws
Enterprize awsEnterprize aws
Enterprize aws
 
EBS-1 Grand Prix
EBS-1 Grand PrixEBS-1 Grand Prix
EBS-1 Grand Prix
 
Cloudpack night03
Cloudpack night03Cloudpack night03
Cloudpack night03
 
qpstudy 09
qpstudy 09qpstudy 09
qpstudy 09
 
bphbqp2012
bphbqp2012bphbqp2012
bphbqp2012
 
Bpstudy50
Bpstudy50Bpstudy50
Bpstudy50
 
Table1
Table1Table1
Table1
 
Devlove hangar talks01
Devlove hangar talks01Devlove hangar talks01
Devlove hangar talks01
 
qpstudy04 LT
qpstudy04 LTqpstudy04 LT
qpstudy04 LT
 
qpstudy01
qpstudy01qpstudy01
qpstudy01
 
IT勉強会の勉強会資料1
IT勉強会の勉強会資料1IT勉強会の勉強会資料1
IT勉強会の勉強会資料1
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

nginxをソースからインストールしてみたよ