hosts

hosts 文件位于 /etc/hosts

$ vim /etc/hosts
# 单个虚拟主机
127.0.0.1     localhost
# 多个虚拟主机
192.168.0.15  node1 node2 node3

MIT Licensed | Copyright © 2018-present 滇ICP备16006294号

Design by Quanzaiyu | Power by VuePress