发布时间:2014-05-02 16:18:25
问题如下,要批量远程关机,# host192.168.1.2192.168.1.3192.168.1.4# cat shutdown.sh#!/bin/shwhile read ip do ssh root@$ip "init 0" ssh root@$ip "echo 0" echo "$host shutdown ok!" done......【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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中.........【阅读全文】