1. sudo passwd root
2. 开启ssh
sudo apt-get update
sudo apt-get install openssh-client
sudo apt-get install openssh-service
sudo service ssh start
sudo ps -e | grep ssh
sudo apt install net-tools
ifconfig
lsof -i:22
改root登录时候,把端口22打开
3. 分别给root和使用账户添加颜色标记
cat <<END>> ~/.bashrc
export PS1="\[\e[1;32;40m\][\u@\h\W]\\$\[\e[0m\]"
PS1="\[\e[1;31;40m\][\u@\h\W]\\$\[\e[0m\]"教你如何在Ubuntu中创建 Sudo用户_寰宇001的博客-CSDN博客
END
source ~/.bashrc
4. mkdir -p ~/transcriptome/soft
cd ~/transcriptome/soft
# 把soft目录加大环境变量中,新安装的软件都软链到soft目录
cat <<END >>~/.bashrc
export PATH=~/transcriptome/soft:~/anaconda3/bin:\$PATH
END
从北京外国语大学下载