Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1379481
  • 博文数量: 77
  • 博客积分: 2104
  • 博客等级: 大尉
  • 技术积分: 2322
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-19 13:21
个人简介

关注于系统高可用、网站架构

文章分类

全部博文(77)

文章存档

2018年(1)

2017年(1)

2015年(4)

2014年(8)

2013年(4)

2012年(12)

2011年(17)

2010年(30)

发布时间:2012-09-20 11:50:20

Location语法语法:location [=|~|~*|^~] /uri/ { … }= 开头表示精确匹配^~ 开头表示uri以某个常规字符串开头,理解为匹配 url路径即可~ 为区分大小写匹配~* 为不区分大小写匹配!~和!~*分别为区分大小写不匹配及不区分大小写不匹配/ 通用匹配,任何请求都会匹配到。多个location配置的情况下匹配.........【阅读全文】

阅读(8759) | 评论(0) | 转发(5)

发布时间:2012-09-16 17:36:57

 megacli -PDList -aALL  【查看硬盘信息】获取ssd的Device Id 号 root@eng31:~# smartctl -a -d sat+megaraid,5 /dev/sdb1|egrep "ID#|Reallocated_Sector_Ct|Media_Wearout_Indicator|Available_Reservd_Space"ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDA.........【阅读全文】

阅读(12931) | 评论(0) | 转发(0)

发布时间:2012-08-28 17:38:50

 root@tts67:~# ssh-keygen -t rsa -b 4096Generating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'.Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /ro.........【阅读全文】

阅读(2863) | 评论(0) | 转发(0)

发布时间:2012-07-13 14:05:16

 1、puppet parser validate site.pp  #检查单个文件 2、 检查所有.pp文件 3、Puppet检查模板是否有错误erb -x -T '-'-P web/templates/cron/cron.erb  |ruby –c 4、查看puppet所有 配置文件puppetmasterd –configprint all ##查看所有配置文件puppet –configprint m.........【阅读全文】

阅读(5888) | 评论(0) | 转发(0)

发布时间:2012-07-10 10:12:15

......【阅读全文】

阅读(3434) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

电影vs程序员2013-08-15 18:13

拜访,交个朋友

回复  |  举报
留言热议
请登录后留言。

登录 注册