博主在首次安装过程中,遇到了一个错误提示:
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Bad id for repo: mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.xn--repo(-qh2hy45ghw9f4mi, byte = ( 60
You need to be root to perform this command.
You need to be root to perform this command.
权限问题
所以我们首先切换到root账户的方法,再开始安装。
1.用户切换
(1)sudo 命令
这样输入当前管理员用户密码就可以得到超级用户的权限。但默认的情况下5分钟root权限就失效了。
(2)sudo -i
通过这种方法输入当前