The catalog of this series https://www.idealclover.top/index.php/archives/142/ The writing background is no longer explained too much.
Ah, this graphics card really makes me want to die... The culprit that makes ubuntu stuck in the boot logo... This has been said in the last issue
Modify the source of HKUST as the default source of Ubuntu 18.04
Backup /etc/apt/sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.bak
Add the following entry in front of the /etc/apt/sources.list file
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
And comment out other sources
Finally execute the following command to update the source
sudo apt-get update
sudo apt install vim
sudo update-alternatives --config editor
sudo visudo
Will this line
%sudo ALL=(ALL:ALL) ALL
To
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
sudo apt install zsh
sudo wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O -| sh
chsh -s /bin/zsh
sudo apt install python3-pip3
pip3 install thefuck --superuser
Open ~/.zshrc
vim ~/.zshrc
Add at the end
eval "$(thefuck --alias)"
About shadowsocks, I wrote an article before, so I won’t repeat it here.
https://blog.csdn.net/SaberHowei/article/details/80564849
https://github.com/nvbn/thefuck
This work is licensed by idealclover under the Creative Commons Attribution-Share in the Same Way 4.0 International License Agreement. Please indicate the source for reprinting
Recommended Posts