подключение
> mongo -u admin -p pass
MongoDB shell version v4.0.10
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("863fd7fb-f97f-4a59-ae4b-adaba0d22782") }
MongoDB server version: 4.0.10
Server has startup warnings:
2019-07-31T10:26:11.337+0000 I STORAGE [initandlisten]
2019-07-31T10:26:11.337+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-07-31T10:26:11.337+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-07-31T10:26:13.776+0000 I CONTROL [initandlisten]
2019-07-31T10:26:13.776+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2019-07-31T10:26:13.776+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2019-07-31T10:26:13.776+0000 I CONTROL [initandlisten]
---
Enable MongoDB's free cloud-based monitoring service, which will then receive and display
metrics about your deployment (disk utilization, CPU, operation statistics, etc).
The monitoring data will be available on a MongoDB website with a unique URL accessible to you
and anyone you share the URL with. MongoDB may use this information to make product
improvements and to suggest MongoDB products and deployment options to you.
To enable free monitoring, run the following command: db.enableFreeMonitoring()
To permanently disable this reminder, run the following command: db.disableFreeMonitoring()
---
>