ssh和zsh设置
#创建免密钥登录
mkdir .ssh
cat id_rsa.pub >> ~/.ssh/authorized_keys
#如果没有公私钥
ssh-keygen -C "YOUR_NAME"
#查看有没有zsh,没有再装
cat /etc/shells
#1、安装zsh
sudo apt-get install zsh
#2、把默认的Shell改成zsh
chsh -s /bin/zsh
cat /etc/shells
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Tmux
# linux
sudo apt-get install tmux
https://github.com/gpakosz/.tmux
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
Conda
# Anaconda
cd ~/run-kr
# 下载:
wget https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh
chmod +x ./Anaconda3-2018.12-Linux-x86_64.sh
# 注结束 如果没法访问,则下载:
./Anaconda3-5.1.0-Linux-x86_64.sh
# 1. 看license
# 2. 指定安装目录: /home/YOUR_NAME/run-kr/anaconda3
可以选的安装库。
安装到~/run-kr/anaconda中。
conda create -n py36 python=3.6
source activate py36
conda install -y -c anaconda ipython
conda install scipy -y
pip install tensorboardX
conda install matplotlib -y
pip install opencv-python
Cuda和Caffe
暂略。