SlideShare a Scribd company logo
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

More Related Content

ODP
Linuxday.at - Lightning Talk
PDF
From zero to hero - Easy log centralization with Logstash and Elasticsearch
PDF
Eduardo Silva - monkey http-server everywhere
PDF
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
PDF
T.Pollak y C.Yaconi - Prey
PPTX
Laravel Day / Deploy
PDF
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
PPTX
Socket programming with php
Linuxday.at - Lightning Talk
From zero to hero - Easy log centralization with Logstash and Elasticsearch
Eduardo Silva - monkey http-server everywhere
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
T.Pollak y C.Yaconi - Prey
Laravel Day / Deploy
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Socket programming with php

What's hot (20)

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

Viewers also liked (8)

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

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

PDF
Nginx Scripting - Extending Nginx Functionalities with Lua
PDF
Devinsampa nginx-scripting
PDF
NGINX ADC: Basics and Best Practices
PDF
NGINX ADC: Basics and Best Practices – EMEA
PPTX
NGINX: Basics & Best Practices - EMEA Broadcast
PDF
fastcgi_conf and mime_types
PPTX
2019 Chef InSpec Jumpstart Part 2 of 2
PPTX
NGINX Basics: Ask Me Anything – EMEA
PDF
PDF
Nginx维护手册
PDF
livedoor blogのsorryサーバの話 #study2study
PDF
NGINX: Basics and Best Practices EMEA
PPTX
NGINX: Basics and Best Practices
PDF
Getting started with Ansible
PDF
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
PPTX
NGINX 101 - now with more Docker
PPTX
NGINX 101 - now with more Docker
PPTX
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
PDF
NGINX Unit: Rebooting our Universal Web App Server
PPTX
NGINX Installation and Tuning
Nginx Scripting - Extending Nginx Functionalities with Lua
Devinsampa nginx-scripting
NGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best Practices – EMEA
NGINX: Basics & Best Practices - EMEA Broadcast
fastcgi_conf and mime_types
2019 Chef InSpec Jumpstart Part 2 of 2
NGINX Basics: Ask Me Anything – EMEA
Nginx维护手册
livedoor blogのsorryサーバの話 #study2study
NGINX: Basics and Best Practices EMEA
NGINX: Basics and Best Practices
Getting started with Ansible
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
NGINX 101 - now with more Docker
NGINX 101 - now with more Docker
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
NGINX Unit: Rebooting our Universal Web App Server
NGINX Installation and Tuning

More from mamoru tateoka (15)

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

Recently uploaded (20)

PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PPTX
TLE Review Electricity (Electricity).pptx
PDF
August Patch Tuesday
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Machine Learning_overview_presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Getting Started with Data Integration: FME Form 101
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
TLE Review Electricity (Electricity).pptx
August Patch Tuesday
cloud_computing_Infrastucture_as_cloud_p
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
Machine Learning_overview_presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
SOPHOS-XG Firewall Administrator PPT.pptx
Encapsulation theory and applications.pdf
1. Introduction to Computer Programming.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf

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