linux环境下hostname执行成功,但是hostname -i显示:主机名搜索失败
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
解决方法:在/etc/hosts配置文件下添加:IP地址 主机名
例如:
192.168.3.120 kun-1
然后输入:hostname -i
A beautiful web dashboard for Linux
最近提交(Master分支:3 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐

所有评论(0)