码迷,mamicode.com
首页 >  
搜索关键字:ansible install smokeping    ( 42845个结果
Win10 PHP安装memcache
1.首先安装memcached安装包。 首先下载memcached,下载地址 (我下载的是 64位系统 1.4.4版本) 下载好了以后,放到随便一个硬盘位置比如 D:\memcached 然后打开CMD命令窗口输入 输入"D:\memcached\memcached.exe -d install"安 ...
分类:Windows程序   时间:2020-09-17 17:33:02    阅读次数:46
centos7 ftp服务搭建
1.安装vsftpd 默认配置文件在 /etc/vsftpd/vsftpd.conf yum -y install vsftpd 2.启动 vsftpd 服务 systemctl start vsftpd.service ps -ef | grep vsftpd #查看 vsftpd 进程是否存在 ...
分类:其他好文   时间:2020-09-17 17:25:23    阅读次数:32
ansible的内置变量
内置变量ansible_version获取到ansible的版本号ansibletest70-mdebug-a"msg={{ansible_version}}"内置变量hostvars操作当前主机时获取到其他主机中的信息name:"play1:Gatherfactsoftest71"hosts:test71remote_user:rootname:"
分类:其他好文   时间:2020-09-17 17:20:47    阅读次数:79
ansible进阶循环
通过item和with_items对重复操作进行循环执行示例:hosts:jack6_1remote_user:rootgather_facts:notasks:name:touchfilefile:path:"{{item}}"state:touchwith_items:"a""b""c"在jack6_1主机上创建三
分类:其他好文   时间:2020-09-17 17:20:16    阅读次数:39
ansible的循环二
with_items遍历列表中每个元素,包括嵌套列表with_list将嵌套列表作为整体元素遍历with_together将多个列表中的子列表元素,一起输出,不成对则null补位示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_items:[1,2,3][a,b]debug
分类:其他好文   时间:2020-09-17 17:19:57    阅读次数:31
ansible循环四
with_indexed_items示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_indexed_items:[t1,t2][t3,[t4,t5]][t6]输出结果如下:[root@jack7-1work]#ansible-playbook--syntax-checki
分类:其他好文   时间:2020-09-17 17:19:41    阅读次数:32
ansible循环四
with_indexed_items示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_indexed_items:[t1,t2][t3,[t4,t5]][t6]输出结果如下:[root@jack7-1work]#ansible-playbook--syntax-checki
分类:其他好文   时间:2020-09-17 17:19:20    阅读次数:33
tmux 简单实用
tmux 是一个与 GNU screen 类似的程序,可作为后者的替代品使用。 安装 # Ubuntu 或 Debian $ sudo apt-get install tmux # CentOS 或 Fedora $ sudo yum install tmux # Mac $ brew instal ...
分类:其他好文   时间:2020-09-17 17:12:30    阅读次数:39
Cesium 快速上手
Cesium 快速上手 1. git地址clone到本地 https://gitee.com/jger/cesium git clone https://gitee.com/jger/cesium.git 2. 打开vs code继续安装 npm install npm run build --> ...
分类:其他好文   时间:2020-09-17 17:06:07    阅读次数:34
docker centos PHP7.2 安装 bcmath数学扩展
1. 登录服务器 2. 登录docker docker exec -it ***容器名*** /bin/bash 3. 查看 PHP版本 php -v 4. 查找扩展包 yum search bcmath 5 选择版本并安装 yum install php72-php-bcmath.x86_64 6 ...
分类:Web程序   时间:2020-09-17 16:58:55    阅读次数:47
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!