Submitted by wubx on 周一, 2009/03/23 - 16:35    
  
  
      
  
  
 
        
    
      
            Submitted by wubx on 周六, 2009/03/21 - 00:05    
  
  
      
  
  
 
        
    
      
            Submitted by wubx on 周五, 2009/03/20 - 17:41    
  
  
    
作用:
  备份DB中的数据到单表,以防止增加表后少备份了。 
#!/usr/bin/perl
# mysql meg 
# wubx 
use strict;
use DBI;
my $host='172.16.100.1';
my $port='3306';
my $user='root;
my $passwd='';
my $dsn="dbi:mysql:hostname=$host:port=$port";
my $backup="/backup";
my $dbh= DBI->connect($dsn,$user,'');
unless ($dbh)
{
        print "Connect error!\n";
 
      
  
  
 
        
    
      
            Submitted by wubx on 周五, 2009/03/13 - 10:21    
  
  
      
  
  
 
        
    
      
            Submitted by wubx on 周二, 2009/03/10 - 11:42    
  
  
    
现象:
curl -I -v http://www.5dsun.cn/  无法达到,在Centos4上没问题
如果有Linux做办公环境Firefox无法打开有的网站
受影响:
内核在2.6.17以上 
解决办法:
sysctl -w net.ipv4.tcp_window_scaling=0
随后也可以添加到/etc/sysctl.conf
这种现象大多是服务器为Windows服务器的
参考:
 
      
  
  
 
  
最近评论