提示:Ubuntu20.04下载与安装
前言
下载安装Ubuntu20.04
下载地址
http://mirrors.163.com/ubuntu-releases/20.04/
安装步骤
按正常步骤安装即可,网上有大量资料,这里主要记录问题点及修复方案。
可参考:https://blog.youkuaiyun.com/hack_18520/article/details/143466277
修复安装Ubuntu时安装界面显示不全问题
ctrl + alt + t 唤起命令框
执行指令:xrandr -s 1920x1080
更换合适的分辨率后即可正常安装
安装后不能从主机复制贴贴,共享文件夹失效
修复复制贴贴问题:
sudo apt-get autoremove open-vm-tools
sudo apt-get install open-vm-tools
sudo apt-get install open-vm-tools-desktop
修复共享文件夹失效问题:
手动挂载,本次登入有效:sudo vmhgfs-fuse .host:/ /mnt/hgfs
修改 /etc/fstab 文件,添加如下内容,开机自动挂载到 /mnt/hgfs 目录
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
参考链接:https://blog.youkuaiyun.com/challenglistic/article/details/129026025
安装后 sudo apt-get update失效
换源:
修改/etc/apt/source.list文件,最好先备份一下再修改。
根据版本修改代号,常用的Ubuntu版本代号如下:
Ubuntu 22.04:jammy
Ubuntu 20.04:focal
Ubuntu 18.04:bionic
Ubuntu 16.04:xenial
阿里云
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
清华
deb 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 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 https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse