ITPub博客

首页 > IT职业 > IT职场 > yum安装

yum安装

原创 IT职场 作者:tolilong 时间:2013-09-26 15:25:19 0 删除 编辑
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博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-1060940/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-13

  • 博文量
    406
  • 访问量
    1208666