yum 설치 nginx 상세 설명

1544 단어 nginxyum
1. yum 의 nginx 정보 보기
# yum info nginx
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.yun-idc.com
Excluding Packages in global exclude list
Finished
Installed Packages
Name       : nginx
Arch       : x86_64
Version    : 0.8.55
Release    : 6.el5
Size       : 984 k
Repo       : installed
Summary    : Robust, small and high performance HTTP and reverse proxy server
URL        : http://nginx.net/
License    : BSD
Description: Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
           : proxy server written by Igor Sysoev.

2. 버 전 을 바 꾸 려 면 먼저 마 운 트 해제
# yum remove nginx

3. nginx 설치 및 시작
# yum install nginx
# service nginx start

4. 브 라 우 저 접근
http://192.168.0.168/
결 과 를 되 돌려 주 는 것 은 다음 과 같다.
Welcome to nginx on EPEL!
This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.

Website Administrator
This is the default index.html page that is distributed with nginx on EPEL. It is located in /usr/share/nginx/html.

You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.

[ Powered by nginx ]  [ Powered by Fedora EPEL ]

좋은 웹페이지 즐겨찾기