摘要:
CentOS 7使用yum无法安装htop等工具的解决办法 复现: 在阿里云和163云下,使用yum install htop会提示如下错误: 解决方案: yum -y install epel-release 阅读全文
posted @ 2021-06-29 16:36
凉城旧巷
阅读(481)
评论(0)
推荐(0)
摘要:
CentOS7更换yum源为阿里云yum源 使用root账户进行操作,如果当前用户不是root用户。使用su命令进行提权。 1.进入yum配置文件目录 cd /etc/yum.repos.d 2.备份yum源,方便操作失败之后进行恢复 mv CentOS-Base.repo CentOS-Base. 阅读全文
posted @ 2021-06-29 16:15
凉城旧巷
阅读(959)
评论(0)
推荐(0)