上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: rewirte 可以写在server{}与location{}里server {这里的rewrite 只能做301 如:rewrite ^/(.*)$ http://www.wdzj.com/index.html permanent;如果这样写 if ( $robots_wangdaizhijia ... 阅读全文
posted @ 2015-12-17 20:40 zenghui940 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 健康检查功能不会更新后端服务器域名解析我的后端服务器使用动态域名,当动态域名的地址变了之后就会不断出现以下错误:2013/03/23 16:27:37 [error] 21253#0: check time out with peer: 113.96.37.249:60080 2013/03/23 ... 阅读全文
posted @ 2015-12-16 11:11 zenghui940 阅读(2088) 评论(1) 推荐(0) 编辑
摘要: 这个是报的错[Composer\Downloader\TransportException] The "http://packages.zendframework.com/packages.json" file could not be downloaded: SSL operation fail... 阅读全文
posted @ 2015-12-14 14:23 zenghui940 阅读(592) 评论(0) 推荐(0) 编辑
摘要: nginx log 记录请求的头信息记录访问的log,为了在出现特殊情况时,方便检查出现问题的地方。log_format access '$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "... 阅读全文
posted @ 2015-12-11 13:15 zenghui940 阅读(281) 评论(0) 推荐(0) 编辑
摘要: vi nginx.confuser tomcat;worker_processes 10;worker_rlimit_nofile 65535;pid /var/run/nginx.pid;events { use epoll; worker_connections 65536;}ht... 阅读全文
posted @ 2015-11-27 15:10 zenghui940 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1. PHP配置参数zabbix对PHP参数、PHP模块有特殊要求。1.1 PHP安装参数php具体安装方法参考上面的链接,不过如下模块要特别留意加上bcmath --enable-bcmathmbstring --enable-mbstringsockets --enable-socketsg... 阅读全文
posted @ 2015-11-27 12:09 zenghui940 阅读(482) 评论(0) 推荐(0) 编辑
摘要: >grant all on *.* to root@'%' identified by 'root'with grant option; 阅读全文
posted @ 2015-11-14 10:40 zenghui940 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1. 首先编辑每个Zookeeper目录下的conf/zoo.cfg文件。三个配置配置文件的内容分别如下[plain]view plaincopyprint?$cat/opt/zookeeper1/conf/zoo.cfgtickTime=2000dataDir=/opt/zookeeper1/da... 阅读全文
posted @ 2015-11-09 15:18 zenghui940 阅读(153) 评论(0) 推荐(0) 编辑
摘要: wget http://pecl.php.net/get/redis-2.2.5.tgztar xvf redis-2.2.5.tgz -C /usr/local/srccd /usr/local/src/redis-2.2.5#开始编译安装phpize./configure --with-php-... 阅读全文
posted @ 2015-11-03 11:59 zenghui940 阅读(165) 评论(0) 推荐(0) 编辑
摘要: [root@snstest ~]#tar zxvf FastDFS_v3.06.tar.gz[root@snstest ~]#cd FastDFS[root@ FastDFS ~]#./make.sh[root@ FastDFS ~]#./make.sh install[root@ FastDFS ... 阅读全文
posted @ 2015-11-03 11:37 zenghui940 阅读(1971) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页