1、官网下载压缩包并解压
https://www.mongodb.com/try/download/community
下拉找到对应系统版本的tgz格式下载,并上传到服务器:
scp <download directory>/mongodb-linux-x86_64-ubuntu2004-6.0.16 <uname>@<server ip>:<mongodb directory>
...About 1 min
https://www.mongodb.com/try/download/community
下拉找到对应系统版本的tgz格式下载,并上传到服务器:
scp <download directory>/mongodb-linux-x86_64-ubuntu2004-6.0.16 <uname>@<server ip>:<mongodb directory>
apt update
1、卸载旧版docker
apt-get remove docker docker-engine docker.io containerd runc