运维工具
系统备份和恢复
Clonezilla
install clonezilla network boot system
clonezilla push setting
clonezilla pxelinux.cfg default config
clonezilla pxe boot password
kickstart
kickstart centos5.6-i386 config
kickstart auto install
kickstart example
Cobbler
cobbler backups-restore
aomei 傲梅
傲梅集中备份
傲梅备份 分类
系统监控工具
collectd
collectd 收集系统性能
NMON monitor
Nmon monitor system
njmon script initd code
nmon 2 data to influx db
Zabbix
zabbix 3.2 install on centos 6
zabbix firewall
zabbix support windows
Supervisor
supervisor shell script
supervisor config example
boot supervisrd with systemd on centos7
webhook and github to do file sync with supervisor
日志管理系统
Grafana
grafana install on centos 6
grafana install plugin
grafana influx version
Filebeat
filebeat yum install
Kibana
kibana yum install
Logstash
logstash install on centos
Elasticsearch
yum install elasticsearch 6.8
elasticsearch install on Centos 6.7
ELK init env config
Elasticsearch 错误集锦
Rsyslog
centos 6 rsyslog 日志实时同步
Rsyslog mysql log to master analyzer
Deploy
Jumpserver
jumpserver 0.3.2 install on centos 6
jumpserver 0.3.2 docker install on centos 7
jumpserver 0.5 install on centos 7
Opsmanage
opsmanage install centos7
Jenkins
jenkins install on centos 6
install plugin in jenkins…
jenkins set time execution
tomcat jenkins ansible
jenkins ansible ad-hoc command
jenkins ansible playbook project
jenkins publish over_ssh
Paramike
PSSH
Centos7部署工具pssh
Ansible
how to install ansible with yum
bit rpm install ansible
source to install ansible
ansible init system centos 6
ansible using method
ansible install httpd servers
copy code with ansible-playbook
ansible ping host actived
ansible add username
ansible config parameter
ansible config write format
ansible api study
ansible hosts config ssh
ansible get nmon data
ansible setup filter information
yum repo with ansible-playbook
ansible gitlab ci runner
ansible get data list
ansible get text content
ansible get linux release debug infor
ansible support windows pywinrm
Saltshaker
saltshaker use docker
how to install saltstack
saltshaker manual install
salt install and config
salt init system
deploy saltshaker on centos7
salt file config desc
salt cmdb
saltshaker dj mq mysql build
salt data to mysql
Rsync
rsync + inotify 数据实时同步
代码仓库
Gitlab
yum install gitlab
gitlab-ce and runner
gitlib api example
gitlab config
gitlab ce and ee
Gogs
Gitea
虚拟化系统
Vmware
centos 6 install vmware 14
Vagrant
从零开始创建基础 Box
打包我的 BOX
Vagrantfile Config
Vagrant简易教程
给 Vagrant 从 VirtualBox换用 VMware 或 虚拟机
优化 vagrantFile config
Vagrant 主机定义
vagrant SSH
Vagrant 搭建 说明
WSL
pycharm 安装支持 WSL
windows-WSL 安装
Docker
how to install docker on centos 6
docker config source daoclound
how to use docker by step
how to creat docker subnet
gogs deploy on docker
jenkins use docker to deploy
mysql use docker to deploy
docker-example-1
docker-example-2
mac-osx-toolbox-install-docker
Data DB
Influx DB
InfluxDB install on centos
Mysql DB
centos 6 install mysql 5.5
mysql 5.7 install centos 6
install percona mysql 5.6 with yum
centos 7 install mysql config
mysql data rsync from master/slave
About me
本文档使用 MrDoc 发布
-
+
首页
how to install saltstack
# saltstack install method --- Saltstack基于C/S架构,服务端master和客户端minions,是继 Puppet、Chef 之后新出现的配置管理及远程执行工具。 与 Puppet 相比,SaltStack 没有那么笨重,感觉较为轻量,SaltStack 在远程执行命令 时的速度非常快,也包含丰富的模块。 ## master的安装 ### 先导入 yum 源 的安装包。 Aliyun: # wget http://mirrors.aliyun.com/repo/Centos-6.repo /etc/yum.repos.d/Centos-6.repo ### 网易的yum: # wget http://mirrors.163.com/.help/CentOS6-Base-163.repo /etc/yum.repos.d/CentOS6-Base-163.repo ### epel yum: # wget http://mirrors.aliyun.com/repo/epel.repo /etc/yum.repos.d/epel.repo ### Salt: # https://repo.saltstack.com/yum/redhat/6Server/x86_64/saltstack-rhel6.repo # yum makecache # yum search all salt-master # yum install salt-master ```python ======================================================================================= Package Arch Version Repository Size ======================================================================================= Installing: salt-master noarch 2015.5.10-2.el6 epel 1.0 M Installing for dependencies: PyYAML x86_64 3.10-3.1.el6 base 157 k libyaml x86_64 0.1.3-4.el6_6 base 52 k m2crypto x86_64 0.20.2-9.el6 base 471 k openpgm x86_64 5.1.118-3.el6 epel 165 k python-babel noarch 0.9.4-5.1.el6 base 1.4 M python-backports x86_64 1.0-5.el6 base 5.5 k python-backports-ssl_match_hostname noarch 3.4.0.2-4.el6.centos extras 13 k python-chardet noarch 2.2.1-1.el6 base 230 k python-jinja2 x86_64 2.2.1-2.el6_5 base 466 k python-msgpack x86_64 0.4.6-1.el6 epel 69 k python-requests noarch 2.6.0-3.el6 base 95 k python-six noarch 1.9.0-2.el6 base 28 k python-urllib3 noarch 1.10.2-1.el6 base 101 k python-zmq x86_64 14.3.1-1.el6 epel 467 k salt noarch 2015.5.10-2.el6 epel 4.2 M zeromq3 x86_64 3.2.5-1.el6 epel 338 k Updating for dependencies: python x86_64 2.6.6-64.el6 base 76 M python-libs x86_64 2.6.6-64.el6 base 5.3 M Transaction Summary ======================================================================================== Install 17 Package(s) Upgrade 2 Package(s) Installed: salt-master.noarch 0:2015.5.10-2.el6 Dependency Installed: PyYAML.x86_64 0:3.10-3.1.el6 libyaml.x86_64 0:0.1.3-4.el6_6 m2crypto.x86_64 0:0.20.2-9.el6 openpgm.x86_64 0:5.1.118-3.el6 python-babel.noarch 0:0.9.4-5.1.el6 python-backports.x86_64 0:1.0-5.el6 python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el6.centos python-chardet.noarch 0:2.2.1-1.el6 python-jinja2.x86_64 0:2.2.1-2.el6_5 python-msgpack.x86_64 0:0.4.6-1.el6 python-requests.noarch 0:2.6.0-3.el6 python-six.noarch 0:1.9.0-2.el6 python-urllib3.noarch 0:1.10.2-1.el6 python-zmq.x86_64 0:14.3.1-1.el6 salt.noarch 0:2015.5.10-2.el6 zeromq3.x86_64 0:3.2.5-1.el6 Dependency Updated: python.x86_64 0:2.6.6-64.el6 python-libs.x86_64 0:2.6.6-64.el6 saltstatck 配置文件位于/etc/salt/master ,默认不需要更改。 ``` ## master 设置 设置salt 开机启动: # chkconfig salt-master on 并启动 该程序。 # /etc/init.d/salt-master start 确认服务己启动,如果失败请检查防火墙设置 # netstat -tanlp |grep 4505 tcp 0 0 0.0.0.0:4505 0.0.0.0:* LISTEN 2058/python2.6 [root@master ~]# netstat -tanlp |grep 4506 tcp 0 0 0.0.0.0:4506 0.0.0.0:* LISTEN 2080/python2.6 A INPUT -m state –state NEW -m tcp -p tcp –dport 4505 -j ACCEPT A INPUT -m state –state NEW -m tcp -p tcp –dport 4506 -j ACCEPT ## minion客户端 安装 ### 先导入 yum 源 的安装包。 Aliyun: # wget http://mirrors.aliyun.com/repo/Centos-6.repo /etc/yum.repos.d/Centos-6.repo ### 网易的yum: # wget http://mirrors.163.com/.help/CentOS6-Base-163.repo /etc/yum.repos.d/CentOS6-Base-163.repo ### epel yum: # wget http://mirrors.aliyun.com/repo/epel.repo /etc/yum.repos.d/epel.repo ### salt: # wget https://repo.saltstack.com/yum/redhat/5Client/i386/saltstack-rhel5.repo # wget https://repo.saltstack.com/yum/redhat/6Client/i386/saltstack-rhel6.repo # yum makecache # yum search all salt-minion # yum install salt-minion ## centos 5.11: ```python Install 28 Package(s) Upgrade 0 Package(s) Total download size: 23 M Is this ok [y/N]: y Downloading Packages: (1/28): python26-backports 1.0-5.el5.i386.rpm | 3.7 kB 00:00 (2/28): python26-ordereddict-1.1-3.el5.noarch.rpm | 6.6 kB 00:00 (3/28): python26-backports-ssl_match_hostname-3.4.0.2-5.el5.noarch.rpm | 11 kB 00:00 (4/28): libffi-3.0.5-1.el5.i386.rpm | 21 kB 00:00 (5/28): python26-markupsafe-0.11-3.el5.i386.rpm | 24 kB 00:00 (6/28): python26-six-1.7.3-3.el5.noarch.rpm | 29 kB 00:00 (7/28): salt-minion-2016.3.1-1.el5.noarch.rpm | 32 kB 00:00 (8/28): python26-urllib3-1.5-8.el5.noarch.rpm | 52 kB 00:00 (9/28): libyaml-0.1.2-8.el5.i386.rpm | 55 kB 00:00 (10/28): python26-pycurl-7.15.5.1-9.el5.i386.rpm | 72 kB 00:00 (11/28): yum-utils-1.1.16-21.el5.centos.noarch.rpm | 74 kB 00:00 (12/28): python26-requests-1.1.0-5.el5.noarch.rpm | 79 kB 00:00 (13/28): python26-msgpack-0.4.5-1.el5.i386.rpm | 83 kB 00:00 (14/28): pciutils-3.1.7-5.el5.i386.rpm | 115 kB 00:00 (15/28): python26-PyYAML-3.08-4.el5.i386.rpm | 166 kB 00:02 (16/28): hwdata-0.213.30-1.el5.noarch.rpm | 477 kB 00:00 (17/28): python26-distribute-0.6.10-4.el5.noarch.rpm | 511 kB 00:00 (18/28): python26-chardet-2.0.1-2.el5.noarch.rpm | 544 kB 00:01 (19/28): python26-zmq-14.5.0-2.el5.i386.rpm | 563 kB 00:00 (20/28): zeromq-4.0.5-4.el5.i386.rpm | 620 kB 00:00 (21/28): python26-crypto-2.6.1-2.el5.i386.rpm | 659 kB 00:00 (22/28): gmp-4.1.4-10.el5.i386.rpm | 664 kB 00:00 (23/28): python26-libs-2.6.8-3.el5.i386.rpm | 671 kB 00:00 (24/28): python26-tornado-4.2.1-1.el5.i386.rpm | 733 kB 00:00 (25/28): python26-jinja2-2.5.5-6.el5.noarch.rpm | 793 kB 00:00 (26/28): python26-babel-0.9.5-2.el5.noarch.rpm | 1.8 MB 00:02 (27/28): python26-2.6.8-3.el5.i386.rpm | 6.5 MB 00:01 (28/28): salt-2016.3.1-1.el5.noarch.rpm | 8.1 MB 00:01 ---------------------------------------------------- Total 986 kB/s | 23 MB 00:24 ```
Bobby
2021年12月20日 06:36
分享文档
收藏文档
阅读
152
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码