码迷,mamicode.com
首页 >  
搜索关键字:salt stack安装与配置    ( 1143个结果
(六)saltstack项目实战_系统初始化
一、系统初始化1.编写resolv.conf(dns)文件[root@node1init]#cat/etc/salt/states/init/dns.sls/etc/resolv.conf:file.managed:-source:salt://init/files/resolv.conf-user:root-group:root-mode:6442.给历史命令(history)添加时间[root@node1init]#cat/etc/salt/states/init/..
分类:其他好文   时间:2016-12-21 03:16:27    阅读次数:175
(七)saltstack项目实战_安装nginx
创建nginx所需目录[root@node1~]#cd/data/etc/salt/[root@node1salt]#mkdir-pnginx/files[root@node1salt]#cdnginx/files/[root@node1files]#wgethttp://nginx.org/download/nginx-1.11.3.tar.gz[root@node1salt]#treenginx/nginx/|--conf.sls|--files||--nginx||--nginx-1.11...
分类:其他好文   时间:2016-12-21 03:16:07    阅读次数:216
(五)slatstack动态数据系统pillar
PillarPillar是动态的,给特定的minion指定特定的数据。只有minion自己指定的数据他自己能看到(类似topfile)作用场景:1.定义用户名和密码2.动态的场景3.敏感数据场景使用示例:来看下master的pillar.items[root@master~]#salt‘*‘pillar.itemssalt-client.com:----------此时..
分类:其他好文   时间:2016-12-21 03:15:55    阅读次数:156
(八)saltstack项目实战_安装mysql
1.1安装mysql2.2查看salt-master、salt-minion配置文件[root@node1~]#grep-Ev‘^#|^$‘/etc/salt/masterinterface:0.0.0.0file_roots:base:-/data/etc/saltprod:-/data/etc/salt/prodlog_file:/data/logs/salt/master[root@node2~]#grep-Ev‘^#|^$‘/etc/salt/minionmaster:172.168..
分类:数据库   时间:2016-12-21 03:15:18    阅读次数:211
Spring Security3中的-authentication-manager标签详解
讲解完http标签的解析过程,authentication-manager标签解析部分就很容易理解了 authentication-manager标签在spring的配置文件中的定义一般如下 authentication-manager标签的解析类是: org.springframework.sec ...
分类:编程语言   时间:2016-12-18 12:29:06    阅读次数:321
fping 多线程
最近在和同事们聊天,他们说自己在写一个ping多个IP地址读取状态的情况。想多线程,比较麻烦。后来我给他说了一个软件,fping,简单。1.在centos/redhat上yum直接安装yuminstall-yfping2.在ubuntu上apt-get直接安装apt-getinstall-yfping以下是执行过程:[root@salt-mastercaim..
分类:编程语言   时间:2016-12-16 02:03:15    阅读次数:421
openssl命令用法
openssl命令 配置文件:/etc/pki/tls/openssl.cnf 命令格式: openssl command [ command_opts ] [ command_args ] 众多子命令,常用有以下几项: 1.对称加密 openssl enc -[e/d] [-a] [-salt] ...
分类:其他好文   时间:2016-12-13 06:24:44    阅读次数:135
salt stack 入手
salt的安装就不写了,网上很多,记录下自己踩得坑吧。之前安装好后,配置了半天老是不行,后从51上看了一个入门教学视频才知道,配置文件是yaml,又搜索了yaml通用格式,结合python本身就是根据空格和TAB的语法格式,总之:配置过程中空格和缩进很重要还有忘记TAB键箭头的地方都..
分类:其他好文   时间:2016-12-13 00:34:52    阅读次数:148
[WARNING ] Key 'file_ignore_glob' with value None has an invalid type of NoneType
今天,Ubuntu上安装了salt,执行报错$sudosalt‘*‘test.ping[WARNING]Key‘file_ignore_glob‘withvalueNonehasaninvalidtypeofNoneType,alistisrequiredforthisvalue[WARNING]Key‘file_ignore_glob‘withvalueNonehasaninvalidtypeofNoneType,alistisrequiredforthisvalue[WARNING..
分类:Web程序   时间:2016-12-09 20:27:10    阅读次数:1508
salt-grains
自定义grains 的方法 1: 在minion 的配置文件夹 /etc/salt/minion.d 下面包含的配置文件 grains.conf 2: 在salt的安装目录中建立grains 文件 [root@python salt]# lsgrains minion minion.d minion ...
分类:其他好文   时间:2016-12-05 14:13:48    阅读次数:169
1143条   上一页 1 ... 63 64 65 66 67 ... 115 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!