11 2014 档案

设置hostname
摘要:hostname newHostname永久设置redhat: vi /etc/sysconfig/networkHOSTNAME=newHostnamecentos7: hostnamectl set-hostnamenewHostnameubuntu:vi/etc/hostname 阅读全文

posted @ 2014-11-17 10:22 学而知之者 阅读(386) 评论(0) 推荐(0)

zookeeper python client
摘要:安装 zookeeperwget http://mirror.bit.edu.cn/apache/zookeeper/stable/zookeeper-3.4.6.tar.gztar -xvzf zookeeper-3.4.6.tar.gzcd zookeeper-3.4.6/src/c./conf... 阅读全文

posted @ 2014-11-06 14:36 学而知之者 阅读(294) 评论(0) 推荐(0)

Mysql Too many connections? No problem!
摘要:使用gdbgdb -p $(cat mysqlxxxx.pid) -ex "set max_connections=5000" -batch查看修改结果select @@global.max_connections; 阅读全文

posted @ 2014-11-04 18:43 学而知之者 阅读(163) 评论(0) 推荐(0)