Ubuntu Server 20.04 System Installation Tutorial

Insert a USB bootable disk on the device or mount the ISO image on the virtual machine, wait for a while and then load the language selection interface as shown in the figure below.

Press Enter directly to select the default English

To configure the network physical machine, it is best to configure the network first

Select the network card, edit IPV4

Modify fixed IP address

Configure the proxy, just press Enter to skip

Configure the software source, if you don’t want to modify it, just press Enter to continue

Select the installation disk and press Enter to automatically allocate by default. If manual partitioning is required, select [custom storage layout]

Check whether the disk partition meets your requirements, press Enter to continue

Confirm again Continue to continue

Set computer name, user name and password

Press the space bar to choose to install the OpenSSH Server service

Select the preset environment, select as needed, and press Enter to continue if you don’t need it

Start to install the system, if the network status will automatically install the system update

You can also directly select [Cancel update and reboot] to restart without installing the update

Successfully log in to the system after entering the account password

Additional settings:

1. Update the system

sudo apt update

sudo apt upgrade

2. Install ifconfig

sudo apt install net-tools

3. View IP

ifconfig

4. Enable root user login

1. Set a password for the root account

Enter the command in the current common user interface:

sudo passwd root

Then press the prompt to enter the password twice.

2. Modify the sshd configuration

sudo vi /etc/ssh/sshd_config

Press i to enter the edit mode, and find #PermitRootLogin prohibit-password, which is commented out by default. Add a line directly below: PermitRootLogin yes, then press esc, enter: wq to save and exit.

3. Restart the sshd service

sudo systemctl restart sshd

 




 Ubuntu Server 20.04 System Installation Tutorial

Guess you like

Origin blog.csdn.net/u013250861/article/details/130547611