#登录任何一台机器 [root@study bin]# ./mongo 10.0.117.129:27017
MongoDB shell version v3.6.5
connecting to: mongodb://10.0.117.129:27017/test
MongoDB server version: 3.6.5
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
Server has startup warnings:
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten]
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten]
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten]
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten]
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2018-06-21T13:25:52.561+0800 I CONTROL [initandlisten]