zoukankan      html  css  js  c++  java
  • nginx

    1.查看yum的nginx信息

    1. # yum info nginx  
    [plain] view plain copy 在CODE上查看代码片派生到我的代码片
    1. Loaded plugins: fastestmirror  
    2. Loading mirror speeds from cached hostfile  
    3.  * epel: mirrors.yun-idc.com  
    4. Excluding Packages in global exclude list  
    5. Finished  
    6. Installed Packages  
    7. Name       : nginx  
    8. Arch       : x86_64  
    9. Version    : 0.8.55  
    10. Release    : 6.el5  
    11. Size       : 984 k  
    12. Repo       : installed  
    13. Summary    : Robust, small and high performance HTTP and reverse proxy server  
    14. URL        : http://nginx.net/  
    15. License    : BSD  
    16. Description: Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3  
    17.            : proxy server written by Igor Sysoev.  



    2.如果需要更换版本,先卸载

    [plain] view plain copy 在CODE上查看代码片派生到我的代码片
    1. # yum remove nginx  


    3.安装并启动nginx

    [plain] view plain copy 在CODE上查看代码片派生到我的代码片
    1. # yum install nginx  
    2. # service nginx start  


    4.浏览器访问

    http://192.168.0.168/

    返回结果如下表示成功

    [plain] view plain copy 在CODE上查看代码片派生到我的代码片
      1. Welcome to nginx on EPEL!  
      2. 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.  
      3.   
      4. Website Administrator  
      5. This is the default index.html page that is distributed with nginx on EPEL. It is located in /usr/share/nginx/html.  
      6.   
      7. 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.  
      8.   
      9. [ Powered by nginx ]  [ Powered by Fedora EPEL ] 
  • 相关阅读:
    UE如何区分PDSCH中传输的DCCH和DTCH呢?
    LTE RLC 子层
    LTE的两篇微文
    TD-LTE中S1接口不支持的功能有哪些
    LTE系统消息SIB
    【转载】LTE – TTI Bundling技术
    关于lte上行闭环功控,下面哪个信道不能进行闭环功控
    lte每个小区有多少个可用的随机接入前导码
    LTE的物理小区标识(PCI)
    (转)MVC一个页面多个submit
  • 原文地址:https://www.cnblogs.com/zhangym/p/5833358.html
Copyright © 2011-2022 走看看