top of page

MongoDB Plug-in 12.4 Install

  • 작성자 사진: Master
    Master
  • 2022년 3월 20일
  • 2분 분량

최종 수정일: 2022년 3월 22일


NetVault 에서 MongoDB Online 백업 받는 방법


아래 작업내역 중이오니 미흡한점은 문의 주세요 !!


1) MongoDB 지원이 가능한지 호환성 먼저 확인 합니다.


NetVault Plug-in for MongoDB

Supported NetVault releases


백업 대상 의 서버의 OS 종류 와 Mongo DB 의 Version 확인하여 호환성 상 문제가 없는지 확인

지원 가능한 Version And OS


Application version 13.x 12.4

OS versions supported

MongoDB 4.2 Community Edition CentOS 7.x

MongoDB 4.0 Enterprise Edition CentOS 7.x

MongoDB 4.2 Enterprise Edition CentOS 7.x

MongoDB 4.2 Community Edition CentOS 8.x

MongoDB 4.2 Enterprise Edition CentOS 8.x

MongoDB 4.2 Community Edition RHEL 7.x

MongoDB 4.0 Enterprise Edition RHEL 7.x

MongoDB 4.2 Enterprise Edition RHEL 7.x

MongoDB 4.2 Community Edition RHEL 8.x

MongoDB 4.2 Enterprise Edition RHEL 8.x

MongoDB 4.2 Community Edition Windows Server 2012 R2

MongoDB 4.2 Enterprise Edition Windows Server 2012 R2

MongoDB 4.2 Enterprise Edition Windows Server 2016


mongoDB Version 확인

> db.version()

4.2.19



Mongo DB 로그인

2) 계정 설정 : admin 계정으로 설정 작업

ex)

mongo

> use admin

switched to db admin

> db.createUser({user:"admin", pwd:"XXXXXXXXX", roles:[{role:"root", db:"admin"}]})

Successfully added user: {

"user" : "admin",

"roles" : [

{

"role" : "root",

"db" : "admin"

}

]

}


config 위치 : /etc/mongod.conf

security: authorization: enabled 2칸 정도 공백 두고 authorization: enabled



sudo systemctl restart mongod

* 보안 설정 후 mongoDB 데몬 서비스 재시작 필수



3) MongoDB DB 생성 하기


mongo -u admin -p XXXXXXX --authenticationDatabase admin

> use test1db

> db.createUser({

user: "user1",

pwd: "password",

roles: [{

role: "readWrite", db: "test1db"

}]

})

> db.auth("user1", "password")

> db.createCollection("testdata")





< 방화벽 사용 하는 경우 >

Firewall 방화벽 사용 경우) MongoDB 원격 접속을 위한 포트 허용

sudo firewall-cmd --zone=public --add-port=27017/tcp --permanent sudo firewall-cmd --reloa


MongoDB Plugin install








Hostname : 127.0.0.1

port : 27017

User : admin

Password : password

Mongo Shell Path : /usr/bin/mongo

Atlas Server







Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

관련 제품

O​AM Electronics Co., Ltd.
서울특별시 송파구 충민로 66, 8층 8071호
8071F,  66, Chungmin-ro, Songpa-gu, Seoul, Republic of Korea
​Tel : 1666-3736     
Tech Support : 070-7537-3438   
Zip code : 05838

​공장 : 이천시 모가면 소고리 70-4 
70-4, Sogo-ri, Moga-myeon, Icheon-si, Gyeonggi-do, Republic of Korea
​​통신 판매업 신고 : 2025-서울송파-0108
bottom of page