Red Hat6 安装本地yum源文件
来源:互联网 发布:linux编译php扩展 编辑:程序博客网 时间:2024/05/21 17:06
光盘yum源搭建:
a. 挂载光盘
b.编辑yum源文件
c.清除原yum源列表
d.更新yum源列表,使用yum安装rpm包
--------------------------------------------------------------------------------------
[root@localhost ~]# mount /dev/sr0 /mnt/cdrom/
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# vim rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever-$basesearch-Debug
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseq
[root@localhost yum.repos.d]#ls
rhel-debuginfo.repo
[root@localhost yum.repos.d]#yum clean all
[root@localhost yum.repos.d]#yum list
------------------------------------------------------------------------------------------
可以使用yum -y 包名 安装所需要的包了
- Red Hat6 安装本地yum源文件
- Red Hat6.5下使用yum安装MariaDB
- VirtualBox安装Red Hat6.4
- red hat6.5更新yum源
- Linux安装MariaDB(Red Hat6.5 yum安装MariaDB10.1)
- Red Hat7.0本地yum源安装及配置
- rhel源文件安装yum
- red hat 安装yum
- red hat6在虚拟机中安装后对防火墙 IP地址 selinux的配置
- Linux(Red Hat6.4)下安装Oracle 10g 11g经验谈
- Linux(Red Hat6.5)下安装svn服务器,并通过http访问
- Linux VMware Tools安装步骤简易版(red hat6.5)
- linux虚拟机(红帽Red Hat6.4)安装mysql5.1x86_64简易教程!
- Linux(Red Hat6.5)下安装svn服务器,并通过http访问
- red hat centos 安装 yum
- red hat6环境下配置gerrit+apache
- 本地yum安装
- yum本地安装
- 2014 抢票工具 纯java
- Cocos2D将v1.0的tileMap游戏转换到v3.4中一例(三)
- c c++中static的作用
- 辗转相除法求最大公约数
- String null "null"打印的情况一样
- Red Hat6 安装本地yum源文件
- UWP怎么双击后退按钮完全退出应用
- __slot__
- 算法——贪心算法解0-1背包问题
- 优先队列priority_queue用法详解
- matlab :产生一定尺寸一定范围内的随机矩阵,并将小于阈值的数置零
- 半平面求交——点在凸包外
- 双向链表的基本操作
- 欢迎使用CSDN-markdown编辑器