Update install.md
This commit is contained in:
parent
649468074b
commit
315b2d0751
|
@ -27,13 +27,13 @@ If you're using a cloud VM, you likely already have a static IP address. Check w
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /etc/netplan && ls # find the netplan filename
|
cd /etc/netplan && ls # find the netplan filename
|
||||||
sudo nano ##-netcfg.yaml
|
sudo nano ##-network-manager-all.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
If the Netplan configuration is empty, fill in the file with the example below. Otherwise,
|
If the Netplan configuration is empty, fill in the file with the example below. Otherwise,
|
||||||
input the IP address reserved for the server in `xxx.xxx.xxx.xxx/yy` format, the gateway (the IP address
|
input the IP address reserved for the server in `xxx.xxx.xxx.xxx/yy` format, the gateway (the IP address
|
||||||
of your router), and the DNS nameserver. If you don't have a nameserver on your network,
|
of your router), and the DNS nameserver. If you don't have a nameserver on your network,
|
||||||
feel free to use Cloudflare's: `1.1.1.1` and `1.0.0.1`.
|
feel free to use Cloudflare's: `1.1.1.1` and `1.0.0.1`. In this File is "Tab" not allowed.
|
||||||
|
|
||||||
```
|
```
|
||||||
network:
|
network:
|
||||||
|
@ -44,7 +44,7 @@ network:
|
||||||
addresses: [192.168.88.8/24]
|
addresses: [192.168.88.8/24]
|
||||||
gateway4: 192.168.88.1
|
gateway4: 192.168.88.1
|
||||||
nameservers:
|
nameservers:
|
||||||
addresses: 192.168.88.1
|
addresses: [192.168.88.1]
|
||||||
```
|
```
|
||||||
|
|
||||||
After the netplan file has been saved, run `sudo netplan apply` to apply changes.
|
After the netplan file has been saved, run `sudo netplan apply` to apply changes.
|
||||||
|
|
Loading…
Reference in New Issue