Ubuntu 国内镜像下载

http://mirrors.163.com/ubuntu-releases/

创建 USB 启动盘

https://ubuntu.com/tutorials/create-a-usb-stick-on-windows#1-overview

USB 启动盘工具

https://rufus.ie/

安装教程:

https://ubuntu.com/tutorials/install-ubuntu-desktop#4-boot-from-usb-flash-drive

设置教程:

写给工程师的 Ubuntu 20.04 最佳配置指南

开启 SSH

1
2
3
4
5
6
7
8
9
10
11
12
13
# 安装 ssh-serve
sudo apt-get install openssh-server

# 设置允许 root 登录
sudo vi /etc/ssh/sshd_config
PermitRootLogin yes


# 生成 ssh 密钥对
ssh-keygen -t rsa

# 复制到目标机器
ssh-copy-id user@domain/ip

安装 Vim

1
2
3
4
5
6
# 1. 
sudo apt install vim

# 2. 修改 /etc/vim/vimrc.tinyset compatible 设置成set nocompatible . 这是因为有时候系统会默认vim兼容vi,所以使用vi的命令。
vi /etc/vim/vimrc.tinyset compatible
set nocompatible