上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页
摘要: 一、无论主动还是被动模式都要配置server和linstenPort 二、若要设置主动模式那么要添加ServerActive,若不添加则默认为被动模式 阅读全文
posted @ 2018-07-17 16:38 Presley 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#作者:Presley#时间:2018.07.16#监控阿里云aaa库的py_weixin_product_close_rating_info 和 py_weixin_product_open_rating_info两个表当天记录条数和前一天记录条数source /etc/pr 阅读全文
posted @ 2018-07-17 09:50 Presley 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 引用自:https://www.cnblogs.com/yang-hao/p/5969201.html https://www.cnblogs.com/Joke-Shi/p/5705856.html 阅读全文
posted @ 2018-07-17 09:29 Presley 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 一、在/etc/mail.rc下添加如下内容 set from=lipingchang@pystandard.com set smtp=smtp.pystandard.com set smtp-auth-user=lipingchang@pystandard.com smtp-auth-passwo 阅读全文
posted @ 2018-07-16 17:51 Presley 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 一、https://www.cnblogs.com/33debug/p/6632172.html 二、显示前一小时时间 date -d '-1 hour' '+%F-%H-%M-%S' 阅读全文
posted @ 2018-07-16 15:03 Presley 阅读(163) 评论(0) 推荐(0) 编辑
摘要: docker commit -m="commit jdk" --author="gutianlangyu" ae56f6cad215 gutianlangyu/commit_jdk:v1:使用commit命令将容器里的所有修改提交到本地库中,形成以一个全新的镜像,会返回新镜像的完整ID。 完整ID可 阅读全文
posted @ 2018-07-16 10:27 Presley 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 一、docker tag IMAGEID(镜像id) REPOSITORY:TAG(仓库:标签) 阅读全文
posted @ 2018-07-16 09:02 Presley 阅读(8744) 评论(0) 推荐(0) 编辑
摘要: 一、注意事项 建议用xtrabackup备份时采用全备或增量备份的方式,楼主也尝试过单库备份,但是都以备份后恢复到已经存在数据库的mysqldata目录下后部分库会出幺蛾子而告终,建议使用mysqldump备份部分库。 二、安装 yum install http://www.percona.com/ 阅读全文
posted @ 2018-07-13 10:47 Presley 阅读(227) 评论(0) 推荐(1) 编辑
摘要: 想要完全删除用户账号(也就是删除所有与该用户相关的文件),以下这两种方法个人觉得是最好的: (1)使用 userdel -r xiaoluo命令删除。 (2)先使用userdel xiaoluo 删除账户和组的信息,在使用find查找所有与该用户的相关文件,在使用rm -rf 删除 阅读全文
posted @ 2018-07-10 11:10 Presley 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 一、nohup & 二、screen 阅读全文
posted @ 2018-07-09 16:57 Presley 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页