"Nginx"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 |
잔글 |
||
11번째 줄: | 11번째 줄: | ||
== CentOS 6.5에서 설치 == | == CentOS 6.5에서 설치 == | ||
− | |||
− | |||
'''<span style="color:#0000FF;"><span style="font-size:larger;">Nginx 저장소 생성</span></span>''' | '''<span style="color:#0000FF;"><span style="font-size:larger;">Nginx 저장소 생성</span></span>''' | ||
18번째 줄: | 16번째 줄: | ||
vi /etc/yum.repos.d/nginx.repo | vi /etc/yum.repos.d/nginx.repo | ||
− | {| | + | {| cellspacing="1" cellpadding="1" style="width: 100%;" |
− | + | |- | |
− | + | | style="background-color: rgb(241, 241, 241);" | [nginx]<br/>name=nginx repo<br/>baseurl=http://nginx.org/packages/centos/$releasever/$basearch/<br/>gpgcheck=0<br/>enabled=1<br/> | |
− | | | ||
|} | |} | ||
30번째 줄: | 27번째 줄: | ||
{| class="crayon-table" style="margin-left: 0px; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 14px; line-height: 15px; vertical-align: baseline; text-align: center; color: rgb(102, 102, 102); border: none !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; padding: 0px !important; border-collapse: collapse !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(253, 253, 253); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" | {| class="crayon-table" style="margin-left: 0px; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 14px; line-height: 15px; vertical-align: baseline; text-align: center; color: rgb(102, 102, 102); border: none !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; padding: 0px !important; border-collapse: collapse !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-color: rgb(253, 253, 253); background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" | ||
|- class="crayon-row alt" style="font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background: rgb(241, 241, 241);" | |- class="crayon-row alt" style="font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background: rgb(241, 241, 241);" | ||
− | | class="crayon-nums" data-settings="show" style="border: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: top !important; color: rgb(84, 153, 222) !important; background: rgb(223, 239, 255) !important;" | <div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; vertical-align: baseline; text-align: left; white-space: nowrap; font-size: 12px !important; background: 0px 50%;"><div class="crayon-num" data-line="crayon-5419e087c5856957844557-1" style="margin: 0px; padding: 0px 5px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; vertical-align: baseline; text-align: center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; background: 0px 50%;"> | + | | class="crayon-nums" data-settings="show" style="border: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: top !important; color: rgb(84, 153, 222) !important; background: rgb(223, 239, 255) !important;" | <div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; vertical-align: baseline; text-align: left; white-space: nowrap; font-size: 12px !important; background: 0px 50%;"><div class="crayon-num" data-line="crayon-5419e087c5856957844557-1" style="margin: 0px; padding: 0px 5px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; vertical-align: baseline; text-align: center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; background: 0px 50%;"></div></div> |
− | |||
|} | |} | ||
</div> | </div> | ||
+ | {| cellspacing="1" cellpadding="1" style="line-height: 20.7999992370605px; width: 771px;" | ||
+ | |- | ||
+ | | style="background-color: rgb(241, 241, 241);" | | ||
+ | yum install nginx | ||
+ | mkdir -p /etc/nginx/sites-enabled | ||
+ | service nginx start | ||
+ | |} | ||
− | ppp | + | <br/>ppp |
==참고 문헌== | ==참고 문헌== |
2014년 9월 18일 (목) 14:18 판
비동기 이벤트 기반의 Web Server인 nginx를 정리 합니다.
- 홈페이지 : http://www.nginx.net/
- 다운로드 :
- 라이선스 :
- 플랫폼 : C
nginx 개요
CentOS 6.5에서 설치
Nginx 저장소 생성
vi /etc/yum.repos.d/nginx.repo
[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 |
Nginx 설치
yum install nginx mkdir -p /etc/nginx/sites-enabled service nginx start |
ppp