butterflyPterodactyl

This guide explains how to install MongoDB Community Edition on Pterodactyl panel


1) Download mongodb egg

https://eggs.pterodactyl.io/egg/applications-mongodb-8/arrow-up-right


2) Go to Nests

3) Create new nest

4) Back and click in "import Egg" button

4.1) In associated Nest select "Database"

4.2) Click in import

5) Create the server using Mongodb egg

Set the password and username. Do not change them after installation, otherwise the MongoDB server will not start.

6.1) Switch to the admin database The user's authentication database is the database where the user is created. For an administrator with wide-ranging privileges, you should create them in the admin database.bash

6.2) Create the user Use the db.createUser() method. The root role, when defined in the admin database, grants superuser privileges across the entire MongoDB instance.javascript

Last updated