35.5 MongoDB
Installation
# pkg install mongodb80# cd /usr/ports/databases/mongodb80/
# make install clean# pkg info -D mongodb80Service
# service mongod enable # Set the MongoDB service to start on boot
# service mongod start # Start the MongoDB servicemongosh (MongoDB Official Shell CLI)
Installing mongosh
Testing the MongoDB Connection
Configuration File
Creating Users and Passwords
Login Methods
Login Method ①
Login Method ②
References
Last updated