Install MongoDB on Linux


Install guide

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition

Start MongoDB
sudo service mongod start


~$ mongo
MongoDB shell version v4.0.4
connecting to: mongodb://127.0.0.1:27017
Implicit session: session { "id" : UUID("9d29ae49-0a6b-4b7a-b6b2-2b4b569362d6") }
MongoDB server version: 4.0.4
Server has startup warnings: 
2018-11-18T22:44:34.298+0900 I STORAGE  [initandlisten] 
2018-11-18T22:44:34.298+0900 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2018-11-18T22:44:34.298+0900 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
2018-11-18T22:44:35.355+0900 I CONTROL  [initandlisten] 
2018-11-18T22:44:35.355+0900 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-11-18T22:44:35.355+0900 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2018-11-18T22:44:35.355+0900 I CONTROL  [initandlisten] 
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] 
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] 
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2018-11-18T22:44:35.356+0900 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2018-11-18T22:44:35.356+0900 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()
---



https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/#transparent-huge-pages-thp-settings

댓글

  1. The Casino in Ledyard, LA - Mapyro
    Find 구리 출장안마 the best casino near 태백 출장마사지 Ledyard, 경기도 출장안마 LA in Ledyard, LA. See reviews, 목포 출장안마 hours, directions, phone numbers 화성 출장마사지 and reviews.

    답글삭제

댓글 쓰기

이 블로그의 인기 게시물

mongoDB admin 권한 설정방법 How to enable access control for mongo DB

Install pm2 via yarn globally

Install Nginx on Linux