Ubuntu环境下sudo出现unable to resolve host 解决方法

是因为/etc/hosts下的主机名和/etc/hostname下的主机名不一致所导致的错误

所以讲两个改为一致即可~~~

猜你喜欢

转载自blog.csdn.net/zyj_15067066062/article/details/78133174