随笔分类 -  Linux

摘要:如何使用perf top 探究性能 - 知乎 (zhihu.com) 阅读全文
posted @ 2021-08-10 16:57 geek_ace 阅读(34) 评论(0) 推荐(0)
摘要:SSH public key authentication under Ubuntu How to Use SSH Public Key Authentication 参考文档: https://blog.csdn.net/isgordon/article/details/78609641 http 阅读全文
posted @ 2019-08-05 16:31 geek_ace 阅读(829) 评论(0) 推荐(0)
摘要:一.mysql 1.vi mysqldauto #!/bin/sh# Version: 0.1 by orczhou@gmail.commysqld_safe=`which mysqld_safe`$mysqld_safe --defaults-file=/data/my.cnf & 2.chmod 阅读全文
posted @ 2018-08-14 14:57 geek_ace 阅读(152) 评论(0) 推荐(0)
摘要:crontab问题 1.脚本中使用程序需指定全路径 如:/usr/local/mongodb/bin/mongo 如果指定的是相对路径,直接执行脚本是没有问题的,但是crond找不到程序文件,这个问题一旦出现,不太容易排查 阅读全文
posted @ 2018-07-02 16:48 geek_ace 阅读(86) 评论(0) 推荐(0)
摘要:软件下载 wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.13.6.tar.gz tar -zxvf git-2.13.6.tar.gz cd git-2.13.6 ./configure prefix=/usr mak 阅读全文
posted @ 2018-06-07 22:09 geek_ace 阅读(574) 评论(0) 推荐(0)
摘要:iotop -oP [root@SQL-01 ~]# pidstat -d 1 proc信息 [root@SQL-01 ~]# top -p 53898 lsof -p $pid 参考文档:http://blog.csdn.net/LegenDavid/article/details/5230159 阅读全文
posted @ 2017-11-30 15:47 geek_ace 阅读(167) 评论(0) 推荐(0)
摘要:金融级MySQL高可用方案选型 ProxySQL高可用方案 DATABASE() fail Consider setting transaction_persistent=1 by default MySQL Query Rules ProxySQL Rules: Do I Have Too Man 阅读全文
posted @ 2017-10-31 18:35 geek_ace 阅读(88) 评论(0) 推荐(0)
摘要:1.下载yum源 wget http://mirrors.163.com/.help/CentOS6-Base-163.repomv CentOS-Base.repo CentOS-Base.repo.oriyum clean allyum makecacheyum repolistyum -y i 阅读全文
posted @ 2017-10-26 12:05 geek_ace 阅读(320) 评论(0) 推荐(0)
摘要:一、网络 1.ip配置 vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=dhcp service network restart ip 阅读全文
posted @ 2017-10-25 17:11 geek_ace 阅读(236) 评论(0) 推荐(0)