linux主机名显示bogon问题 1、修改/etc/hostname 里面的主机名字 vim /etc/hostname 修改为下图: 2、修改 /etc/hosts,增加自己的ip vim /etc/hosts 修改为下图: