Salt(salt-minion) Installation On Centos 5.x
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 설치
# vi /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
'리눅스' 카테고리의 다른 글
Sysbench 설치 및 사용 방법 (0) | 2018.04.10 |
---|---|
[Linux] GRUB2 부팅순서 변경 (0) | 2018.01.22 |
[리눅스] KVM Virsh Console Access On CentOS 6 (0) | 2017.12.06 |
CentOS 7에서 HAProxy를 설정하고 테스트하는 방법 (0) | 2017.12.01 |
CentOS 7에서 멀티 IP 주소를 설정하는 방법(IP Aliases) (0) | 2017.12.01 |