博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
配置使用;yum安装slatstack的master,minion<at>centos6_x86_64
阅读量:6895 次
发布时间:2019-06-27

本文共 23114 字,大约阅读时间需要 77 分钟。

使用:

 

 

#######################################

配置:

 

#######################################

安装:

服务端安装:

[root@OperMainManager about_saltstack]# yum -y install yum-utils.noarchLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.netSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package yum-utils.noarch 0:1.1.30-14.el6 will be updated---> Package yum-utils.noarch 0:1.1.30-17.el6_5 will be an update--> Finished Dependency ResolutionDependencies Resolved========================================================================================================================== Package                     Arch                     Version                             Repository                 Size==========================================================================================================================Updating: yum-utils                   noarch                   1.1.30-17.el6_5                     updates                   102 kTransaction Summary==========================================================================================================================Upgrade       1 Package(s)Total download size: 102 kDownloading Packages:yum-utils-1.1.30-17.el6_5.noarch.rpm                                                               | 102 kB     00:00     warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Importing GPG key 0xC105B9DE: Userid : CentOS-6 Key (CentOS 6 Official Signing Key) 
Package: centos-release-6-5.el6.centos.11.1.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum. Updating : yum-utils-1.1.30-17.el6_5.noarch 1/2 Cleanup : yum-utils-1.1.30-14.el6.noarch 2/2 Verifying : yum-utils-1.1.30-17.el6_5.noarch 1/2 Verifying : yum-utils-1.1.30-14.el6.noarch 2/2 Updated: yum-utils.noarch 0:1.1.30-17.el6_5 Complete![root@OperMainManager about_saltstack]# yumdownloader salt-master salt-minionLoaded plugins: fastestmirror, refresh-packagekitLoading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.netsalt-master-2014.1.4-1.el6.noarch.rpm | 36 kB 00:00 salt-minion-2014.1.4-1.el6.noarch.rpm | 22 kB 00:00 [root@OperMainManager about_saltstack]# lltotal 76-rw-r--r--. 1 root root 14540 Nov 5 2012 epel-release-6-8.noarch.rpm-rw-r--r--. 1 root root 36760 May 9 04:32 salt-master-2014.1.4-1.el6.noarch.rpm-rw-r--r--. 1 root root 22020 May 9 04:32 salt-minion-2014.1.4-1.el6.noarch.rpm[root@OperMainManager about_saltstack]# yum install -y salt-masterLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.netSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package salt-master.noarch 0:2014.1.4-1.el6 will be installed--> Processing Dependency: salt = 2014.1.4-1.el6 for package: salt-master-2014.1.4-1.el6.noarch--> Running transaction check---> Package salt.noarch 0:2014.1.4-1.el6 will be installed--> Processing Dependency: sshpass for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-zmq for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-msgpack for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-jinja2 for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: m2crypto for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: PyYAML for package: salt-2014.1.4-1.el6.noarch--> Running transaction check---> Package PyYAML.x86_64 0:3.10-3.el6 will be installed--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-3.el6.x86_64---> Package m2crypto.x86_64 0:0.20.2-9.el6 will be installed---> Package python-jinja2.x86_64 0:2.2.1-1.el6 will be installed--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.2.1-1.el6.x86_64---> Package python-msgpack.x86_64 0:0.1.13-3.el6 will be installed---> Package python-zmq.x86_64 0:2.2.0.1-1.el6 will be installed--> Processing Dependency: libzmq.so.3()(64bit) for package: python-zmq-2.2.0.1-1.el6.x86_64---> Package sshpass.x86_64 0:1.05-1.el6 will be installed--> Running transaction check---> Package libyaml.x86_64 0:0.1.6-1.el6 will be installed---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed---> Package zeromq3.x86_64 0:3.2.4-1.el6 will be installed--> Processing Dependency: libpgm-5.1.so.0()(64bit) for package: zeromq3-3.2.4-1.el6.x86_64--> Running transaction check---> Package openpgm.x86_64 0:5.1.118-3.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved========================================================================================================================== Package Arch Version Repository Size==========================================================================================================================Installing: salt-master noarch 2014.1.4-1.el6 epel 36 kInstalling for dependencies: PyYAML x86_64 3.10-3.el6 epel 157 k libyaml x86_64 0.1.6-1.el6 epel 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-jinja2 x86_64 2.2.1-1.el6 base 465 k python-msgpack x86_64 0.1.13-3.el6 epel 29 k python-zmq x86_64 2.2.0.1-1.el6 epel 424 k salt noarch 2014.1.4-1.el6 epel 2.8 M sshpass x86_64 1.05-1.el6 epel 19 k zeromq3 x86_64 3.2.4-1.el6 epel 334 kTransaction Summary==========================================================================================================================Install 12 Package(s)Total download size: 6.3 MInstalled size: 23 MDownloading Packages:(1/12): PyYAML-3.10-3.el6.x86_64.rpm | 157 kB 00:00 (2/12): libyaml-0.1.6-1.el6.x86_64.rpm | 52 kB 00:00 (3/12): m2crypto-0.20.2-9.el6.x86_64.rpm | 471 kB 00:00 (4/12): openpgm-5.1.118-3.el6.x86_64.rpm | 165 kB 00:00 (5/12): python-babel-0.9.4-5.1.el6.noarch.rpm | 1.4 MB 00:00 (6/12): python-jinja2-2.2.1-1.el6.x86_64.rpm | 465 kB 00:00 (7/12): python-msgpack-0.1.13-3.el6.x86_64.rpm | 29 kB 00:00 (8/12): python-zmq-2.2.0.1-1.el6.x86_64.rpm | 424 kB 00:00 (9/12): salt-2014.1.4-1.el6.noarch.rpm | 2.8 MB 00:00 (10/12): salt-master-2014.1.4-1.el6.noarch.rpm | 36 kB 00:00 (11/12): sshpass-1.05-1.el6.x86_64.rpm | 19 kB 00:00 (12/12): zeromq3-3.2.4-1.el6.x86_64.rpm | 334 kB 00:00 --------------------------------------------------------------------------------------------------------------------------Total 3.9 MB/s | 6.3 MB 00:01 Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Installing : sshpass-1.05-1.el6.x86_64 1/12 Installing : libyaml-0.1.6-1.el6.x86_64 2/12 Installing : PyYAML-3.10-3.el6.x86_64 3/12 Installing : python-msgpack-0.1.13-3.el6.x86_64 4/12 Installing : m2crypto-0.20.2-9.el6.x86_64 5/12 Installing : python-babel-0.9.4-5.1.el6.noarch 6/12 Installing : python-jinja2-2.2.1-1.el6.x86_64 7/12 Installing : openpgm-5.1.118-3.el6.x86_64 8/12 Installing : zeromq3-3.2.4-1.el6.x86_64 9/12 Installing : python-zmq-2.2.0.1-1.el6.x86_64 10/12 Installing : salt-2014.1.4-1.el6.noarch 11/12 Installing : salt-master-2014.1.4-1.el6.noarch 12/12 Verifying : openpgm-5.1.118-3.el6.x86_64 1/12 Verifying : PyYAML-3.10-3.el6.x86_64 2/12 Verifying : python-babel-0.9.4-5.1.el6.noarch 3/12 Verifying : python-jinja2-2.2.1-1.el6.x86_64 4/12 Verifying : salt-master-2014.1.4-1.el6.noarch 5/12 Verifying : m2crypto-0.20.2-9.el6.x86_64 6/12 Verifying : python-zmq-2.2.0.1-1.el6.x86_64 7/12 Verifying : python-msgpack-0.1.13-3.el6.x86_64 8/12 Verifying : zeromq3-3.2.4-1.el6.x86_64 9/12 Verifying : libyaml-0.1.6-1.el6.x86_64 10/12 Verifying : sshpass-1.05-1.el6.x86_64 11/12 Verifying : salt-2014.1.4-1.el6.noarch 12/12 Installed: salt-master.noarch 0:2014.1.4-1.el6 Dependency Installed: PyYAML.x86_64 0:3.10-3.el6 libyaml.x86_64 0:0.1.6-1.el6 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-jinja2.x86_64 0:2.2.1-1.el6 python-msgpack.x86_64 0:0.1.13-3.el6 python-zmq.x86_64 0:2.2.0.1-1.el6 salt.noarch 0:2014.1.4-1.el6 sshpass.x86_64 0:1.05-1.el6 zeromq3.x86_64 0:3.2.4-1.el6 Complete!

 

客户端安装:

 

rpm -Uvh http://ftp.linux.ncsu.edu/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
yum update
yum list all && yum makecache
yum install -y salt-minion

rpm -Uvh http://ftp.linux.ncsu.edu/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 && yum list all && yum makecache && yum install -y salt-minion

###############################################################################[root@webosscrmTest src]# yum install -y salt-minionLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.netSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package salt-minion.noarch 0:2014.1.4-1.el6 will be installed--> Processing Dependency: salt = 2014.1.4-1.el6 for package: salt-minion-2014.1.4-1.el6.noarch--> Running transaction check---> Package salt.noarch 0:2014.1.4-1.el6 will be installed--> Processing Dependency: sshpass for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-zmq for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-msgpack for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: python-jinja2 for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: m2crypto for package: salt-2014.1.4-1.el6.noarch--> Processing Dependency: PyYAML for package: salt-2014.1.4-1.el6.noarch--> Running transaction check---> Package PyYAML.x86_64 0:3.10-3.el6 will be installed--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-3.el6.x86_64---> Package m2crypto.x86_64 0:0.20.2-9.el6 will be installed---> Package python-jinja2.x86_64 0:2.2.1-1.el6 will be installed--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.2.1-1.el6.x86_64---> Package python-msgpack.x86_64 0:0.1.13-3.el6 will be installed---> Package python-zmq.x86_64 0:2.2.0.1-1.el6 will be installed--> Processing Dependency: libzmq.so.3()(64bit) for package: python-zmq-2.2.0.1-1.el6.x86_64---> Package sshpass.x86_64 0:1.05-1.el6 will be installed--> Running transaction check---> Package libyaml.x86_64 0:0.1.6-1.el6 will be installed---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed---> Package zeromq3.x86_64 0:3.2.4-1.el6 will be installed--> Processing Dependency: libpgm-5.1.so.0()(64bit) for package: zeromq3-3.2.4-1.el6.x86_64--> Running transaction check---> Package openpgm.x86_64 0:5.1.118-3.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved========================================================================================================================== Package                          Arch                     Version                           Repository              Size==========================================================================================================================Installing: salt-minion                      noarch                   2014.1.4-1.el6                    epel                    22 kInstalling for dependencies: PyYAML                           x86_64                   3.10-3.el6                        epel                   157 k libyaml                          x86_64                   0.1.6-1.el6                       epel                    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-jinja2                    x86_64                   2.2.1-1.el6                       base                   465 k python-msgpack                   x86_64                   0.1.13-3.el6                      epel                    29 k python-zmq                       x86_64                   2.2.0.1-1.el6                     epel                   424 k salt                             noarch                   2014.1.4-1.el6                    epel                   2.8 M sshpass                          x86_64                   1.05-1.el6                        epel                    19 k zeromq3                          x86_64                   3.2.4-1.el6                       epel                   334 kTransaction Summary==========================================================================================================================Install      12 Package(s)Total download size: 6.3 MInstalled size: 23 MDownloading Packages:(1/12): PyYAML-3.10-3.el6.x86_64.rpm                                                               | 157 kB     00:00     (2/12): libyaml-0.1.6-1.el6.x86_64.rpm                                                             |  52 kB     00:00     (3/12): m2crypto-0.20.2-9.el6.x86_64.rpm                                                           | 471 kB     00:00     (4/12): openpgm-5.1.118-3.el6.x86_64.rpm                                                           | 165 kB     00:00     (5/12): python-babel-0.9.4-5.1.el6.noarch.rpm                                                      | 1.4 MB     00:00     (6/12): python-jinja2-2.2.1-1.el6.x86_64.rpm                                                       | 465 kB     00:00     (7/12): python-msgpack-0.1.13-3.el6.x86_64.rpm                                                     |  29 kB     00:00     (8/12): python-zmq-2.2.0.1-1.el6.x86_64.rpm                                                        | 424 kB     00:00     (9/12): salt-2014.1.4-1.el6.noarch.rpm                                                             | 2.8 MB     00:01     (10/12): salt-minion-2014.1.4-1.el6.noarch.rpm                                                     |  22 kB     00:00     (11/12): sshpass-1.05-1.el6.x86_64.rpm                                                             |  19 kB     00:00     (12/12): zeromq3-3.2.4-1.el6.x86_64.rpm                                                            | 334 kB     00:00     --------------------------------------------------------------------------------------------------------------------------Total                                                                                     2.7 MB/s | 6.3 MB     00:02     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum.  Installing : sshpass-1.05-1.el6.x86_64                                                                             1/12   Installing : libyaml-0.1.6-1.el6.x86_64                                                                            2/12   Installing : PyYAML-3.10-3.el6.x86_64                                                                              3/12   Installing : python-msgpack-0.1.13-3.el6.x86_64                                                                    4/12   Installing : m2crypto-0.20.2-9.el6.x86_64                                                                          5/12   Installing : python-babel-0.9.4-5.1.el6.noarch                                                                     6/12   Installing : python-jinja2-2.2.1-1.el6.x86_64                                                                      7/12   Installing : openpgm-5.1.118-3.el6.x86_64                                                                          8/12   Installing : zeromq3-3.2.4-1.el6.x86_64                                                                            9/12   Installing : python-zmq-2.2.0.1-1.el6.x86_64                                                                      10/12   Installing : salt-2014.1.4-1.el6.noarch                                                                           11/12   Installing : salt-minion-2014.1.4-1.el6.noarch                                                                    12/12   Verifying  : openpgm-5.1.118-3.el6.x86_64                                                                          1/12   Verifying  : PyYAML-3.10-3.el6.x86_64                                                                              2/12   Verifying  : python-babel-0.9.4-5.1.el6.noarch                                                                     3/12   Verifying  : salt-minion-2014.1.4-1.el6.noarch                                                                     4/12   Verifying  : python-jinja2-2.2.1-1.el6.x86_64                                                                      5/12   Verifying  : salt-2014.1.4-1.el6.noarch                                                                            6/12   Verifying  : m2crypto-0.20.2-9.el6.x86_64                                                                          7/12   Verifying  : python-zmq-2.2.0.1-1.el6.x86_64                                                                       8/12   Verifying  : python-msgpack-0.1.13-3.el6.x86_64                                                                    9/12   Verifying  : zeromq3-3.2.4-1.el6.x86_64                                                                           10/12   Verifying  : libyaml-0.1.6-1.el6.x86_64                                                                           11/12   Verifying  : sshpass-1.05-1.el6.x86_64                                                                            12/12 Installed:  salt-minion.noarch 0:2014.1.4-1.el6                                                                                     Dependency Installed:  PyYAML.x86_64 0:3.10-3.el6               libyaml.x86_64 0:0.1.6-1.el6            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-jinja2.x86_64 0:2.2.1-1.el6      python-msgpack.x86_64 0:0.1.13-3.el6     python-zmq.x86_64 0:2.2.0.1-1.el6       salt.noarch 0:2014.1.4-1.el6            sshpass.x86_64 0:1.05-1.el6              zeromq3.x86_64 0:3.2.4-1.el6           Complete!

 

 

转载地址:http://ekkdl.baihongyu.com/

你可能感兴趣的文章
Memcached管理与监控工具 MemAdmin
查看>>
mysql 主从复制读写分离
查看>>
在百花之中干掉一个杂草连接...
查看>>
HTML文档基本格式
查看>>
for 循环的关键字 break和continue
查看>>
Map集合的四种遍历方式
查看>>
MySQL监控项一些指标
查看>>
Thinkpad T430s NVS5400M Ubuntu 12.04安装
查看>>
定时拍照功能
查看>>
[Unity3d]SecurityException报错解决办法
查看>>
SCVMM创建Linux虚拟机模版
查看>>
添加 Pool Member - 每天5分钟玩转 OpenStack(123)
查看>>
NSDECODER v1.0
查看>>
游侠原创:vmware下android-x86-4.4-RC1体验
查看>>
OpenMNS--管理网络的绝好工具
查看>>
ORACLE LINUX 6.1安装过程
查看>>
iPhone/Mac Objective-C内存管理原理
查看>>
整理Silverlight资源列表(三)-SL实际运用案例
查看>>
02-BGP选路原则和属性详解--weight
查看>>
7.[数据结构和算法分析笔记]词典 Dictionary
查看>>