sudo: unable to resolve host [hostname]

sudo: unable to resolve host [hostname]

#sudo vi /etc/hosts

add 127.0.0.1 [hostname] behind the first line and it`s ok.

#sudo vi /etc/hosts

add 127.0.0.1 [hostname] behind the first line and it`s ok.

# host

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×