码迷,mamicode.com
首页 >  
搜索关键字:nginx status    ( 37643个结果
centos 5.5 安装 lnmp
centos5.5 安装 lnmp,一定要事先选好版本安装,建议自己下载安装。1.相关文件目录:nginx: /www/nginx/下面mysql: /usr/share/mysql /usr/bin/mysql (安装时没有配置路径)php : /usr/local/php532A) ng...
分类:其他好文   时间:2014-06-29 15:36:28    阅读次数:328
集群服务器状态命令------rs.status()各个字段的含义
可根据rs.status() 查询集群服务器状态.字段解释:self 这个信息出现在执行rs.status()函数的成员信息中stateStr用户描述服务器状态的字符串。有SECONDARY,PRIMARY,RECOVERING等uptime 从成员可到达一直到现在经历的时间,单位是秒。optime...
分类:其他好文   时间:2014-06-07 05:23:53    阅读次数:326
ytu 2558: 游起来吧!超妹!(水题,趣味数学题)
2558: 游起来吧!超妹!Time Limit:1 SecMemory Limit:128 MBSubmit:7Solved:3[Submit][Status][Web Board]Description夏天到了,无聊的超妹跑到了落雪湖里抓鱼吃。结果,游到湖的正中 央时被湖边保安看到了,保安要抓住...
分类:其他好文   时间:2014-06-07 05:12:02    阅读次数:249
nginx做正向代理
Nginx常用来做反向代理,但是作为正向代理大家有没有试过呢?Nginx配置如下:server{ resolver x.x.x.x; listen 82; location / { proxy_passhttp://$http_host$request_uri; }}注意项:1. 不能有hostna...
分类:其他好文   时间:2014-05-30 10:48:33    阅读次数:237
实例讲解Nginx下的rewrite规则 来源:Linux社区
一.正则表达式匹配,其中:* ~ 为区分大小写匹配* ~* 为不区分大小写匹配* !~和!~*分别为区分大小写不匹配及不区分大小写不匹配二.文件及目录匹配,其中:* -f和!-f用来判断是否存在文件* -d和!-d用来判断是否存在目录* -e和!-e用来判断是否存在文件或目录* -x和!-x用来判断...
分类:系统相关   时间:2014-05-30 08:19:36    阅读次数:381
show master status empty解决方案
The following MySQL error might occur if you are using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381 (HY000): You are not using...
分类:其他好文   时间:2014-05-29 01:42:38    阅读次数:518
Sqler-Monitor
针对Sqler Monitor 功能做了整理##SqlServices ##Cluster、 AlwaysonSingle##Replicaion ##:1:undelivedcmds monitor2 ReplError Monitor:3 Repl status Alert##Sql Conne...
分类:数据库   时间:2014-05-29 00:08:50    阅读次数:535
Python统计nginx脚本信息
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 import urllib2 4 import json 5 import subprocess 6 import threading 7 8 #统计10个最长访问的ip 9 ip_raw =.....
分类:编程语言   时间:2014-05-28 21:47:39    阅读次数:386
mmm-master漂移问题的分析
date:20140527auth:Jin一、问题描述线上store应用,偶尔出现慢的现象。检查发现是writer角色在master-backup之前漂移检查mysql-log没有发现异常,也没前端nginx/php以及mysql-proxy无关master show processlist500多...
分类:其他好文   时间:2014-05-28 11:04:57    阅读次数:325
centos setup nginx
安装说明系统环境:CentOS-6.3软件:nginx-1.2.6.tar.gz安装方式:源码编译安装安装位置:/usr/local/nginx下载地址:http://nginx.org/en/download.html安装前提在安装nginx前,需要确保系统安装了g++、gcc、openssl-d...
分类:其他好文   时间:2014-05-28 09:28:53    阅读次数:368
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!