rhel5构建本地yum库
1、创建.repo配置文件。
[root@localhost ~]# vi /etc/yum.repos.d/rhel5-rpms-from-lansvr.repo
[Cluster]
name=Cluster Directory
baseurl=ftp://192.168.4.1/rhel5/Cluster
enabled=1
gpgcheck=0
[ClusterStorage]
name=ClusterStorage Directory
baseurl=ftp://192.168.4.1/rhel5/ClusterStorage
enabled=1
gpgcheck=0
[Server]
name=Server Directory
baseurl=ftp://192.168.4.1/rhel5/Server
enabled=1
gpgcheck=0
[VT]
name=VT Directory
baseurl=ftp://192.168.4.1/rhel5/VT
enabled=1
gpgcheck=0
2、清除旧的缓存数据。
[root@localhost ~]# yum clean all
3、软件安装测试
1)能够使用yum下载安装软件。
例如,使用以下命令会下载安装bind、bind-chroot软件包(自动查找解决依赖关系):[root@localhost ~]# yum install bind-chroot
2)使用system-config-packages“添加删除程序”(在X-Window环境)。
应该能够浏览并安装集群、集群存储、虚拟化……等各项软件包。……
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库rhel5构建本地yum库(2)在线全文阅读。
相关推荐: