首页 > 代码库 > 配置使用;yum安装slatstack的master,minion<at>centos6_x86_64
配置使用;yum安装slatstack的master,minion<at>centos6_x86_64
使用:
#######################################
配置:
#######################################
安装:
服务端安装:
[root@OperMainManager about_saltstack]# yum -y install yum-utils.noarch Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.net Setting up Install Process Resolving 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 Resolution Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Updating: yum-utils noarch 1.1.30-17.el6_5 updates 102 k Transaction Summary ========================================================================================================================== Upgrade 1 Package(s) Total download size: 102 k Downloading 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: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 Importing GPG key 0xC105B9DE: Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org> 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-6 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: 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-minion Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.net salt-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]# ll total 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-master Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.net Setting up Install Process Resolving 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 Resolution Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Installing: salt-master noarch 2014.1.4-1.el6 epel 36 k Installing 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 k Transaction Summary ========================================================================================================================== Install 12 Package(s) Total download size: 6.3 M Installed size: 23 M Downloading 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_debug Running Transaction Test Transaction Test Succeeded Running 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-minion Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: ftp.sjtu.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.net Setting up Install Process Resolving 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 Resolution Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Installing: salt-minion noarch 2014.1.4-1.el6 epel 22 k Installing 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 k Transaction Summary ========================================================================================================================== Install 12 Package(s) Total download size: 6.3 M Installed size: 23 M Downloading 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_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: 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!
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。