摘要: Playbook Language Example 实例一:apache.yml 1、mkdir /etc/ansible/playbooks 2、vim apache.yml 3、mkdir /static_files 在这里您将存储自定义index.html文件 4、执行 key:value - 阅读全文
posted @ 2018-03-07 17:55 fuhaizi 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 一、建立nginx源 vim /etc/yum.repos.d/nginx.repo [nginx]name=nginx repobaseurl=http://nginx.org/packages/centos/7/$basearch/gpgcheck=0enabled=1 二、安装 yum -y 阅读全文
posted @ 2018-03-07 15:50 fuhaizi 阅读(2583) 评论(0) 推荐(0) 编辑