linux 安装rmp软件包_无需整理

yum install vsftpd 或者  yum groupinstall  Virtualization


注:rhel6.0 若是出现 yum的/repodata/repomd.xml的错误浅析html

能够将这个文件拷贝到你指定的目录下 repodata/repomd.xmllinux

好比方红色部分的位置  你就能够拷贝到/mnt/目录下ui

etc/yum.repos.d/rhel-debuginfo.repo文件的内容:

[rhel-debuginfo]
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/ ##安装文件的目录,这是从局域网中挂载的rhel5.2的安装包和文件

enabled=1
gpgcheck=##1为激活gpg检测,0为否
gpgkey=file:///mnt/RPM-GPG-KEY-redhat-release ##、mnt下对应的rpm包的验证文件url

相关文章
相关标签/搜索