测试环境:
- ubuntu 20.04
- Oracle VirtualBox 6.0.8
wget -O- https://gitee.com/jht6/scripts/raw/main/shell/init-ubuntu.sh | bash
一键搭建docker环境,使用方法:
- 执行
sudo ls
并输入密码 - 执行以下命令
wget -O - https://gitee.com/jht6/scripts/raw/main/shell/docker-env-ubuntu.sh | sudo bash
一键搭建mongodb服务:
wget -O - https://gitee.com/jht6/scripts/raw/main/shell/docker-mongo-ubuntu.sh | sudo bash