Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1069905
  • 博文数量: 186
  • 博客积分: 4939
  • 博客等级: 上校
  • 技术积分: 2075
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-08 17:15
文章分类

全部博文(186)

文章存档

2018年(1)

2017年(3)

2016年(11)

2015年(42)

2014年(21)

2013年(9)

2012年(18)

2011年(46)

2010年(35)

发布时间:2013-08-30 10:43:49

   作为一个经常在服务器之间频繁切换做各种操作的人,一不小心可能就搞错了主机/路径,万一做了危险的操作那就麻烦了。原来的提示符枯燥又不能提示你。所以可以设置好玩/醒目的提示符,例如:PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\H:\[\033[33;1m\]\w\[\033[m\]\\[\033[35m\]\t$ "这样hostna.........【阅读全文】

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

发布时间:2013-08-30 07:36:05

 121101 16:35:25 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position', Error_code: 1236121101 16:35:25 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.014497', position 38.........【阅读全文】

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

发布时间:2013-08-04 11:02:56

   http/1.1的header有很多值得研究和注意的地方,这里说以下vary on,做CDN的大概都知道这个,我在另外一篇文章也记录了。这里看看官方的一些资料。 I never paid much attention to the HTTP Vary header.  In fact, I've been fortunate enough to avoid it for this long and never really had t.........【阅读全文】

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

发布时间:2013-08-03 18:30:34

    NFS是linux下最常见的service,配置各方面都很简单,但是一些性能方面的设置还是要注意,下边是google到的结果:sync、async选项对于NFS Server和NFS Client含义是不一样的NFS server采用sync还是async是在/etc/exports里面设置的。如果设置为async,则所有client的写操作都会先放到内存 cache中.........【阅读全文】

阅读(1133) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册