摘要: 在docker 容器里使用systemctl命令报错 如:systemctl start keepalived.service 这是因为启动容器命令如下: docker run -d --name centos_1 -it centos:latest /bin/bash或 docker run -d 阅读全文
posted @ 2021-04-10 18:04 守望一心 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 解决办法1:设置dns 执行以下命令,进入网卡设置编辑页面,最后的enp0s3因环境不同而不尽相同,需要先确定文件名#vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 看看文件中有没有dns设置,常见格式如下,如果没有,可以查找下dns并进行设置DNS1= 阅读全文
posted @ 2021-04-10 17:48 守望一心 阅读(5466) 评论(0) 推荐(0) 编辑
摘要: 使用yum按照程序报错如下: One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe t 阅读全文
posted @ 2021-04-10 17:38 守望一心 阅读(5907) 评论(0) 推荐(0) 编辑