You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
最近本地装了个Ubuntu1804 server, 但是发现只要是执行
sudo
的命令都反应特别慢, 哪怕是一个简单的sudo ls
都要反应个一分钟左右。后来发现是由于安装的时候,
hostname
我填的是localdev
, 而不是默认的localhost
, 导致/etc/hosts
中没有localdev
对应的IP地址信息。解决方法:
在
/etc/hosts
中添加localdev
的映射关系,保存并退出, 立刻生效。:tada:添加后的hosts文件:
The text was updated successfully, but these errors were encountered: