zoukankan      html  css  js  c++  java
  • CentOs yum源安装 nginx

    1 更新源
    [root@server ~]#rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    2 查看yum的nginx信息
    [root@server ~]# yum info nginx
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.yongbok.net
     * base: mirror.yongbok.net
     * contrib: mirror.yongbok.net
     * epel: mirrors.sohu.com
     * extras: mirror.yongbok.net
     * updates: centosk3.centos.org
    epel                                                     | 3.7 kB     00:00
    epel/primary_db                                          | 3.0 MB     00:12
    Available Packages
    Name       : nginx
    Arch       : i386
    Version    : 0.8.54
    Release    : 1.el5
    Size       : 390 k
    Repo       : epel
    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 安装并启动nignx
    [root@server ~]# yun install nignx
    [root@server ~]# /etc/init.d/nginx start
    Starting nginx:  
  • 相关阅读:
    ICPC-Beijing 2006 狼抓兔子
    【模板】多项式求逆
    AHOI2014/JSOI2014 奇怪的计算器
    Hnoi2013 切糕
    Ahoi2014&Jsoi2014 支线剧情
    bzoj3774 最优选择
    WC2019游记
    HNOI2007 分裂游戏
    bzoj1457 棋盘游戏
    poj2484 A Funny Game
  • 原文地址:https://www.cnblogs.com/tonykan/p/3513535.html
Copyright © 2011-2022 走看看