install mongodb on macos

Update Homebrew’s package database.

In a system shell, issue the following command:

brew update

2

Install MongoDB.

You can install MongoDB via brew with several different options. Use one of the following operations:

Install the MongoDB Binaries

To install the MongoDB binaries, issue the following command in a system shell:

brew install mongodb
Build MongoDB from Source with TLS/SSL Support

To build MongoDB from the source files and include TLS/SSL support, issue the following from a system shell:

brew install mongodb --with-openssl
Install the Latest Development Release of MongoDB

To install the latest development release for use in testing and development, issue the following command in a system shell:

brew install mongodb --devel
时间: 2024-11-06 01:04:38

install mongodb on macos的相关文章

Install MongoDB on Windows

Overview Use this tutorial to install MongoDB on a Windows systems. PLATFORM SUPPORT Starting in version 2.2, MongoDB does not support Windows XP. Please use a more recent version of Windows to use more recent releases of MongoDB. IMPORTANT If you ar

Install MongoDB on Red Hat Enterprise, CentOS, Fedora, or Amazon Linux

Install MongoDB on Red Hat Enterprise, CentOS, Fedora, or Amazon Linux? Overview Use this tutorial to install MongoDB on Red Hat Enterprise Linux, CentOS Linux, Fedora Linux, or a related system. The tutorial uses .rpm packages to install. While some

Install MongoDB driver for PHP on XAMPP for Mac OSX

试了不少方法,最后还是这个最有效. [转自:http://thatsimplecode.com/install-mongodb-driver-for-php-on-xampp-for-mac-osx] You need to have the following installed in your Mac: MongoDB XAMPP for Mac OSX Homebrew Package Manager Type the following in your terminal : brew i

Install MongoDB on Linux Systems 速记

Download the Latest Release >> curl -O http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.4.8.tgz Extract MongoDB From Archive >> tar -zxvf mongodb-linux-x86_64-2.4.8.tgz Optional. Copy MongoDB to Target Directory >> mkdir -p mong

Install MongoDB on Windows (Windows下安装MongoDB)

Install MongoDB on Windows Overview Use this tutorial to install MongoDB on a Windows systems. PLATFORM SUPPORT Starting in version 2.2, MongoDB does not support Windows XP. Please use a more recent version of Windows to use more recent releases of M

转: How to Install MongoDB 3.2 on CentOS/RHEL & Fedora (简单易懂)

from:  http://tecadmin.net/install-mongodb-on-centos-rhel-and-fedora/ MongoDB (named from “huMONGOus“) is a full flexible index support and rich queries database. Its is a NoSQL database. MongoDB provides large media storage with GridFS. Clickhere fo

MongoDB在MacOS上的客户端Robo 3T 的简单使用(二)

最近写了一个用node来操作MongoDB完成增.删.改.查.排序.分页功能的示例,并且已经放在了服务器上地址:http://39.105.32.180:3333. 本篇文章只做简单介绍,能够使用起来就OK,不深究 项目一共四部分: 1.MacOS下MongoDB数据库的安装配置. 2.MongoDB在MacOS上的客户端Robo 3T 的使用.(本篇文章) 3.Centos 下MongoDB数据库的安装配置. 4.node-express项目的搭建并通过mongoose操作MongoDB数据库

Install MongoDB on Centos 7

#!/bin/bash ####################### #mongodb简介 #mongodb是个非关系型数据库,但操作跟关系型数据最类似.mysql是关系型数据库 #mongodb是面向文档存储的非关系型数据库,数据以json的格式进行存储 #mongodb可用来永久存储,也可用来缓存数据 #mongodb提供副本集和分片集群功能,操作简单 ############################# if [ `whoami` != root ] then echo "Plea

macOS(Mojave10.14.1)安装MongoDB 4.0.3

安装 通过homebrew 安装,安装命令: brew install mongodb 配置 创建文件夹/usr/local/MongoDB/data 存放数据库数据 创建文件夹/usr/local/MongoDB/log/mongodb.log 存放日志文件 创建配置文件mongodb.conf dbpath=/usr/local/MongoDB/data # 指定数据库数据存放路径 logpath=/usr/local/MongoDB/log/mongodb.log # 指定日志文件路径 l