执行命令:yum -y install glances
报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
解决:
vi /etc/yum.repos.d/epel.repo
#baseurl
mirrorlist
改为:
baseurl
#mirrorlist
继续执行命令:yum -y install glances
报错:[Errno 14] problem making ssl connection
解决:
vi /etc/yum.repos.d/epel.repo
将enabled=1先改为enabled=0
然后命令行执行:yum install ca-certificates
安装成功后,将enabled重新改为1
再执行:yum -y install glances
安装成功!
原创文章,作者:kepupublish,如若转载,请注明出处:https://blog.ytso.com/193673.html