리눅스
CentOS 5에 Salt Minion 설치 방법
변군이글루
2018. 1. 9. 14:24
반응형
CentOS 5에 Salt Minion 설치 방법
1. python26-requests
패키지 다운로드 및 설치
wget http://dl.fedoraproject.org/pub/archive/epel/5/x86_64/python26-requests-1.1.0-5.el5.noarch.rpm
yum install python26-requests-1.1.0-5.el5.noarch
2. salt-minion 설치
wget --no-check-certificate https://repo.saltstack.com/yum/redhat/salt-repo-2015.8-3.el5.noarch.rpm
rpm -ivh salt-repo-2015.8-3.el5.noarch.rpm
yum install salt-minion
CentOS 5 YUM repository 변경 및 epel-release 설치
vim /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
# http://vault.centos.org/?release=5&arch=i386&repo=os
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/5.11/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://vault.centos.org/5.11/extras/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
yum install epel-release
728x90
반응형