ubuntu安装mongo 1.安装 sudo apt-get install mongodb 2.查看版本 mongo -version 3.启动mongo service mongodb start 4.进入mongo