-
修改软件源为 aliyun
-
更新系统
-
# 更新本地包数据库 sudo apt update # 更新所有已安装的包 sudo apt upgrade
-
-
安装 git
-
apt install git
-
-
安装 Terminnator
-
sudo add-apt-repository ppa:gnome-terminator sudo apt update sudo apt install terminator
-
-
安装 zsh
-
apt install zsh chsh -s `which zsh`
-
-
安装 oh-my-zsh
-
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
-
-
安装 zsh 插件
-
autojump
-
apt install autojump echo "[[ -s /usr/share/autojump/autojump.sh ]] && . /usr/share/autojump/autojump.sh" >> ~/.zshrc
-
-
zsh-autosuggestions
-
git clone https://github.com/zsh-users/zsh-autosuggestions cp -r zsh-autosuggestions/ ~/.oh-my-zsh/custom/plugins echo "source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
-
-
zsh-syntax-highlighting
-
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git cp -r zsh-syntax-highlighting/ ~/.oh-my-zsh/custom/plugins echo "source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
-
-
echo "plugins=(autojump zsh-autosuggestion zsh-syntax-highlighting)" >> ~/.zshrc
-
-
安装 clash
-
https://github.com/Dreamacro/clash/releases/tag/v1.8.0
- 找到你所需要的版本
-
下载后提取到你指定的目录并 rename 为 clash
-
# 需在上一步的目录下进行 wget -O config.yaml 订阅地址?clash=1&log-level=info # 这里的订阅地址需要转换一下,不然生成出的config不正确,google搜索订阅转换即可 chmod +x clash ./clash -d .
-
浏览器打开 http://clash.razord.top/#/proxies ,显示无误即表示ok
-
系统设定网络代理为手动 127.0.0.1:port
-
-
安装 chrome
-
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt install ./google-chrome-stable_current_amd64.deb
-
Ubuntu 20.04.3 LTS 配置
笔记