centos 域名硬解析(linux)时间:2023-03-09 16:22:06 centos做硬解析跟Windows一样修改一个文件。 具体文件为:/etc/hosts。修改命令: vi /etc/hosts 格式个Windows也一样的。