摘要:
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 阅读全文
摘要:
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 阅读全文