yum安裝

tolilong發表於2013-09-26
yum安裝[@more@]

mount /dev/cdrom /mnt 修改

mv /etc/yum.repos.d/rhel-debuginfo.repo /etc/yum.repos.d/wlcsp.repo

修改wlcsp.repo的配置入下:

[root@primary yum.repos.d]# more wlcsp.repo

#[rhel-debuginfo]

[rhel-wlcsp]

name=Red Hat Enterprise Linux $releasever - $basearch - Debug #baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/

baseurl=file:///mnt/Server

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[root@primary /]# yum install httpd

[root@primary /]# yum remove httpd

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-1060940/,如需轉載,請註明出處,否則將追究法律責任。

相關文章