博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CentOS 6.6 nginx install
阅读量:7055 次
发布时间:2019-06-28

本文共 3278 字,大约阅读时间需要 10 分钟。

/************************************************************************* *                    CentOS 6.6 nginx install  * 说明: *     在VPS上安装nginx,以供有些时候无聊使用。 *  *                                     2016-11-26 深圳 南山平山村 曾剑锋 ************************************************************************/一、参考文档:    Centos6 下的 nginx 安装          http://blog.163.com/liwei1987821@126/blog/static/17266492820121119111120164/二、安装nginx:    1. 错误:        [root@localhost ~]# yum install nginx        Loaded plugins: fastestmirror        Setting up Install Process        Loading mirror speeds from cached hostfile         * base: mirrors.usc.edu         * extras: mirror.scalabledns.com         * updates: mirror.hostduplex.com        No package nginx available.        Error: Nothing to do    2. 解决办法:        wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm        rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm     3. 安装:        [root@localhost ~]# yum install nginx        Loaded plugins: fastestmirror        Setting up Install Process        Loading mirror speeds from cached hostfile         * base: mirrors.usc.edu         * extras: mirror.scalabledns.com         * updates: mirror.hostduplex.com        nginx                                                    | 2.9 kB     00:00             nginx/primary_db                                         |  19 kB     00:00             Resolving Dependencies        --> Running transaction check        ---> Package nginx.i386 0:1.10.2-1.el6.ngx will be installed        --> Finished Dependency Resolution        Dependencies Resolved        ================================================================================         Package        Arch          Version                      Repository      Size        ================================================================================        Installing:         nginx          i386          1.10.2-1.el6.ngx             nginx          844 k        Transaction Summary        ================================================================================        Install       1 Package(s)        Total download size: 844 k        Installed size: 2.0 M        Is this ok [y/N]: y        Downloading Packages:        nginx-1.10.2-1.el6.ngx.i386.rpm                          | 844 kB     00:01             Running rpm_check_debug        Running Transaction Test        Transaction Test Succeeded        Running Transaction        Warning: RPMDB altered outside of yum.          Installing : nginx-1.10.2-1.el6.ngx.i386                                  1/1         ----------------------------------------------------------------------        Thanks for using nginx!        Please find the official documentation for nginx here:        * http://nginx.org/en/docs/        Commercial subscriptions for nginx are available on:        * http://nginx.com/products/        ----------------------------------------------------------------------          Verifying  : nginx-1.10.2-1.el6.ngx.i386                                  1/1         Installed:          nginx.i386 0:1.10.2-1.el6.ngx                                                         Complete!        [root@localhost ~]#

 

转载于:https://www.cnblogs.com/zengjfgit/p/6103694.html

你可能感兴趣的文章
函数栈帧(用汇编来剖析)
查看>>
C++中const用法总结(转)
查看>>
给Windows 2003文件夹设置权限
查看>>
Android x86+ADT
查看>>
算法53----换钱的最小次数和方法数【动态规划】
查看>>
Python爬虫1-----urllib模块
查看>>
深入理解Java虚拟机(七)字节码执行引擎(栈帧、动态连接、方法调用)
查看>>
<input>标签中获得鼠标与否的样式变化——js实现
查看>>
Percona XtraDB Cluster 的一些使用限制(PXC 5.7)
查看>>
mysql 源代码目录及安装目录介绍
查看>>
iOS下使用SHA1WithRSA算法加签源码
查看>>
要是喜欢刷题或者练技术,可以看看这些书
查看>>
凌晨的纠结
查看>>
iOS-加载数据的实现-MJRefresh
查看>>
Project Euler Problem 34 Digit factorials
查看>>
POJ NOI MATH-7648 蓄水池水管问题
查看>>
HDU2072 单词数(解法二)
查看>>
js 分页
查看>>
高性能网站架构的思考 (转)
查看>>
圆形背景的TextView
查看>>