摘要: nginx 安装方式 非源码安装 非源码安装配置文件 源码仓库安装(wget) 源码安装nginx的配置文件 源码仓库安装(yum) nginx相关命令 使用systemctl启动nginx,那么就只能用systemctl来关闭nginx 使用绝对路径(或者是相对路径)启动nginx,就只能使用绝对 阅读全文
posted @ 2020-05-14 20:58 看萝卜在飘 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 服务端 有报错的话,具体情况看脚本分析 该脚本只是部署,不安装apache 阅读全文
posted @ 2020-05-14 09:01 看萝卜在飘 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 大神的排错锦集 1.no route to host(#网络原因) 2.connet (#网络原因) 防火墙,selinux关闭了才能使用telnet,ssh,rsync,http,php,nfs,#不然就会端口开着,但是无法使用 1.网络 ping 10.0.0.41 2.端口 telnet 10 阅读全文
posted @ 2020-05-14 08:37 看萝卜在飘 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ```bash # 客户端 no route to host 1.网络 [root@web01 ~]# ping 172.16.1.31 #查看是否可以进行网络通信 2.端口,nfs服务的运行不使用端口,#不用检查端口 [root@web02 ~]# netstat -lntup|grep nfs 3.防火墙 [root@nfs ~]# systemctl status firewalld 4.s 阅读全文
posted @ 2020-05-14 08:36 看萝卜在飘 阅读(134) 评论(0) 推荐(0) 编辑
摘要: nfs客户端 一键切换 nfs服务端高可用主机脚本 (脚本执行一次不行就再执行几遍) 阅读全文
posted @ 2020-05-14 08:30 看萝卜在飘 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 脚本1 nfs 客户端实时监控nfs服务端挂载情况( 监控脚本最好不要在nfs服务端) 脚本2 阅读全文
posted @ 2020-05-14 08:26 看萝卜在飘 阅读(580) 评论(0) 推荐(0) 编辑