摘要:
1、sudo yum install 安装软件经常需要切换root用户或者sudo。 没有设置sudo报错: xx is not in the sudoers file. This incident will be reported. 2、centos设置sudo su - # 切换root vis 阅读全文
posted @ 2023-09-18 15:21
我的天啊~
阅读(162)
评论(0)
推荐(0)
摘要:
1、切用户、切到原文件件 su root cd /etc/yum.repos.d/ 2、下载源文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 3、重命名 mv CentOS-Base.repo CentOS-Base.repo.bak mv 阅读全文
posted @ 2023-09-18 14:13
我的天啊~
阅读(332)
评论(0)
推荐(0)
浙公网安备 33010602011771号