sudo dnf install mongodb mongodb-server sudo systemctl start mongod.service sudo systemctl enable mongod.service
sudo dnf install mongodb mongodb-server sudo systemctl start mongod.service sudo systemctl enable mongod.service
原文:http://www.cnblogs.com/asaxing/p/8052978.html