centos做硬解析跟Windows一样修改一个文件。 具体文件为:/etc/hosts。修改命令: vi /etc/hosts 格式个Windows也一样的。 转载于:https://www.cnblogs.com/osfipin/p/6102310.html