警告信息如下。我正在使用Linux Mint 18.当我用“sudo service mongodb start”启动数据库时没有警告标志,但是当我运行“mongo”shell时,我遇到了这个警告消息。我是否错过了安装过程中的一个步骤?任何建议都会有所帮助,谢谢。
--Warnings--
Server has startup warnings:
2017-08-21T13:23:20.551-0700 I STORAGE [initandlisten]
2017-08-21T13:23:20.551-0700 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2017-08-21T13:23:20.551-0700 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten]
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten]
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten]
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2017-08-21T13:23:20.899-0700 I CONTROL [initandlisten]