2014年10月15日

centos6.5 64位上haproxy安装

摘要: haproxy提供高可用性、负载均衡以及基于TCP和HTTP应用的代 理,支持虚拟主机,它是免费、快速并且可靠的一种解决方案。下载:目前来看官网是没法下载了只能通过baidu来找寻(nn的google也不能访问了)[root@centos-test ~]#cd haproxy-1.4.17[root... 阅读全文

posted @ 2014-10-15 16:53 门洞73号 阅读(336) 评论(0) 推荐(0) 编辑

nginx pathinfo及ThinkPHP的URL Rewrite模式支持

摘要: 大家都知道thinkphp是一个广泛应用的php开发框架,所以在nginx中需要支持URL Rewrite和pathinfo在我们的nginx配置文件中添加如下几行就可以了附带文字部分: location ~ .php{ fastcgi_pass 127.0.0.1:9... 阅读全文

posted @ 2014-10-15 16:37 门洞73号 阅读(272) 评论(0) 推荐(0) 编辑

centos6.5 nginx include conf

摘要: 1nginx的配置很灵活,支持include配置文件,如果我们的域名很多都配置到nginx.conf这个主配置文件中难免会很复杂影响配置文件的阅读所以我们可以根据需要按域名拆分成不同的配置文件,这样更加好管理业增强了阅读性在最后一个大括号前加上 include /usr/local/nginx/co... 阅读全文

posted @ 2014-10-15 16:31 门洞73号 阅读(2547) 评论(0) 推荐(0) 编辑

centos6.5 nginx php配置

摘要: 1:yum安装php和与之相关的软件包yum install gcc gcc-c++ libxml2 libxml2-devel autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel zlib zlib-... 阅读全文

posted @ 2014-10-15 16:00 门洞73号 阅读(125) 评论(0) 推荐(0) 编辑

导航