ubuntu22.04 installation tutorial

1. Select language (default)

insert image description here

2. Cancel the installation of updates (default)

insert image description here

3. Select keyboard language (default)

insert image description here

4. Configure ip, you can choose dhcp directly, or you can choose to configure static ip (default)

insert image description here

5. Configure the agent to skip and not fill in

insert image description here

6. Set mirror source (default)

https://mirrors.aliyun.com/ubuntu/
insert image description here

7. Disk configuration, the default is fine (default)

insert image description here

insert image description here

8. Set username and password (default)

insert image description here

9. Token skip and do not fill in

insert image description here

10. Set up ssh

Move the cursor to [], press and hold the space bar
insert image description here

11. Service installation

Select the service to be installed, move the cursor to [], press and hold the space bar
insert image description here

12. Installation

insert image description here

The installation is complete

insert image description here

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 

Guess you like

Origin blog.csdn.net/god_sword_/article/details/128058265