当前位置:网站首页>Redhat7 configuration yum
Redhat7 configuration yum
2022-04-22 08:46:00 【Firefly ignition】
install Redhat The registration information is usually not filled in when the virtual machine , This product is to be purchased , So it can't be used yum Download a software , Configuration required .
1. Get into YUM Define file directory
cd /etc/yum.repos.d/
2. Delete the current yun Source
rm -rf *
3. Create and edit yum file , The suffix must be .repo
vim /etc/yum.repos.d/rhel7.repo
Add the following
[rhel7]
name=rhel7.repo
baseurl=http://mirrors.163.com/centos/7/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

4. Check the configuration
yum repolist
5. Update cache
yum clean all Clear cache
yum makecache Create a new cache
Test installation wireshark

Configuration complete
Reprinted from :https://jingyan.baidu.com/article/c275f6ba6e2c80e33c75675e.html
版权声明
本文为[Firefly ignition]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220747539624.html
边栏推荐
猜你喜欢

"Unexpected" operation in SQL statement

Pointer and string

100. Same tree (easy)

Cesium loads terrain data (cesiumlab makes terrain data), from source data to terrain service

xfs 文件系统的备份和恢复(包含磁盘挂载)

Dynamic memory management of C

Level 3: node status check, data view and update

Function pointers and pointer functions

Redis is easy to use

工业缺陷检测项目实战(三)——基于FPN_Tensorflow的PCB缺陷检测
随机推荐
Level 3: node quota and other commands
94. Middle order traversal of binary tree (easy)
Reorganize notes: [Ultimate method] create user-defined code templates in vscade
First knowledge of C language ~ circular statement
Use of stream
RHEL7 配置本地yum源
PCIe learning - basic concepts of PCIe bus (6)
226. Flip binary tree (easy)
tar 源码包管理-源码包安装方法
DTV terminology
Cesium collects terrain height and model height (asynchronous method, suitable for more data)
Construction of sentinel service monitoring system
sentinel服务监控系统搭建
Constructor and toString
初识C语言~分支语句
Stream 流的使用
VMware虚拟机通信与联网
varchar与char有什么区别?
RHEL7——进程管理
蓝桥杯:Sine之舞[Jav语言用递归实现]