1. Select language (default)
2. Cancel the installation of updates (default)
3. Select keyboard language (default)
4. Configure ip, you can choose dhcp directly, or you can choose to configure static ip (default)
5. Configure the agent to skip and not fill in
6. Set mirror source (default)
https://mirrors.aliyun.com/ubuntu/
7. Disk configuration, the default is fine (default)
8. Set username and password (default)
9. Token skip and do not fill in
10. Set up ssh
Move the cursor to [], press and hold the space bar
11. Service installation
Select the service to be installed, move the cursor to [], press and hold the space bar
12. Installation
The installation is complete
13. Configure ssh
set root password
sudo passwd root
#Configure root remote login, switch root account
su root
#Modify the configuration file
vim /etc/ssh/sshd_config
#Add row and save
PermitRootLogin yes
#Restart ssh service
service ssh restart
14. Update
# 检查需要更新的软件包,只检查不更新
apt update
# 列出需要更新的软件包
apt list --upgradable
# 更新已安装的软件包
apt upgrade