docker&compose

#docker安装
sudo apt update && sudo apt install docker.io -y  
#服务启动  
sudo systemctl start docker  
#compose安装
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose  
sudo chmod +x /usr/local/bin/docker-compose  
#ubuntu快装  
sudo apt  install docker-compose  

screen

#CentOS
yum install screen  
#Debian/Ubuntu
apt install screen  
#常用指令  
#查询  
screen -ls  
#创建新终端/返回之前的钟断  
screen -R [name]