![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
HaiTian-Jackie
Linux系统方面应用、mysql搭建、维护支持
展开
-
sudo: pam_open_session: System error
sudo: pam_open_session: System errorsudo: policy plugin failed session initialization原创 2023-04-28 16:05:56 · 1801 阅读 · 1 评论 -
注释含有特殊指定字符串的行
注释含有特殊指定字符串的行取消注释含有特殊指定字符串的行原创 2022-12-07 09:26:03 · 262 阅读 · 1 评论 -
rsync
rsync简介:rsync : a fast, versatile, remote (and local) file-copying toolrsynccentos7中安装Push: rsync [OPTION...] SRC... [USER@]HOST:DESTxinetd安装主配置文件/etc/rsyncd密文rsyncd.secrets全局参数说明、模块参数说明原创 2017-07-01 22:39:54 · 1867 阅读 · 0 评论 -
vim中支持nginx配置文件高亮
vim中支持nginx配置文件高亮主要设置两个文件syntax/nginx.vim ftdetect/nginx.vimftdetect/nginx.vim下载原创 2017-12-05 10:55:39 · 927 阅读 · 0 评论 -
Mysql 删除从数据库的relay logs最佳方式、最安全方式
删除Mysql 从数据库的relay logs最安全方式情景MySQL数据库主从复制在默认情况下从库的relay logs会在SQL线程执行完毕后被自动删除。但是:在relay_log_purge = 0和MHA集群下,不会被自动删除,需要手动删除。如何安全的删除relay logs就比较关键了!主要有两种方式:方式一:通过MHA中自带的工具 purge_relay_l原创 2018-01-05 11:46:46 · 7042 阅读 · 0 评论 -
通过curl获取http url请求/web站点各阶段相应时间
通过curl获取http url请求/web站点各阶段相应时间格式curl -o /dev/null -s -w " -w的变量" “需要追踪的http url/web站点地址”常查看的相应时间:http状态码、域名解析时间、重定向时间、从执行到开始传输文件的时间间隔、连接到目标地址耗费的时间、从执行到开始传输文件的时间间隔、总相应时间、传输速度-w的变量信息部分...原创 2018-05-25 17:11:03 · 2531 阅读 · 0 评论 -
Postfix 邮件发送功能配置
Mail Postfix 邮件发送功能配置环境Centos安装postfix默认centos 安装了postfix,使用默认的即可yum -y install postfix配置postfix实现使用postfix来发送邮件配置如下:grep -v '^#' /etc/postfix/main.cf | grep -v '^$' 输出结果:...原创 2018-08-23 17:07:16 · 1253 阅读 · 0 评论