转载请注明出处:http://blog.csdn.net/guodongxiaren/article/details/40950249 谢谢合作 前言 无论是CentOS,或是Debian/Ubuntu。甚至是Windows。Nginx都有已编译好的安装包可用。通常仅仅须要在终端上潇洒地输入apt- ...
分类:
其他好文 时间:
2017-04-10 22:20:27
阅读次数:
264
实验环境 实验用2到2台机器,实验所用机器系统环境如下,可以看到2台机器的主机名和IP地址 nginx自带的监控介绍 先学习下nginx自带的的状态监控 以下软件包是编译安装nginx需要的包 下载nginx稳定版并解压 新建一个用户www,用于以普通用户运行nginx ;配置,生成Makefile ...
分类:
其他好文 时间:
2017-04-07 23:41:13
阅读次数:
694
Nginx("enginex")是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/SMTP服务器。Nginx是由IgorSysoev为俄罗斯访问量第二的Rambler.ru站点开发的,第一个公开版本0.1.0发布于2004年10月4日。其将源代码以类BSD许可证的形式发布,因它的稳定性、丰富的功能集、示例配置文..
分类:
其他好文 时间:
2017-04-07 19:01:04
阅读次数:
224
禁用防火墙systemctldisablefirewalldsystemctlstopfirewalldsetenforce0安装pcre库yuminstallpcre*安装zlib库yuminstallzlib*增加nginx用户:useraddnginx-Gnginx编译安装nginx:./configure--prefix=/usr/local/nginx--error-log-path=/var/log/nginx/error.log--http-log-pa..
分类:
其他好文 时间:
2017-04-04 01:16:37
阅读次数:
110
nginx编译安装 =========================================== Nginx官网:http://nginx.org/ Nginx官网下载地址(选择 Stable version 稳定版):http://nginx.org/en/download.html 官... ...
分类:
其他好文 时间:
2017-03-29 10:27:28
阅读次数:
137
安装pcre库
[root@lnmp01~]#rpm-qapcrepcre-devel
[root@lnmp01~]#yuminstall-yopensslopenssl-devel
[root@lnmp01~]#rpm-qapcrepcre-devel
pcre-devel-7.8-7.el6.x86_64
pcre-7.8-7.el6.x86_64
编译安装nginx-1.6.3
[root@lnmp01~]#rpm-qanginx
[root@lnmp01~]#mkdir/home..
分类:
Web程序 时间:
2017-03-28 11:32:18
阅读次数:
278
Nginx安装很简单,如下:#wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repo
#mkdir/software
#cd/software/
#wgethttp://nginx.org/download/nginx-1.10.3.tar.gz
#tarzxvfnginx-1.10.3.tar.gz
#cdnginx-1.10.3
#mkdir/usr/local/nginx..
分类:
其他好文 时间:
2017-03-24 16:14:26
阅读次数:
131
编译安装nginx-1.6.3一、安装pcre库yum-yinstallpcrepcre-devel二、安装opensslyum-yinstallopensslopenssl-develgccpcrepcre-devel三、编译安装nginx1、创建目录/server/tools/mkdir-p/server/tools2、在nginx官网上下载nginx-1.6.3压缩包cd/server/toolswget-qhttp://nginx.o..
分类:
其他好文 时间:
2017-03-23 15:19:40
阅读次数:
127
一、环境准备1、系统和内内核版本[root@linux-node1~]#cat/etc/redhat-release
CentOSrelease6.8(Final)
[root@linux-node1~]#uname-r
2.6.32-642.el6.x86_642、主机名称和IP地址[root@linux-node1~]#hostname
linux-node1.ourplm.com
[root@linux-node1~]#hostname-I
192.168...
分类:
其他好文 时间:
2017-03-13 16:40:45
阅读次数:
222
如果CentOS服务器处在内网环境中时,如果缺少依赖手动安装那么会非常麻烦,要花费很多时间来寻找rpm包,现在如果搭建本地的yum源,就非常方便了,如果搭建http的,那么局域网内其他服务器就都可以使用了,使用yum源首先需要一个CentOS安装镜像,这里是:CentOS-7-x86_64-DVD- ...
分类:
其他好文 时间:
2017-03-07 10:45:16
阅读次数:
208