修改 L86duntu 的 Hostname
我們可以透過修改 L86duntu 的 Hostname,讓每個 L86duntu 擁有獨立的網域名稱。
步驟 1
登入 L86duntu,這裡是使用 SSH 來登入:
步驟 2
鍵入 vi /etc/hostname
:
您將看到如下畫面:
步驟 3
上圖中的 “86duino” 是目前的 L86duntu Hostname,我們把 “86duino” 換成您自訂的名稱,這裡假您自訂的名稱為 dmp86duino
,修改完後按下存檔:
接下來,請輸入 reboot
命令,重新開機:
開機完成後系統即會套用新的 Hostname,L86duntu 新的網域名稱將變更為:
您設定的名稱.local
這裡的範例為:dmp86duino.local
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.