Difference between revisions of "Basic"
From AlphaBook
(→Network Setup) |
(→Network Setup) |
||
Line 18: | Line 18: | ||
* /etc/resolv.conf | * /etc/resolv.conf | ||
** name server 114.114.114 | ** name server 114.114.114 | ||
− | ** search | + | ** search corp.alphabook.cn |
* Command 'ifconfig' not found, but can be installed with: | * Command 'ifconfig' not found, but can be installed with: |
Revision as of 13:36, 25 September 2018
Install
Network Setup
- List network adaptors
- ip a
- /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 corp.alphabook.cn
- 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