centos执行命令提示:Loaded plugins: fastestmirror, langpacks You need to be root to perform this command Linux

[gogo@localhost ~]$ yum install -y nginx
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command.

无权限问题,添加su root权限,即可

[gogo@localhost ~]$ su root
Password: 
[root@localhost lss]#

一行虎 发布于 2022-2-18 11:41