Tôi đã xóa MongoDB 2.6 và cài đặt MongoDB 3.4. Khi tôi kết nối với máy chủ MongoDB 3.4, có một số cảnh báo khởi động mới:
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]
Làm cách nào để xóa những cảnh báo này?