重装系统
oh-my-zsh
sudo apt install vim
sudo apt install zsh
sudo apt install openssh-server
sudo apt install curl
sudo apt install git
sudo apt install gcc
sudo apt install g++
sudo apt install cmake
wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh
vim install.sh
REPO=${REPO:-mirrors/oh-my-zsh}
REMOTE=${REMOTE:-https://gitee.com/${REPO}.git}
chmod +x install.sh
./install.sh
git clone https://gitee.com/hailin_cool/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://gitee.com/Annihilater/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
ZSH_THEME=”agnoster”
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
X11
sudo apt install libx11-dev
mount
sudo apt install nfs-kernel-server
sudo vim /etc/exports
文末添加:
1 | /sdc *(rw,sync,no_subtree_check) |
sudo systemctl restart nfs-kernel-server # 重启服务
sudo ufw allow nfs # 开防火墙
sudo apt-get install nfs-common -y
sudo mount xx.xx.xx.xx/sdc /sdc
conda
安装
curl –output anaconda.sh https://..
sh anaconda.sh
一路 enter, yes yes
设置镜像
vim ~/.condarc
1 | channels: |
1 | pip config set global.index-url https://mirrors.zju.edu.cn/pypi/web/simple |
显卡驱动
1.获得超级用户权限
1 | sudo -i |
2.关闭所有使用 GPU 的进程
1 | systemctl isolate multi-user.target |
3.关闭所有 lightdm gdm 服务
1 | sudo service lightdm stop |
4.运行安装命令
1 | ./NVIDIAxxxxxx.run |