紧接上篇? 6,安装nginx 1)安装 Nginx的rewrite模块支持包pcre库 tar zxvf pcre-8.36.tar.gz cd pcre-8.36/ ./configure make && make install cd ../ ln -s /lib64/libpcre.so.0.0.1 /lib64/libpcre.so.1 2)安...
分类:
其他好文 时间:
2015-08-01 23:42:23
阅读次数:
354
Lnmp环境搭建1、检查并安装组件1yum -yinstallgccautomake autoconf libtoolmakegcc-c++ glibc2、安装库12345yum -yinstalllibxslt-devel \libjpeg libjpeg-devel libpng libpng-...
分类:
其他好文 时间:
2015-08-01 20:29:40
阅读次数:
135
配置lnmp环境的时候,有时候nginx启动会出错,原因也不好查找,不如完全卸载,然后重装一下:
下面列出了完全卸载需要的步骤:
sudo apt-get --purge remove nginx
sudo apt-get autoremove
dpkg --get-selections|grep nginx
罗列出与nginx相关的软件, nginx-common de...
分类:
其他好文 时间:
2015-08-01 14:20:49
阅读次数:
206
1.Apache DSO(Dynamic Shared Object)(1) 查看已编译模块:[root@kallen ~]# httpd -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module...
分类:
Web程序 时间:
2015-08-01 01:06:37
阅读次数:
219
热门推荐
LNMP环境搭建——Nginx篇
在RHEL6.5中配置本地YUM源
Ubuntu下Zabbix安装及使用问题
MySQL双主热备问题处理
Rsync同步错误处理
Fix Elementary Boot Screen (plymouth) After Installing Nvidia Drivers
LNMP环境搭建——MySQL篇
Shel...
分类:
其他好文 时间:
2015-08-01 01:06:27
阅读次数:
126
课程大纲:1.下载discuz!mkdir/date/wwwcd/data/wwwwgethttp://download.comsenz.com/DiscuzX/3.0/Discuz_X3.0_SC_UTF8.zipunzipDiscuz_X3.0_SC_UTF8.zipmvupload/*.2.配置php-fpm>/usr/local/php/etc/php-fpm.conf//“>”这个符号为重定向的意思,单独用它,可以把一个..
分类:
Web程序 时间:
2015-07-31 18:43:32
阅读次数:
168
查看是否已经安装rpm -qa | grep nginx删除安装#普通删除模式rpm -e nginx#强力删除模式,如果使用上面命令删除时,提示有依赖的其它文件,则用该命令可以对其进行强力删除rpm -e --nodeps nginx查看端口是否被占用netstat -ano|grep 80目录#...
分类:
其他好文 时间:
2015-07-30 18:59:50
阅读次数:
132
LAMP介绍及安装1. LAMP是什么?LAMP,包含Linux + Apache + PHP + Mysql。LAMP适用环境适用于追求极致稳定的WEB环境,缺点是需要消耗更多资源。除了LAMP之外,大家应该也经常听到LNMP,不同之处就是Apache换成了Nginx。Apache的工作模式默认采...
分类:
其他好文 时间:
2015-07-30 09:26:36
阅读次数:
195
Mediawiki和Confluence都是wiki,Mediawiki是开源免费的,而Confluence是收费的。一、MediawikiMediawiki是需要基于lamp或者lnmp的环境,所以要安装前必须要安装LAMP/LNMP环境,这里全部是在Centos6.5下安装使用的。1.下载Mediawiki解压到apache/nginx的文件目录下。2.lamp/lnm..
分类:
其他好文 时间:
2015-07-29 19:50:44
阅读次数:
113
客户端访问http://bbs.upl.com-->解析到nginx_proxy172.16.2.8nginx_proxy作为反向代理,实现动静分离:如果是已知的静态页面请求:调度给squid图片,文本.txt,.html,.htm,客户端代码文件.js,.css其他未知的请求(包括php)调度给lnmp节点nginx_proxy使用宿主机br0172.16.2..
分类:
其他好文 时间:
2015-07-29 19:45:22
阅读次数:
134