Difference between revisions of "Basic"
From AlphaBook
(→Network Setup) |
(→Network Setup) |
||
Line 12: | Line 12: | ||
** nameservers: | ** nameservers: | ||
** addresses: [114.114.114.114] | ** addresses: [114.114.114.114] | ||
− | + | * sudo netplan apply | |
* Command 'ifconfig' not found, but can be installed with: | * Command 'ifconfig' not found, but can be installed with: | ||
** sudo apt install net-tools | ** sudo apt install net-tools |
Revision as of 13:30, 25 September 2018
Install
Network Setup
- /etc/netplan/01-network-manager-all.yaml
- network:
- version: 2
- renderer: NetworkManager
- ethernets:
- ens33:
- addresses: [192.168.200.55/24]
- gateway4: 192.168.200.1
- nameservers:
- addresses: [114.114.114.114]
- sudo netplan apply
- Command 'ifconfig' not found, but can be installed with:
- sudo apt install net-tools
SSH
- sudo apt-get install openssh-server
- sudo gedit /etc/ssh/sshd_config
- sudo service ssh restart