Physical machine installation Ubuntu 20.04

Physical machine installation Ubuntu 20.04

1, System installation

An error occurs when installing the system using the USB flash disk. The reason is that the boot mode used in the previous installation of windows 10 is legacy, which needs to be changed to uefi. Press the shortcut key to enter the BIOS and modify the boot option.

If no modification is made, an error will be reported: error: symbol 'grub_calloc' not found.

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-udkieirbg-1636779978410) (/ home / Curtis / desktop / markdown / image-20211113125451923. PNG)]

The modification options are as follows

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-iy2K9VCp-1636779978418)(/home/curtis/Desktop/Markdown/image-20211113130524312.png)]

2, Component installation

1. Change the source of Linux
#Backup original source
cp -rf /etc/apt/source.list /etc/apt/source.list

#Tsinghua source get address
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

#Modify south.list to Tsinghua source
vi /etc/apt/source.list

#20.04 source
# The source image is annotated by default to improve apt update speed. You can cancel the annotation if necessary
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse

# Pre release software source, not recommended
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-RldF3tk3-1636779978421)(/home/curtis/Desktop/Markdown/image-20211113123820247.png)]

2. Install Sogou input method

https://pinyin.sogou.com/linux/help.php

After the above steps are completed, the following steps are needed to truly complete the configuration of the input method.

1. Click the keyboard icon - > configuration in the upper right corner to add Sogou Pinyin

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-Ccg2BJhr-1636779978424)(/home/curtis/Desktop/Markdown/image-20211113124017569.png)]

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-uA7CTFnQ-1636779978427)(/home/curtis/Desktop/Markdown/image-20211113124311602.png)]

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-1AGzWu3z-1636779978431)(/home/curtis/Desktop/Markdown/image-20211113124445163.png)]

This completes the installation of Sogou Pinyin, enjoy!!!

3. Screenshot tool

I personally recommend using flameshot, which has more complete functions than the tools provided by the system.

Installation method: after ubuntu adds the source, directly install apt:

sudo apt install flameshot

Set shortcut keys:

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-QQXFmhCa-1636779978435)(/home/curtis/Desktop/Markdown/image-20211113122748594.png)]

Add shortcuts to your preferences:

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-1pXdlEHb-1636779978437)(/home/curtis/Desktop/Markdown/image-20211113121830293.png)]

4. Install and configure vim

Installation method:

sudo apt install vim

Configuration file, which can be configured according to your preferences:

~/.vimrc

Tags: Linux Operation & Maintenance Ubuntu

Posted on Fri, 12 Nov 2021 23:31:16 -0500 by btrsrinivasarao