11 2020 档案

摘要:准备 MASTER IP 192.168.1.7 BACKUP IP 192.168.1.8 VIP 192.168.1.200 yum install keepalived systemctl stop firewalld echo "net.ipv4.ip_forward = 1" >> /et 阅读全文
posted @ 2020-11-29 12:35 红缨飘尽 阅读(884) 评论(0) 推荐(0)
摘要:ansible firewalld模块详解 模块详解 service : Name of a service to add/remove to/from firewalld.The service must be listed in output of firewall-cmd --get-serv 阅读全文
posted @ 2020-11-25 11:57 红缨飘尽 阅读(1397) 评论(0) 推荐(0)
摘要:验证环境 Centos 7.2 查看依赖包 可以使用“yum deplist”命令来查找 rpm 包的依赖列表。例如,要查找“ansible”rpm的依赖包: $ yum deplist ansible 软件包:ansible.noarch 2.9.3-1.el7 依赖:/usr/bin/env p 阅读全文
posted @ 2020-11-23 09:09 红缨飘尽 阅读(383) 评论(0) 推荐(0)
摘要:简介 copy模块用于将本地或远程机器上的文件拷贝到远程主机上。 模块参数 名称 必选 默认值 可选值 备注 backup no no yes/no 在覆盖之前将原文件备份,备份文件包含时间信息 content no 当用content代替src参数的时候,可以把文档的内容设置到特定的值 dest 阅读全文
posted @ 2020-11-21 13:36 红缨飘尽 阅读(1287) 评论(0) 推荐(0)
摘要:[yum安装jdk环境变量配置] 原文链接: https://www.cnblogs.com/benjamin77/p/8460030.html [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Co 阅读全文
posted @ 2020-11-10 18:56 红缨飘尽 阅读(233) 评论(0) 推荐(0)
摘要:vim 光标快速移动技巧总结 原文链接:https://blog.csdn.net/llzhang_fly/article/details/80474966 vim 快速编辑快捷键,总结如下: **1. 为什么使用hjkl作为方向键?** hjkl : 为什么用 HJKL 键作为方向键?当 Bill 阅读全文
posted @ 2020-11-10 14:47 红缨飘尽 阅读(874) 评论(0) 推荐(0)
摘要:web01 1. 安装nginx, php-fpm环境 yum install nginx -y yum -y install php71w php71w-cli php71w-common php71w-devel php71w-embedded php71w-gd \ php71w-mcrypt 阅读全文
posted @ 2020-11-09 17:17 红缨飘尽 阅读(726) 评论(0) 推荐(0)
摘要:edusohu网站: 线上视频网站 获取代码信息 wget http://download.edusoho.com/edusoho-8.2.17.tar.gz tar xf edusoho-8.2.17.tar.gz mv /server/tools/edusoho/* /html/edusoho/ 阅读全文
posted @ 2020-11-09 15:16 红缨飘尽 阅读(185) 评论(0) 推荐(0)