RHEL6.1安装光盘本地YUM更新源

mount /dev/cdrom /mnt   //挂载安装光盘


vi /etc/yum.repos.d/local.repo   //修改本地更新源文件,添加内容
[HightAvailability]
name=HightAvailability
baseurl=file:///mnt/HighAvailability
enable=1
gpgcheck=0

[LoadBalancer]
name=LoadBalancer
baseurl=file:///mnt/LoadBalancer
enable=1
gpgcheck=0

[Server]
name=Server
baseurl=file:///mnt/Server
enable=1
gpgcheck=0


你可能感兴趣的:(server,File)