Difference between revisions of "Basic"
From AlphaBook
(→Network Setup) |
(→Network Setup) |
||
Line 2: | Line 2: | ||
== Network Setup == | == Network Setup == | ||
+ | |||
* /etc/netplan/01-network-manager-all.yaml | * /etc/netplan/01-network-manager-all.yaml | ||
** network: | ** network: | ||
Line 10: | Line 11: | ||
** addresses: [192.168.200.55/24] | ** addresses: [192.168.200.55/24] | ||
** gateway4: 192.168.200.1 | ** gateway4: 192.168.200.1 | ||
− | + | ||
− | |||
* sudo netplan apply | * sudo netplan apply | ||
+ | * /etc/resolv.conf | ||
+ | ** name server 114.114.114 | ||
+ | ** search | ||
+ | |||
* 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:33, 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
- sudo netplan apply
- /etc/resolv.conf
- name server 114.114.114
- search
- 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