Administrator Guide

Table Of Contents
호스트 이름을 IP 주소로 변경하는 단계
호스트 이름 확인에 실패할 호스트 이름을 IP 주소로 변경하는 단계는 다음과 같습니다.
1. 관리자 모드에서 DOS 프롬프트를 엽니다.
2. 디렉토리를 C:\Program Files\DELL\WMS\MongoDB\bin으로 변경합니다.
3. mongo localhost -username stratus -p --authenticationDatabase admin 명령을 입력합니다.
출력 - MongoDB shell version v3.4.10
4. 암호를 입력합니다.
출력 -
connecting to: mongodb://127.0.0.1:27017/localhost
MongoDB server version: 3.4.10
5. 입력 : use stratus
출력 - switched to db stratus
6. > db.bootstrapProperties.updateOne( {’name’: ‘stratusapp.server.url’}, {$set : {’value’ :
“https://IP:443/ccm-web”}} ) 명령을 입력합니다.
출력 - { “acknowledged” : true, “matchedCount” : 1, “modifiedCount” : 1 }
7. > db.getCollection(’bootstrapProperties’).find({’name’: ‘stratusapp.server.url’}) 명령을 입력합니
.
출력 - { "_id" : ObjectId("5b97905e48b7b7e99ad22aa6"), "name" : "stratusapp.server.url", "value" : "https://IP:443/ccm-web",
"isActive" : true, "committed" : true }
G
호스트 이름을 IP 주소로 변경하는 단계 223