一、环境系统:CentOS6.4x64位最小化安装nginx-m:192.168.3.23nginx-s:192.168.3.24vip:192.168.3.25二、安装nginx在nginx-m和nginx-s安装nginx,这里使用脚本安装,脚本内容如下#!/bin/bash
cur_dir=$(pwd)
NGINXVERSION=‘nginx-1.6.0‘
exportLANG=zh_CN.UTF-8
#Sourcefuncti..
分类:
其他好文 时间:
2015-06-01 20:37:06
阅读次数:
190
准备工作1(google perftools依赖包的安装):
下载libunwind库源码包:
http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99-beta.tar.gz
解压:
tar zxvf libunwind-0.99-beta.tar.gz
cd libunwind-0.99-be...
分类:
其他好文 时间:
2015-06-01 16:55:51
阅读次数:
468
一、Nginx安装下载nginx源安装包http://nginx.org/en/linux_packages.html找到对应Linux版本的连接,这里选CentOS6,右击复制链接地址”http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm”在linux下下载nginx源的rpm包并安装wgetht..
分类:
其他好文 时间:
2015-06-01 14:50:56
阅读次数:
253
1. nginx的安装
nginx安装
wget https://github.com/nginx/nginx/archive/v1.7.11.zip
unzip nginx-1.7.7.zip
./configure --prefix=NGINX_INSTALL_PATH
make
make -f objs/Makefile install
nginx直接在objs下生成Makefil...
分类:
Web程序 时间:
2015-05-30 14:59:04
阅读次数:
123
一、nginx安装我使用的环境是64位 Ubuntu 14.04。nginx依赖以下模块:l gzip模块需要 zlib 库l rewrite模块需要 pcre 库l ssl 功能需要openssl库1.1.安装pcrel 获取pcre编译安装包,在http://www.pcre.org/上可以获取...
分类:
其他好文 时间:
2015-05-30 10:39:01
阅读次数:
183
安装环境:centos6.564位nginx版本:nginx-1.4.7一、安装安装必要软件pcre和openssl为了支持rewrite功能,我们需要安装pcretarzxvfpcre-8.31.tar.gzcdpcre-8.31./configure&&make&&makeinstall为了ssl支持,需要安装opensslyum-yinstallopenssl*2.安装nginx解..
分类:
其他好文 时间:
2015-05-26 19:11:26
阅读次数:
138
原已经安装好的nginx,现在需要添加一个未被编译安装的模块举例说明:安装第三方的ngx_cache_purge模块(用于清除指定URL的缓存)nginx的模块是需要重新编译nginx,而不是像apache一样配置文件引用.so1.wget http://labs.frickle.com/files...
分类:
其他好文 时间:
2015-05-24 01:14:13
阅读次数:
206
jeecg 服务器 + linux + nginx 安装...
分类:
系统相关 时间:
2015-05-23 22:47:57
阅读次数:
174
一、有的服务器上没有安装pcre那么安装nginx的时候会报错所以在安装之前我们可以:yum install pcre-devel如果很不巧,服务器也没有配yum,也不能连互联网。那么我们只能自己去官网下载了ftp://ftp.csx.cam.ac.uk/pub/software/programmi...
分类:
其他好文 时间:
2015-05-22 20:58:19
阅读次数:
181
1、查看系统是否已经安装$whichnginx
$whichphp
$whichmysql2、安装nginx#查看yum源是否有nginx
$yumlistnginx#CentOSyum源不提供nginx安装,访问wiki.nginx.org/Install查找解决方案
#如果不存在,新建一个文件添加以下内容
$vim/etc/yum.repos.d/nginx.repo
[nginx]
name=ngi..
分类:
其他好文 时间:
2015-05-18 21:09:09
阅读次数:
198