摘要: 以上是单台heartbeat服务器配置,生产中双机热备heartbeat配置文件{ha.cf,authkeys,haresources}内容是一样的,这里心跳线配置步骤省略.... 如遇安装报错,查看 /var/log/ha-log日志排查错误即可,heartbeat相对来说还是简单的。 更多详细知 阅读全文
posted @ 2019-04-24 18:43 執著的蝸牛 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 系统环境说明:centos6.x,centos7.x下rsync直接可由systemd管理(无需使用xinetd)。 这样就可以使用xinetd服务管理rsync启动和停止了(要设置开启自启动还要配置chkconfig) 其他步骤: 创建 /etc/rsyncd.conf 和创建 /etc/rsyn 阅读全文
posted @ 2019-04-17 16:01 執著的蝸牛 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 问题1:执行cobbler sync同步命令报错,提示dhcpd服务错误和Python源码错误 解决办法: 1.修改 /etc/cobbler/dhcp.template, 接着,修改yum安装cobbler的Python源码(cobbler在centos7上yum安装的话,会有问题) 修改完成后, 阅读全文
posted @ 2019-04-16 14:50 執著的蝸牛 阅读(2639) 评论(0) 推荐(0) 编辑
摘要: 一键搭建dhcpd服务脚本 使用Windows客户端查看dhcp-client端获取地址正常 阅读全文
posted @ 2019-04-14 12:01 執著的蝸牛 阅读(317) 评论(0) 推荐(0) 编辑
摘要: nfs图解: nfs服务端安装脚本: 客户端安装脚本: 查看服务是否正常: 查看nfs服务端默认加载的配置: 查看可挂载的nfs服务端的共享信息: 客户端挂载nfs服务端: 永久挂载: 阅读全文
posted @ 2019-04-11 17:41 執著的蝸牛 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1 常见状态码分类 HTTP状态码分类: 1XX:消息类 2XX:成功 3XX:重定向 4XX:客户端错误(nginx) 5XX:服务端错误(nginx后端的应用程序) 2 常见状态码 200 OK,请求服务器,服务器成功返回网页 301 永久跳转rewrite,将请求的网页永久跳转到新位置(防止恶 阅读全文
posted @ 2019-03-28 17:26 執著的蝸牛 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 说明: 配置apache虚拟主机步骤 阅读全文
posted @ 2019-03-21 19:24 執著的蝸牛 阅读(194) 评论(0) 推荐(0) 编辑
摘要: rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm yum -y install nginx systemctl start nginx.service systemctl enable nginx.service 阅读全文
posted @ 2019-03-21 18:17 執著的蝸牛 阅读(909) 评论(0) 推荐(0) 编辑
摘要: cd /etc/yum.repos.d/ yum -y install epel-release #<===安装centos7下php5.6的epel和remi源 rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum list --... 阅读全文
posted @ 2019-03-21 18:11 執著的蝸牛 阅读(2110) 评论(0) 推荐(0) 编辑
摘要: ;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;; ; All relative paths in this configuration file are relative to PHP's install ; prefix (/usr). This prefix can be dynamically change... 阅读全文
posted @ 2019-03-20 21:07 執著的蝸牛 阅读(2271) 评论(0) 推荐(0) 编辑