1、hosts檔案位置
無論是Linux還是windows都有hosts檔案,我們隻有配置了host檔案才能通過主機名稱去通路該機器。hosts檔案配置至關重要,無論是開發還是測試運維都需要配置,會伴随整個大資料生命周期。
Linux的hosts檔案位置 :/etc/hosts
Windows的hosts檔案位置:C:\Windows\System32\drivers\etc\hosts
2、host配置以及注意事項:
1)、配置格式:ip 域名 主機名稱 | ip 主機名稱
