A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-os-x/ below:

Install MongoDB Enterprise on macOS - Database Manual

Use this tutorial to manually install MongoDB 8.0 Enterprise Edition on macOS using a downloaded .tgz tarball.

MongoDB Enterprise Edition is available on select platforms and contains support for several features related to security and monitoring.

This tutorial installs MongoDB 8.0 Enterprise Edition. To install a different version of MongoDB Enterprise, use the version drop-down menu in the upper-left corner of this page to select the documentation for that version.

When you use the .tgz package to install the server, you need to follow the mongosh installation instructions to download and install mongosh separately.

MongoDB 8.0 Enterprise Edition supports macOS 11 or later.

For more information, see Platform Support.

Before deploying MongoDB in a production environment, consider the Production Notes for Self-Managed Deployments document which offers performance considerations and configuration recommendations for production MongoDB deployments.

To manually install MongoDB Enterprise Edition from the .tgz, select the tab that corresponds with your Mac's processor and complete the following steps:

Download the MongoDB Enterprise tgz tarball from the following link:

MongoDB Download Center

  1. In the Version dropdown, select the version of MongoDB to download.

  2. In the Platform dropdown, select macOS ARM 64.

  3. In the Package dropdown, select tgz.

  4. Click Download.

tar -zxvf mongodb-macos-x86_64-enterprise-8.0.tgz

If your web browser automatically unzips the file as part of the download, the file ends in .tar instead.

The MongoDB binaries are in the bin/ directory of the tarball. You can either:

Download the MongoDB Enterprise tgz tarball from the following link:

MongoDB Download Center

  1. In the Version dropdown, select the version of MongoDB to download.

  2. In the Platform dropdown, select macOS ARM 64.

  3. In the Package dropdown, select tgz.

  4. Click Download.

tar -zxvf mongodb-macos-arm64-enterprise-8.0.tgz

If your web browser automatically unzips the file as part of the download, the file ends in .tar instead.

The MongoDB binaries are in the bin/ directory of the tarball. You can either:

ulimit Considerations
Most Unix-like operating systems limit the system resources that a process may use. These limits may negatively impact MongoDB operation, and should be adjusted. See UNIX ulimit Settings for Self-Managed Deployments for the recommended settings for your platform. Note

If the ulimit value for number of open files is under 64000, MongoDB generates a startup warning.

Follow these steps to run MongoDB Enterprise Edition. These instructions assume that you are using the default settings.

Before you start MongoDB for the first time, you must create the directory where the mongod process will write data.

For example, to create the ~/data/db directory:

You must also create the directory where the mongod process will write its log file.

For example, to create the ~/data/log/mongodb directory:

sudo mkdir -p ~/data/log/mongodb

Ensure that the user account running mongod has read and write permissions for these two directories. If you are running mongod as your own user account, and you just created the two directories above, they should already be accessible to your user. Otherwise, you can use chown to set ownership, substituting the appropriate user:

sudo chown <user> ~/data/dbsudo chown <user> ~/data/log/mongodb

The steps to run MongoDB Enterprise Edition depends on whether you have TLS connections enabled or not.

To run MongoDB Enterprise Edition with TLS connections enabled, you can choose one of the following methods:

To run MongoDB Enterprise Edition as a background process, specify the dbpath, logpath, and fork options:

mongod --dbpath ~/data/db --logpath ~/data/log/mongodb/mongo.log --fork

Alternatively, you can store the values for dbpath, logpath, fork in a configuration file.

Run the mongod process at the command line, providing the path to a configuration file with the config parameter:

mongod --config /usr/local/etc/mongod.conf

To run MongoDB Enterprise Edition without TLS connections enabled, use GNU Screen , and follow these steps:

screen -S <name-of-screen>
mongod --config /opt/homebrew/etc/mongod.conf

To detach from the screen session, press Ctrl-a followed by d.

To verify that mongod started successfully, run the following command and check the process list for a mongod process:

ps aux | grep -v grep | grep mongod

If you do not see a mongod process running, check the log file for any error messages.

By default, MongoDB launches with bindIp set to 127.0.0.1, which binds to the localhost network interface. This means that the mongod can only accept connections from clients that are running on the same machine. Remote clients will not be able to connect to the mongod, and the mongod will not be able to initialize a replica set unless this value is set to a valid network interface.

This value can be configured either:

For more information on configuring bindIp, see IP Binding in Self-Managed Deployments.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4