1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| [iyunv@vm01 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:28:16:11
inet addr:192.168.0.21 Bcast:192.168.1.255 Mask:255.255.254.0
inet6 addr: fe80::5054:ff:fe28:1611/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2648004 errors:0 dropped:0 overruns:0 frame:0
TX packets:21384 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:338622498 (322.9 MiB) TX bytes:1884671 (1.7 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2694 (2.6 KiB) TX bytes:2694 (2.6 KiB)
[iyunv@vm01 ~]# yum install epel-release -y
[iyunv@vm01 ~]# yum install salt-master -y
[iyunv@vm01 ~]# salt-master --version
salt-master 2015.5.8 (Lithium)
[iyunv@vm01 ~]# /etc/init.d/salt-master start
Starting salt-master daemon: [ OK ]
[iyunv@vm01 ~]# ss -lnpt | grep 45
LISTEN 0 100 *:4505 *:* users:(("salt-master",4882,12))
LISTEN 0 100 *:4506 *:* users:(("salt-master",4902,20))
[iyunv@vm01 ~]#
|