"""
sudo apt update
sudo apt install -y mongodb
sudo systemctl status mongodb
mongo --eval 'db.runCommand({ connectionStatus: 1 })'
開啟伺服器
sudo systemctl status mongodb
停止伺服器
sudo systemctl stop mongodb
開機啟動mongo
sudo systemctl enable mongodb
遠端連接配接
sudo vi /etc/mongodb.conf
0.0.0.0
sudo systemctl restart mongodb
"""