Я удалил MongoDB 2.6 и установил MongoDB 3.4. Когда я подключаюсь к серверу MongoDB 3.4, появляется несколько новых предупреждений при запуске:
MongoDB shell version v3.4.2
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.2
Server has startup warnings:
2017-03-20T20:27:36.175+0545 I STORAGE [initandlisten]
2017-03-20T20:27:36.175+0545 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2017-03-20T20:27:36.175+0545 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten]
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten]
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten]
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten]
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2017-03-20T20:27:36.855+0545 I CONTROL [initandlisten]
Как мне удалить эти предупреждения?