摘要: linux设置主机名 1、查看主机名 hostname 默认:localhost.localdomain 2、更改主机名 编辑/etc/hostname,修改成自己需要的主机名 vi /etc/hostname 3、设置hosts 编辑/etc/hosts,将修改的主机名增加一个映射 vi /etc 阅读全文
posted @ 2024-02-01 09:37 站着说话不腰疼 阅读(713) 评论(0) 推荐(0)