解决Linxu:You need to be root to perform this command.

182 阅读1分钟

我在虚拟机linxu上执行yum命令的时候,报了:“Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile”

image.png 解决办法: 直接输入su之后回车,你会发现password怎么打都没有,那只是因为linxu的密码保护机制,所以直接输入密码回车就好了(开头这个问题困住了我几分钟)

image.png