Fedora 安装 MongoDB 教程

MongoDB 安装

本文原始地址:https://sitoi.cn/posts/37161.html

安装环境

  • Fedora 29

安装步骤

  1. 安装 mongodbmongodb-server
  2. 启动服务

安装 MongoDB 和 MongoDB-Server

sudo dnf install mongodb mongodb-server

启动服务

启动 mongod 服务

sudo systemctl start mongod.service

设置开机自动启动

sudo systemctl enable mongod.service
posted @ 2019-11-08 13:30  Sitoi  阅读(529)  评论(0编辑  收藏  举报