自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Nginx - access log

log_format main '$remote_addr|$upstream_addr|$connection|$upstream_status|$time_local|$request|'         '$status|$body_bytes_sent|$bytes_sent|$http_referer|'         '$http_user_agent|$upstream_res

2014-04-23 17:25:50 456

原创 Hadoop

http://www.superwu.cn/

2014-04-22 17:01:43 389

原创 get_client_ip

/** * @author chenliujin * @since 2014-04-17 */ function get_client_ip() { $checks = array( 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_FORWARDED_FOR', 'H

2014-04-17 14:21:48 981

原创 isRobot

function isRobot($agent) { $robots = array( "bot", "abcdatos", "acme", "ahoy", "alkaline", "almaden", "amfibibot", "ananzi", "answerbus", "anthill", "appie", "appie1.1", "ar

2014-04-17 11:16:19 1054

原创 hadoop dfsadmin

hadoop dfsadmin -safemode get

2014-04-17 09:44:12 861

转载 check_hadoop_tasktracker.py

''' Created on 2011-11-25 @author: yue.zhang ''' #!/usr/bin/env python import commands import sys from optparse import OptionParser import urllib import re def get_value(): urlItem = urllib.url

2014-04-16 11:13:48 392

转载 check_hadoop_dfs.py

''' Created on 2011-11-25 @author: yue.zhang ''' #!/usr/bin/env python import commands import sys from optparse import OptionParser import urllib import re def get_dfs_free_percent(): urlItem =

2014-04-16 11:11:48 445

转载 check_hadoop_datanode.py

''' Created on 2011-11-25 @author: yue.zhang ''' #!/usr/bin/env python import commands import sys from optparse import OptionParser import urllib import re def get_value(): urlItem = urllib.url

2014-04-16 11:04:53 434

原创 Hadoop问题

网络拓扑图     a.服务器配置     b.拓扑图 * 节点管理     a.增加datanode     b.删除datanode     c.namenode恢复 * 如何优化?     a.Hive * 监控     a.节点故障     b.job数   Nagios

2014-04-15 18:30:37 410

转载 hadoop

Hadoop运维记录系列(二) http://slaytanic.blog.51cto.com/2057708/1083039/

2014-04-14 18:38:46 422

原创 配置https

安装 openssl $ yum install openssl 创建证书 $ cd /etc/pki/CA $ /etc/pki/tls/misc/CA -newca Enter PEM pass phrase: 123456 Verifying - Enter PEM pass phrase: 123456 Country Name (2 letter code) [XX]:cnStat

2014-04-10 12:15:06 1166

原创 其它编码的字符转utf8编码

if (function_exists('mb_detect_encoding') && function_exists('mb_convert_encoding')) { // mb_detect_encoding isn't very reliable, to say the least // detection should still work with a suffi

2014-04-09 18:33:47 508

转载 sys_getloadavg

http://www.php.net/manual/zh/function.sys-getloadavg.php<?php $load = sys_getloadavg(); if ($load[0] > 80) { header('HTTP/1.1 503 Too busy, try again later'); die('Server too busy. Please try

2014-04-04 16:53:56 810

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除