RHEL 6 配置yum源,可以把DVD光盘里的软件包复制到硬盘上,然后设置一个本地安装源,参照如下的步骤操作。 #cat>/etc/yum.repos.d/local.repo<<EOF [local] name=local baseurl=file:///opt/rhel-6 enabled=1 gpgcheck=1 gpgkey=file:///e
原创 2012-11-08 18:44:02
395阅读
刚装好了 RedHat 6 系统,但是使用 yum 的时候总是提示 nothing to do,并且什么都做不了。后来经过一番搜索才知道,红帽的 yum 在线更新是收费的,而且必须注册系统之后才能使用。之前使用 Ubuntu 的时候由于国外的 apt-get 源过慢是可以更新国内的源的,LZ经常用的就是网易的源或者是某些高校的源。于是乎LZ便想到了更换 yum 的源来解决这个问题。后来发现想要使用
原创 2023-05-29 00:15:03
224阅读
1,删除redhat原有的yum, rpm -qa | grep yum | xargs rpm -e --nodeps;2,下载yum安装文件wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm wget http://mirrors.163.com/centos/6
原创 2013-05-29 00:34:14
1525阅读
本文参考:http://blog.itpub.net/23890223/viewspace-757724/谢谢博主。。系统环境:系统版本:[root@red-test yum.repos.d]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago)内核版本:[root@red-test
原创 2014-08-19 12:02:51
2190阅读
有好多朋友使用linux redhat版本是不是还在为rpm包的安装而烦恼,yum工具的使用无意是解决这一难题的好工具,他可以解决包安装中依赖问题,但是对于redhat版本的系统来说如果想使用yum的在线安装功能是需要银子的,那有没有在redhat下不要银子就可以使用yum呢,回答是肯定的可以使用,我们可以借助于centos系统开源包来给我们的yum工具做相应配置就可以使用了。配置如下:由于Red
转载 2016-10-14 15:30:31
782阅读
redhat 6 搭建本地yum源挂载光盘# mkdir /home/yum# cp -rv /media/RHEL_6.5\ x86_64\ Disc\ 1/Packages/* /home/yum/  (redhat 6.5)# rpm -i /home/yum/deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm # rpm -i /home/yu
原创 2014-12-09 18:24:15
602阅读
一、redhat5 配置yum 源cd /etc/yum.repos.d/ cp rhel-debuginfo.repo rhel-debuginfo.repo.bak 替换rhel-debuginfo.repo 然后导入key,记得dns配置好了32bit:rpm --import http://ftp.sjtu.edu.cn/centos/5/os/i386/RPM-GPG-KEY-CentO
原创 2014-08-27 16:03:45
967阅读
1点赞
2评论
配置RedHat 6系统YUM网易源卸载redhat自带yum,然后下载centos的yum,安装后修改配置文件 1. 首先到http://mirrors.163.com/centos下载软件包x86_64 地址:http://mirrors.163.com/centos/6/os/x86_64/Packages/必要下载的软件包有(以64位系统为例):a python-ini
原创 2015-07-03 11:12:12
1089阅读
一,配置本地yum1,挂载光盘mount /dev/cdrom/mnt/media2,新建本地yun源的配置文件vi /etc/yum.repos.d/local.repo加入以下信息:[Local]name=Localbaseurl=file:///mnt/mediaenable=1gpgcheck=0二,配置第三方yum1.删除redhat 原有的yumrpm -aq|grep yum|xar
转载 精选 2014-05-19 21:57:02
473阅读
1点赞
1评论
第一步:删除默认yum的rpm包。命令如下rpm -aq | grep yum |xargs rpm -e --nodeps第二步:下载Centos的yum安装包注意,如果下载时找不到文件,就登录到:http://mirrors.163.com/centos/6/os/x86_64/ 上查找相应的文件。然后再下载。wget http://mirrors.163.com/centos/6/os/x8
转载 精选 2015-01-12 16:25:24
955阅读
Redhat6 配置本地yum
原创 2012-08-21 14:22:12
1191阅读
切换到yum源存放目录[root@rhel6 ~]# cd /etc/yum.repos.d/2.wget方式下载网易Centos yum源[root@rhel6 yum.repos.d]# wget http://mirrors.163.com/.help/CentOS...
翻译 2021-09-08 10:31:24
776阅读
思路:卸载redhat自带yum,然后下载centos的yum,安装后修改配置文件1、首先到http://mirrors.163.com/centos下载软件包x86 地址:http://mirrors.163.com/centos/6/os/i386/Packages/x86_64 地址:http://mirrors.163.com/centos/6/os/x86_64/Packages/必要下
转载 精选 2014-04-22 09:54:32
894阅读
#!/bin/bash##1、删除redhat原有的yum源rpm -qa | grep yum | xargs rpm -e --nodeps#2、下载新的yum安装包wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpmwget http://mirrors
原创 2015-12-29 15:47:06
714阅读
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm  rpm -ivh epel-release-latest-6.noarch.rpm
yum
原创 2017-09-22 18:03:10
929阅读
###################Redhat5#################第一步手动挂载RedHat5.5的镜像到虚拟机的虚拟光驱里见下图:第二步将镜像挂载到RedHat5.5的/mnt目录下这样才能进行操作mount /dev/cdrom /mnt/第三步在/etc/yum.repos.d/下创建server.repo文件方法见下图cd /etc/yum.repos.d/touch
转载 精选 2013-07-08 15:56:29
406阅读
解决ThissystemisnotregisteredwithRHN问题在redhat5.4上利用yum安装一个软件的时候,出现了上述错误提示,原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案可以使用CentOS的yum。下面介绍下使用centos的流程1.卸载rhel的默认安装的yum包查看yum包rpm-qa|grepyum卸载之rpm-qa|grepyum|xar
原创 2012-03-20 18:03:32
666阅读
最近在研究一个开源项目(licode),其中需要使用yum安装一堆依赖库,但是redhat(没有注册)不能使用yum,如果手动去一点点下载和安装那些依赖库,实在太痛苦,顾网上找一些资料希望可以让redhat linux 也可以使用 yum,但是讲的都不太靠谱,有些是安装包下载失败,有些是讲的过于复杂,最后东拼西凑还是搞定了。为了希望各位不要再重复浪费时间来搞定这个事情,特意制作了一个安装包。下载安
原创 2015-04-26 13:41:47
205阅读
Red Hat Linux Yum: Simplifying Package Management Introduction In the world of Linux distributions, Red Hat has been a trusted name for decades. Known for its stability, security, and strong support
原创 2024-02-06 11:55:36
24阅读
[main] cachedir=/var/cache/yum keepcache=1 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metada
原创 2011-12-30 16:41:31
1368阅读
  • 1
  • 2
  • 3
  • 4
  • 5