随笔分类 -  运维

摘要:#part1 install and config kerberos yum -y install krb5-server vi /etc/krb5.conf # Configuration snippets may be placed in this directory as wellinclud 阅读全文
posted @ 2018-09-03 14:46 粗哥 阅读(984) 评论(0) 推荐(0)
摘要:Server #!/bin/bash VIP=10.132.2.254RIP1=10.132.2.17RIP2=10.132.2.18 #./etc/rc.d/init.d/functionscase "$1" in start ) echo "start LVS of Director Serve 阅读全文
posted @ 2018-05-04 14:27 粗哥 阅读(202) 评论(0) 推荐(0)
摘要:如何修改windows下的时间同步间隔操作步骤如下: 1. 打开注册表:在“开始”菜单→“运行”项下(或按Win+R)输入“Regedit”进入注册表编辑器。 2.修改默认时间服务器IP: 展开HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Servic 阅读全文
posted @ 2017-08-17 20:17 粗哥 阅读(3307) 评论(0) 推荐(0)
摘要:nginx1 ip:192.168.12.4 #MASTERnginx2 ip:192.168.12.10 #BACKUPnginx_vip :192.168.12.100 原理可参考:http://www.keepalived.org/documentation.html系统为CentOS7 1、 阅读全文
posted @ 2017-07-12 11:33 粗哥 阅读(405) 评论(0) 推荐(0)
摘要:题记:你懂的,就这样吧 找个境外的服务器,centos吧 1、配置一下yum源 curl -L http://mirrors.aliyun.com/repo/Centos-6.repo > /etc/yum.repos.d/CentOS-Base.repocurl -L http://mirrors 阅读全文
posted @ 2017-07-07 14:43 粗哥 阅读(17) 评论(0) 推荐(0)
摘要:沃通及其收购的startssl证书被封,用不了,只能申请Let's Encrypt免费证书,我就不科普了,免费是免费,时效只有3个月,就得更新,就是这样,喵 到下面的网站,一下脚本,可以助力你快速申请证书 https://certbot.eff.org/ 下面以centos 6 - nginx 为例 阅读全文
posted @ 2017-06-28 13:01 粗哥 阅读(13508) 评论(0) 推荐(0)