Windows10 installation Ubuntu20.04 and graphical interface

Windows10 installation Ubuntu20.04 and graphical interface

At present, ubuntu in the microsoft store of the windows 10 system has been updated to version 20.04.
insert image description here

1. Windows configuration before installation

Update windows.
insert image description here
Open the developer mode
insert image description here
to enable or disable the windows function, check the following two options.
insert image description here
Downloading the ubuntu20.04 system is the same as downloading software. I use this one.
insert image description here

Two, ubuntu20.04 system installation

After downloading and installing, ubuntu will appear on the taskbar.
insert image description here
Click Start to set the user name and password. The user name cannot be capitalized. When entering the password, you must remember to switch to English input. It is normal that the password cannot be seen when you enter it.
Root permission after installation, sudo -s
insert image description here
lsb_release -ato view the installation version number
insert image description here

3. Replace Tsinghua University source with ubuntu 20.04

Tsinghua University source address:
https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
insert image description here
If you can’t open the URL, just copy the source below.

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
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

# 预发布软件源,不建议启用
# 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

source update added

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vim /etc/apt/sources.list

insert image description here
Press "i" to enable edit mode.
After editing, press "Esc" to close the editing mode, switch to a new line, enter ":wq" (: wq!), press Enter to save
insert image description here

update

sudo apt update
sudo apt upgrade -y

insert image description here

4. Sinicization of Chinese

sudo apt install language-pack-zh-han* -y
sudo locale-gen zh_CN.GB18030 && sudo locale-gen zh_CN.GB2312 && sudo locale-gen zh_CN.UTF8
sudo apt install fontconfig -y
sudo apt install ttf-mscorefonts-installer -y

insert image description here
insert image description here

sudo apt install -y --force-yes --no-install-recommends fonts-wqy-microhei
sudo apt install -y --force-yes --no-install-recommends ttf-wqy-zenhei
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure locales

Enter the menu, select zh_CN UTF.8 UTF.8
insert image description here
insert image description here
restart after completion

Five, install the graphical interface, VcXsrv way to install the GUI

Install the GUI in the way of VcXsrv, the download address is https://sourceforge.net/projects/vcxsrv/.
insert image description here
If the download speed is slow, use Xunlei.
Thunder download link for this article: https://udomain.dl.sourceforge.net/project/vcxsrv/vcxsrv/1.20.9.0/vcxsrv-64.1.20.9.0.installer.exe
insert image description here
After downloading, press the following configuration to install all the way.
insert image description here
Start vcxsrv, this interface is always open!
insert image description here

6. Install the desktop environment in Ubuntu

The download is slow, turn on your phone's hotspot! ! ! ! !
A total of 597 packages! ! ! !
Patience, patience, patience! ! ! !

sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager

insert image description here
insert image description here

configure ccsm


export  DISPLAY=localhost:0
#执行下面这条命令之前,确保你上一步的XLaunch是开着的并且配置好了
ccsm

insert image description here
Check gnome, other defaults, just close
insert image description here

The terminal calls the ubuntu graphical interface


export DISPLAY=localhost:0
sudo compiz

insert image description here
Perfect call to realize parallel operation of windows10 and ubuntu20.04 dual systems.
insert image description here

Terminal calls to view the directory under ubuntu

A directory is a network address

Explorer.exe .

insert image description here

Guess you like

Origin blog.csdn.net/u011322358/article/details/114285206