CentOS 7 Yum install * 报错
1.修改vim /etc/yum.repos.d/CentOS-Base.repo ,把http协议修改为https
2. cat /etc/redhat-release 查询CentOS版本安装对应版本的epel
CentOS7使用yum需要安装epel
epel安装
sudo yum install -y epel-release
stress安装
sudo yum install -y stress
查询
yum list installed|grep epel
最后输入:stress --version 验证是否安装成功
若epel安装错误,卸载
yum remove epel-release.noarch
相关推荐
87901735 2020-06-02
shenzhenzsw 2020-06-03
spb 2020-06-02
89284553 2020-06-02
oZaoHua 2020-04-19
shirley0lhz 2020-02-14
80327065 2020-02-03
lilygg 2019-12-26
秋风瑟瑟 2019-12-21
suject 2019-12-07
83500399 2019-12-02
88510498 2019-11-29
独行者0 2019-11-30
wennuanwarm 2019-12-02
85530494 2013-08-11
rootdream 2015-01-28