Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份
sudo cp /etc/apt/sources.list /etc/apt/sources_backup.list
使用gedit将源中内容替换
sudo gedit /etc/apt/sources.list
链接: 清华镜像源.
升级自带包
sudo apt update
安装常用基本软件
sudo apt install curl git openssh-server net-tools
搜索marswang42 找到My-Vim-Conf
安装第三方shell-zsh,并替换自带的bash
sudo apt install -y zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
clone博主的源
git clone https://github.com/MarsWang42/My-Vim-Conf.git
cd My-Vim-Conf
脚本自动安装
chmod +x ./setup.sh ./tmux.sh
./setup.sh
最后刷新应用最新的设置
source ~/.zshrc
https://github.com/borninfreedom/linux-assistant