1、在shell中运行hostname 结果如图

mac下idea运行项目慢问题解决

2、sudo vim /etc/hosts 添加hostname即可
mac下idea运行项目慢问题解决

即可

相关文章: