close
Q:
user@localhost:~$ sudo su
sudo: unable to resolve host localhost.localdomain
[sudo] password for user:
A:
Edit your server hosts file (/etc/hosts). You are missing the domain. For example:
It probably has a line like:
127.0.0.1 localhost
Change it to:
127.0.0.1 localhost.localdomain localhost
文章標籤
全站熱搜
留言列表