redhat5.1安装本机yum出现的问题
2013-03-02 15:02
363 查看
[root@localhost ~]# vi /etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///mnt/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@localhost ~]# rpm -ivh /mnt/Server/createrepo-0.4.4-2.fc6.noarch.rpm
[root@localhost ~]# createrepo -o /etc/yum -g /mnt/Server/repodata/comps-rhel5-server-core.xml /mnt/Server/
[root@localhost ~]# yum clean all
[root@localhost ~]# yum makecache
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///mnt/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@localhost ~]# rpm -ivh /mnt/Server/createrepo-0.4.4-2.fc6.noarch.rpm
[root@localhost ~]# createrepo -o /etc/yum -g /mnt/Server/repodata/comps-rhel5-server-core.xml /mnt/Server/
[root@localhost ~]# yum clean all
[root@localhost ~]# yum makecache
相关文章推荐
- 转 解决在X64 RedHat5.1 下以编译方式安装PHP 出现的种种问题
- 解决在X64 RedHat5.1、centos、linux 下以编译方式安装PHP 出现的种种问题(转)
- 奋斗数天!解决在X64 RedHat5.1 下以编译方式安装PHP 出现的种种问题
- 安装redhat6使用crt出现的问题解决
- yum install gcc安装时出现的问题
- 解决Redhat Linux AS使用yum时出现This system is not registered with RHN的问题(改用CentOS的yum)
- vmware 从4.1升级到5.1 出现的问题 安装完成后鼠标键盘都不能动
- 最近在安装Oracle11.2.0.2.0 for RedHat5.4_32bit,出现了一些问题,总结如下。
- 关于liunx下yum安装mysql+apache+php+phpmyadmin出现的问题
- vmware安装redhat 6出现常见问题
- 安装redhat7.2 64位出现的问题
- Postfix+Cyrus-imap在Redhat Fedora Core 4下安装时出现问题的解决!
- 关于安装linux redhat后无法使用yum命令安装gcc-c++问题的解决过程
- 记录:redhat5.6下安装oracle出现一些问题
- yum 安装出现问题的解决方法
- 解决yum安装时出现another app is currently holding the yum lock问题
- virtualbox中centos用yum安装的mysql关于权限出现的问题
- 用yum更新和安装软件是时出现问题的解决方法
- yum 安装出现问题解决
- yum 安装mysql5.7 是 出现无法登陆问题以及mysql error You must reset your password using ALTER USER statement befor