RHEL yum配置
来源:互联网 发布:做歌软件 编辑:程序博客网 时间:2024/05/20 16:23
/etc/yum.repos.d
[rhel-Server]
name=test
baseurl=file:///<cdrom>/Server
enabled=1
gpgcheck=1
gpgkey=file:///<cdrom>/RPM-GPG-KEY-redhat-release
yum常用命令参数
yum install packagename ---安装包,有提示;
yum install -y packagename ---直接安装包,不提示;
yum update -y packagename ---直接升级包,不提示;
yum remove -y packagename ---直接卸载包,不提示;
yum info packename ---查询包的信息;
yum list all ---列出仓库里的包;
yum provides filename ---查找文件属于哪个包;
yum search packagename ---查找包;
yum grouplist ---查询仓库里面所有组;
yum groupinstall groupname ---安装组里面所有包;
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Sourcebaseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
0 0
- RHEL yum配置
- rhel 配置yum源
- Rhel yum源配置
- RHEL 配置本地YUM源
- [基础]RHEL本地yum配置
- RHEL Yum配置及更新
- RHEL 6.3 yum 数据源配置
- RHEL 7.0 yum源配置
- 配置RHEL使用CENTOS源来YUM
- RHEL 5.4 ,配置 yum为本地源
- [Linux] RHEL配置本地YUM源
- rhel 6.0 配置 yum 本地源
- RHEL 6.2配置本地yum源
- RHEL 6.2配置本地yum源
- rhel 6.5 yum源的配置
- RHEL 7.0 配置本地YUM源
- RHEL 6.8 x86_64 配置CentOS yum源
- RHEL 6.8 X86_64配置CentOS yum源
- myeclipse报内存溢出
- 查询数据库中某个表的总列数
- 我的VIM编辑器配置文件 _vrimrc
- 代理模式(笔记)
- 线性代数学习点(一):向量几何简介
- RHEL yum配置
- tomcat架构之-----基本概念
- fully qualified host name就是fully qualified domain name
- Socket桥(转载)
- 发散 求1-100的和的方法
- android 辅助工具类——文件简单操作辅助类
- tomcat server容器解读
- tomcat 容器生命周期lifecycle
- Java Management extentsions(jmx)与tomcat