當我輸入以下命令時:
netplan try
或
netplan apply
netplan 不輸出任何內容。如果我再次嘗試啟動這些命令 netplan 輸出錯誤:
bind: address already in use
netplan: fatal error: cannot bind to port 2983, is another daemon running?, exiting.
因此 netplan 運行一些進程,就像我啟動服務一樣。
網路計劃設定檔:
network:
version: 2
renderer: NetworkManager
ethernets:
{network dev}:
dhcp4: no
addresses: [{some one public IP}]
gateway4: {XXX.XXX.XXX}.1
nameservers:
addresses: [8.8.8.8]