第一步下載鏡像
下載地址:https://ubuntu.com/download/desktop?utm_expid=.t_P3dGHLTjiXbkBPgMHsUw.0&utm_referrer=https%3A%2F%2Fwww.ubuntu.com%2Fdesktop
具體下載時間——看網速嘍
安裝-經典安裝(單個文件) 都是傻瓜式安裝就不在展示圖片
必操作:
sudo apt-get insatll vim
第一步設置 鏡像源爲阿里源
更換鏡像源文件
cp /etc/apt/sources.list /etc/apt/sources.list.bak
vim /etc/apt/sources.list
將文件內的其他全部註釋掉 將此文件放入其中
# 默認註釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消註釋
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ssh
sudo apt-get insatll tree
sudo apt-get insatll vi
第二步 這是 sudo 免密
sudo nano /etc/sudoers
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
user ALL=(ALL) NOPASSWD:ALL #添加此句,user替換爲你的用戶名
第二步設置中文
設置內設置一下即可(簡單-就不介紹了)
第三步設置時間
https://blog.csdn.net/qq_41822647/article/details/85073543
這個鏈接就可以用哦