An error
Perform sudo su
particularly slow, reported the following error
unable to resolve host ubuntu: Connection timed out
Solution
View hostname file, and remember insidehostname
cat /etc/hostname
Edit the hosts file
vi /etc/hosts
Find 127.0.0.1 localhost
the contents of the hostname file is about to be added to the hosts file
127.0.0.1 localhost hostname
Again running sudo su
speed of the fly
Reference: https://blog.csdn.net/lxlong89940101/article/details/84615712