如何只克隆git仓库中的一个分支?
    
                
摘要:git clone -b <branch> <remote_repo>
        
阅读全文
 
                
                    posted @ 
2017-04-19 17:53 
七月逆流
        
阅读(215) 
         
        推荐(0)     
                 
             
                
                
    redis如何清除所有的key
    
                
摘要:redis比memcache好的地方之一,如果memcache,恐怕就得关掉重启了。 1 使用cli FLUSHDB 清除一个数据库,FLUSHALL清除整个redis数据。 2 使用shell redis-cli keys "*" | while read LINE ; do TTL=`redis
        
阅读全文
 
                
                    posted @ 
2017-04-17 18:00 
七月逆流
        
阅读(16061) 
         
        推荐(1)     
                 
             
                
                
    连接Mysql提示Can’t connect to local MySQL server through socket的解决方法
    
                
摘要:http://www.aiezu.com/db/mysql_cant_connect_through_socket.html
        
阅读全文
 
                
                    posted @ 
2017-04-13 11:12 
七月逆流
        
阅读(278) 
         
        推荐(0)     
                 
             
                
                
    MySQL主从同步机制及同步中的问题处理
    
                
摘要:http://www.drupal001.com/2012/03/mysql-master-slave-troubles/ http://www.jb51.net/article/33052.htm
        
阅读全文
 
                
                    posted @ 
2017-04-06 16:50 
七月逆流
        
阅读(263) 
         
        推荐(0)     
                 
             
                
                
    linux集群时间同步搭建
    
                
摘要:http://xstarcd.github.io/wiki/sysadmin/ntpd.html http://www.voidcn.com/blog/xuxudede1989/article/p-4964668.html https://canadoc.gitbooks.io/itspec/con
        
阅读全文
 
                
                    posted @ 
2017-04-06 00:17 
七月逆流
        
阅读(187) 
         
        推荐(0)