# start the server:
mongod --dbpath /path/to/data/to/be/stored --logpath /log/path/mongo.log
# enter the shell:
mongo
# or
mongos
Created
June 6, 2022 20:01
-
-
Save alaztetik/650d2b8698ecb53a1c529cc56bc320e1 to your computer and use it in GitHub Desktop.
How to run mongod (server) and mongo/mongos shell on Linux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Manjaro / Arch, it now uses openssl-1.3, but MongoDB still requires 1.1.
So there is now a dependency problem.