ubuntu20相关配置(双系统)
ubuntu20下载安装
分区设置
- 500M (EFI系统分区)
- 5000M (交换空间)
- 50000M 挂载到 ‘/’
- 50000M 挂载到 ‘/home'
安装启动引导器的设备与EFI分区选择一致就可以了(一定要)
双系统时间同步
sudo apt -y install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc
git密钥配置
- 生成密钥
#1.生成密钥
ssh-keygen -t rsa
#2.将密钥中的内容拷贝之Github中
gedit ~/.ssh/id_rsa.pub
#3.测试是否配置成功
ssh -T git@github.com
下面是可选项,配置自己的一些信息
git config --global user.name "your name"
git config --global user.email "your email"
配置镜像源
# 1. 对文件进行备份
cd /etc/apt && sudo cp sources.list sources.list.backup
# 2. 打开镜像源并进行替代
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
sudo gedit /etc/apt/sources.list
# 3.保存后进行更新
sudo apt update && sudo apt -y upgrade
改变目录为英文
export LANG=en_US
xdg-user-dirs-gtk-update
显卡驱动安装
#将ubuntu20中的显卡驱动先禁用
sudo gedit /etc/modprobe.d/blacklist.conf
#加上下面两行
blacklist nouveau
options nouveau modeset=0
#更新系统信息
sudo update-initramfs -u
#重启
sudo reboot
#添加显卡驱动
sudo add-apt-repository ppa:graphics-drivers/ppa --yes
sudo apt update
#检查支持的显卡驱动
ubuntu-drivers devices
#安装,以470为例子
sudo apt install nvidia-driver-470
相关软件
google: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
edge: https://www.microsoft.com/zh-cn/edge/download/insider?platform=linux
微信:https://archive.ubuntukylin.com/ubuntukylin/pool/partner/weixin_2.1.4_amd64.deb
vscode: https://code.visualstudio.com/download
截图:flameshot (flameshot gui)

浙公网安备 33010602011771号