在Ubuntu18.02下安装MongoDB
1、Ctrl+Alt+T 进入终端模式,输入 sudo apt-get install mongodb 命令进行安装

2、等待安装完成后输入mongod 开启服务默认会创建/data/db数据库

3、输入mongo 进入数据库进行相关操作

在Ubuntu18.02下安装MongoDB
1、Ctrl+Alt+T 进入终端模式,输入 sudo apt-get install mongodb 命令进行安装
2、等待安装完成后输入mongod 开启服务默认会创建/data/db数据库
3、输入mongo 进入数据库进行相关操作
本文标题:在Ubuntu18.04下安装MongoDB
本文链接:https://www.haomeiwen.com/subject/cqujfqtx.html
网友评论