配置使用;yum安装slatstack的master,minioncentos6_x86_64

时间:2022-12-31 16:54:56

使用:

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

配置:

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

安装:

服务端安装:

[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 :1.1.-.el6 will be updated
---> Package yum-utils.noarch :1.1.-.el6_5 will be an update
--> Finished Dependency Resolution Dependencies Resolved ==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Updating:
yum-utils noarch 1.1.-.el6_5 updates k Transaction Summary
==========================================================================================================================
Upgrade Package(s) Total download size: k
Downloading Packages:
yum-utils-1.1.-.el6_5.noarch.rpm | kB :
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- Key (CentOS Official Signing Key) <centos--key@centos.org>
Package: centos-release--.el6.centos.11.1.x86_64 (@anaconda-CentOS-.x86_64/6.5)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Updating : yum-utils-1.1.-.el6_5.noarch /
Cleanup : yum-utils-1.1.-.el6.noarch /
Verifying : yum-utils-1.1.-.el6_5.noarch /
Verifying : yum-utils-1.1.-.el6.noarch / Updated:
yum-utils.noarch :1.1.-.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.-.el6.noarch.rpm | kB :
salt-minion-2014.1.-.el6.noarch.rpm | kB :
[root@OperMainManager about_saltstack]# ll
total
-rw-r--r--. root root Nov epel-release--.noarch.rpm
-rw-r--r--. root root May : salt-master-2014.1.-.el6.noarch.rpm
-rw-r--r--. root root May : salt-minion-2014.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 :2014.1.-.el6 will be installed
--> Processing Dependency: salt = 2014.1.-.el6 for package: salt-master-2014.1.-.el6.noarch
--> Running transaction check
---> Package salt.noarch :2014.1.-.el6 will be installed
--> Processing Dependency: sshpass for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-zmq for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-msgpack for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-jinja2 for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: m2crypto for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: PyYAML for package: salt-2014.1.-.el6.noarch
--> Running transaction check
---> Package PyYAML.x86_64 :3.10-.el6 will be installed
--> Processing Dependency: libyaml-.so.()(64bit) for package: PyYAML-3.10-.el6.x86_64
---> Package m2crypto.x86_64 :0.20.-.el6 will be installed
---> Package python-jinja2.x86_64 :2.2.-.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.2.-.el6.x86_64
---> Package python-msgpack.x86_64 :0.1.-.el6 will be installed
---> Package python-zmq.x86_64 :2.2.0.1-.el6 will be installed
--> Processing Dependency: libzmq.so.()(64bit) for package: python-zmq-2.2.0.1-.el6.x86_64
---> Package sshpass.x86_64 :1.05-.el6 will be installed
--> Running transaction check
---> Package libyaml.x86_64 :0.1.-.el6 will be installed
---> Package python-babel.noarch :0.9.-5.1.el6 will be installed
---> Package zeromq3.x86_64 :3.2.-.el6 will be installed
--> Processing Dependency: libpgm-5.1.so.()(64bit) for package: zeromq3-3.2.-.el6.x86_64
--> Running transaction check
---> Package openpgm.x86_64 :5.1.-.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Installing:
salt-master noarch 2014.1.-.el6 epel k
Installing for dependencies:
PyYAML x86_64 3.10-.el6 epel k
libyaml x86_64 0.1.-.el6 epel k
m2crypto x86_64 0.20.-.el6 base k
openpgm x86_64 5.1.-.el6 epel k
python-babel noarch 0.9.-5.1.el6 base 1.4 M
python-jinja2 x86_64 2.2.-.el6 base k
python-msgpack x86_64 0.1.-.el6 epel k
python-zmq x86_64 2.2.0.1-.el6 epel k
salt noarch 2014.1.-.el6 epel 2.8 M
sshpass x86_64 1.05-.el6 epel k
zeromq3 x86_64 3.2.-.el6 epel k Transaction Summary
==========================================================================================================================
Install Package(s) Total download size: 6.3 M
Installed size: M
Downloading Packages:
(/): PyYAML-3.10-.el6.x86_64.rpm | kB :
(/): libyaml-0.1.-.el6.x86_64.rpm | kB :
(/): m2crypto-0.20.-.el6.x86_64.rpm | kB :
(/): openpgm-5.1.-.el6.x86_64.rpm | kB :
(/): python-babel-0.9.-5.1.el6.noarch.rpm | 1.4 MB :
(/): python-jinja2-2.2.-.el6.x86_64.rpm | kB :
(/): python-msgpack-0.1.-.el6.x86_64.rpm | kB :
(/): python-zmq-2.2.0.1-.el6.x86_64.rpm | kB :
(/): salt-2014.1.-.el6.noarch.rpm | 2.8 MB :
(/): salt-master-2014.1.-.el6.noarch.rpm | kB :
(/): sshpass-1.05-.el6.x86_64.rpm | kB :
(/): zeromq3-3.2.-.el6.x86_64.rpm | kB :
--------------------------------------------------------------------------------------------------------------------------
Total 3.9 MB/s | 6.3 MB :
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : sshpass-1.05-.el6.x86_64 /
Installing : libyaml-0.1.-.el6.x86_64 /
Installing : PyYAML-3.10-.el6.x86_64 /
Installing : python-msgpack-0.1.-.el6.x86_64 /
Installing : m2crypto-0.20.-.el6.x86_64 /
Installing : python-babel-0.9.-5.1.el6.noarch /
Installing : python-jinja2-2.2.-.el6.x86_64 /
Installing : openpgm-5.1.-.el6.x86_64 /
Installing : zeromq3-3.2.-.el6.x86_64 /
Installing : python-zmq-2.2.0.1-.el6.x86_64 /
Installing : salt-2014.1.-.el6.noarch /
Installing : salt-master-2014.1.-.el6.noarch /
Verifying : openpgm-5.1.-.el6.x86_64 /
Verifying : PyYAML-3.10-.el6.x86_64 /
Verifying : python-babel-0.9.-5.1.el6.noarch /
Verifying : python-jinja2-2.2.-.el6.x86_64 /
Verifying : salt-master-2014.1.-.el6.noarch /
Verifying : m2crypto-0.20.-.el6.x86_64 /
Verifying : python-zmq-2.2.0.1-.el6.x86_64 /
Verifying : python-msgpack-0.1.-.el6.x86_64 /
Verifying : zeromq3-3.2.-.el6.x86_64 /
Verifying : libyaml-0.1.-.el6.x86_64 /
Verifying : sshpass-1.05-.el6.x86_64 /
Verifying : salt-2014.1.-.el6.noarch / Installed:
salt-master.noarch :2014.1.-.el6 Dependency Installed:
PyYAML.x86_64 :3.10-.el6 libyaml.x86_64 :0.1.-.el6 m2crypto.x86_64 :0.20.-.el6
openpgm.x86_64 :5.1.-.el6 python-babel.noarch :0.9.-5.1.el6 python-jinja2.x86_64 :2.2.-.el6
python-msgpack.x86_64 :0.1.-.el6 python-zmq.x86_64 :2.2.0.1-.el6 salt.noarch :2014.1.-.el6
sshpass.x86_64 :1.05-.el6 zeromq3.x86_64 :3.2.-.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 :2014.1.-.el6 will be installed
--> Processing Dependency: salt = 2014.1.-.el6 for package: salt-minion-2014.1.-.el6.noarch
--> Running transaction check
---> Package salt.noarch :2014.1.-.el6 will be installed
--> Processing Dependency: sshpass for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-zmq for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-msgpack for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: python-jinja2 for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: m2crypto for package: salt-2014.1.-.el6.noarch
--> Processing Dependency: PyYAML for package: salt-2014.1.-.el6.noarch
--> Running transaction check
---> Package PyYAML.x86_64 :3.10-.el6 will be installed
--> Processing Dependency: libyaml-.so.()(64bit) for package: PyYAML-3.10-.el6.x86_64
---> Package m2crypto.x86_64 :0.20.-.el6 will be installed
---> Package python-jinja2.x86_64 :2.2.-.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.2.-.el6.x86_64
---> Package python-msgpack.x86_64 :0.1.-.el6 will be installed
---> Package python-zmq.x86_64 :2.2.0.1-.el6 will be installed
--> Processing Dependency: libzmq.so.()(64bit) for package: python-zmq-2.2.0.1-.el6.x86_64
---> Package sshpass.x86_64 :1.05-.el6 will be installed
--> Running transaction check
---> Package libyaml.x86_64 :0.1.-.el6 will be installed
---> Package python-babel.noarch :0.9.-5.1.el6 will be installed
---> Package zeromq3.x86_64 :3.2.-.el6 will be installed
--> Processing Dependency: libpgm-5.1.so.()(64bit) for package: zeromq3-3.2.-.el6.x86_64
--> Running transaction check
---> Package openpgm.x86_64 :5.1.-.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Installing:
salt-minion noarch 2014.1.-.el6 epel k
Installing for dependencies:
PyYAML x86_64 3.10-.el6 epel k
libyaml x86_64 0.1.-.el6 epel k
m2crypto x86_64 0.20.-.el6 base k
openpgm x86_64 5.1.-.el6 epel k
python-babel noarch 0.9.-5.1.el6 base 1.4 M
python-jinja2 x86_64 2.2.-.el6 base k
python-msgpack x86_64 0.1.-.el6 epel k
python-zmq x86_64 2.2.0.1-.el6 epel k
salt noarch 2014.1.-.el6 epel 2.8 M
sshpass x86_64 1.05-.el6 epel k
zeromq3 x86_64 3.2.-.el6 epel k Transaction Summary
==========================================================================================================================
Install Package(s) Total download size: 6.3 M
Installed size: M
Downloading Packages:
(/): PyYAML-3.10-.el6.x86_64.rpm | kB :
(/): libyaml-0.1.-.el6.x86_64.rpm | kB :
(/): m2crypto-0.20.-.el6.x86_64.rpm | kB :
(/): openpgm-5.1.-.el6.x86_64.rpm | kB :
(/): python-babel-0.9.-5.1.el6.noarch.rpm | 1.4 MB :
(/): python-jinja2-2.2.-.el6.x86_64.rpm | kB :
(/): python-msgpack-0.1.-.el6.x86_64.rpm | kB :
(/): python-zmq-2.2.0.1-.el6.x86_64.rpm | kB :
(/): salt-2014.1.-.el6.noarch.rpm | 2.8 MB :
(/): salt-minion-2014.1.-.el6.noarch.rpm | kB :
(/): sshpass-1.05-.el6.x86_64.rpm | kB :
(/): zeromq3-3.2.-.el6.x86_64.rpm | kB :
--------------------------------------------------------------------------------------------------------------------------
Total 2.7 MB/s | 6.3 MB :
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : sshpass-1.05-.el6.x86_64 /
Installing : libyaml-0.1.-.el6.x86_64 /
Installing : PyYAML-3.10-.el6.x86_64 /
Installing : python-msgpack-0.1.-.el6.x86_64 /
Installing : m2crypto-0.20.-.el6.x86_64 /
Installing : python-babel-0.9.-5.1.el6.noarch /
Installing : python-jinja2-2.2.-.el6.x86_64 /
Installing : openpgm-5.1.-.el6.x86_64 /
Installing : zeromq3-3.2.-.el6.x86_64 /
Installing : python-zmq-2.2.0.1-.el6.x86_64 /
Installing : salt-2014.1.-.el6.noarch /
Installing : salt-minion-2014.1.-.el6.noarch /
Verifying : openpgm-5.1.-.el6.x86_64 /
Verifying : PyYAML-3.10-.el6.x86_64 /
Verifying : python-babel-0.9.-5.1.el6.noarch /
Verifying : salt-minion-2014.1.-.el6.noarch /
Verifying : python-jinja2-2.2.-.el6.x86_64 /
Verifying : salt-2014.1.-.el6.noarch /
Verifying : m2crypto-0.20.-.el6.x86_64 /
Verifying : python-zmq-2.2.0.1-.el6.x86_64 /
Verifying : python-msgpack-0.1.-.el6.x86_64 /
Verifying : zeromq3-3.2.-.el6.x86_64 /
Verifying : libyaml-0.1.-.el6.x86_64 /
Verifying : sshpass-1.05-.el6.x86_64 / Installed:
salt-minion.noarch :2014.1.-.el6 Dependency Installed:
PyYAML.x86_64 :3.10-.el6 libyaml.x86_64 :0.1.-.el6 m2crypto.x86_64 :0.20.-.el6
openpgm.x86_64 :5.1.-.el6 python-babel.noarch :0.9.-5.1.el6 python-jinja2.x86_64 :2.2.-.el6
python-msgpack.x86_64 :0.1.-.el6 python-zmq.x86_64 :2.2.0.1-.el6 salt.noarch :2014.1.-.el6
sshpass.x86_64 :1.05-.el6 zeromq3.x86_64 :3.2.-.el6 Complete!