just started to learn to use mongo as a beginner so I don’t know how to use it…
[diyash@diyash-nitroan51555 ~]$ mongosh
Current Mongosh Log ID: 649ea7528244c9674967b178
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.10.1
Using MongoDB: 6.0.6
Using Mongosh: 1.10.1
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
------
The server generated these startup warnings when booting
2023-06-30T14:48:53.753+05:45: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem
2023-06-30T14:48:54.311+05:45: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
2023-06-30T14:48:54.311+05:45: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'
2023-06-30T14:48:54.311+05:45: Failed to read /sys/kernel/mm/transparent_hugepage/defrag
------
test>
Done mongodb and mongodb compass successfully running on server.
There was nothing to do after installing MongoDB gets install u just needed to use cmd mongosh for connecting it with MongoDB server and install mongodb compash .