Cov txheej txheem:

Yuav txuas MongoDB rau mLab li cas?
Yuav txuas MongoDB rau mLab li cas?

Video: Yuav txuas MongoDB rau mLab li cas?

Video: Yuav txuas MongoDB rau mLab li cas?
Video: yuav ntshuav tsawg hnub tseg rau kuv tau nrog koj nyob. suab Nkauj kho siab tawm #nkaujhmoobremix 2024, Kaum ib hlis
Anonim

Teeb tsa Cloud Cluster

  1. Nyem rau Tsim Tshiab hauv lub MongoDB Deployments seem ntawm koj lub tsev tshuaj ntsuam.
  2. Xaiv tus neeg muab kev pabcuam huab thiab hom phiaj xwm Sandbox dawb. Tom qab ntawd nyem rau ntawm lub pob txuas ntxiv.
  3. Xaiv thaj av uas nyob ze koj tshaj plaws. Tom qab ntawd nyem rau ntawm lub pob txuas ntxiv.
  4. Sau ib lub npe rau koj lub database.

Yog li ntawd, kuv yuav txuas rau mLab li cas?

Tsim ib tug admin database neeg siv

  1. Nkag mus rau mLab tswj portal.
  2. Los ntawm koj tus as khauj Home page, mus rau qhov kev xa tawm.
  3. Nkag mus rau "admin" database teev nyob rau hauv "System Databases" seem.
  4. Nyem qhov "Cov neeg siv" tab.
  5. Nyem qhov "Add database user" khawm los tsim ib tus neeg siv tshiab.

Tsis tas li ntawd, MongoDB txuas rau kev lees paub li cas? Enabling authentication ntawm MongoDB

  1. Pib MongoDB yam tsis muaj authentication.
  2. Txuas mus rau lub server siv lub plhaub mongo.
  3. Tsim tus neeg siv tus thawj tswj hwm.
  4. Pab kom authentication hauv mongod configuration file.
  5. Txuas thiab authenticate raws li tus neeg siv tus thawj tswj hwm.
  6. Thaum kawg, tsim cov neeg siv ntxiv raws li xav tau.

Tsis tas li, koj siv mLab li cas?

  1. Kauj ruam 1: Teeb mLab account. Txhawm rau pib nrog mLab, koj yuav tsum xub tsim koj tus lej mLab dawb.
  2. Kauj ruam 2: Tsim ib tug database subscription. Tom qab koj tau tsim koj tus as khauj, ntxiv ib daim ntawv teev npe tshiab.
  3. Kauj ruam 3: Txuas rau koj cov ntaub ntawv tshiab.
  4. Kauj ruam 4: Load ib co ntaub ntawv.

Puas yog mLab dawb?

Peb dawb Sandbox txoj kev npaj muab ib qho chaw khaws ntaub ntawv nrog 0.5 GB ntawm kev khaws cia ntawm cov txheej txheem kev sib koom ua haujlwm ntawm lub tshuab virtual (VM). Txoj kev npaj no yog qhov zoo tshaj plaws rau kev txhim kho thiab kev tsim qauv.

Pom zoo: