2016年8月29日 星期一

YUM 5

RHEL5 YUM 光碟片

固定將光碟片mount /mnt/cdrom

#  mount CD 片
mount /dev/cdrw /mnt

in  VM
mount -o loop /mnt/hgfs/SOURSE/ISO/rhel-server-5.8-x86_64-dvd.iso  /mnt/cdrom



RHEL 5 安裝後基本該裝的軟體

yum install -y




rm -rf /etc/yum.repos.d/yum.repo/*
vi "/etc/yum.repos.d/yum.repo"

使用光碟片



[rpm]
name=RPM
baseurl=file:///mnt/cdrom/Server/
enabled=1
gpgcheck=0

YUM URL


[rpm]
name=RPM
baseurl=http://192.168.1.80:8080/rhel/rhel-5.11/Server/
enabled=1
gpgcheck=0



以下為Cluster 若需要才放

[vas-deploy-Cluster]
name=Red Hat Enterprise Linux 5.8 ISO Cluster
baseurl=http://192.168.1.80:8080/rhel/rhel-5.11/Cluster
enabled=1



yum groupinstall clustering -y

沒有留言:

RHEL install EPEL

  https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...