Cov txheej txheem:

Kuv yuav tshem MongoDB los ntawm MAC li cas?
Kuv yuav tshem MongoDB los ntawm MAC li cas?

Video: Kuv yuav tshem MongoDB los ntawm MAC li cas?

Video: Kuv yuav tshem MongoDB los ntawm MAC li cas?
Video: 24/11/2021 Koj Niam Thiab Koj Txiv Mas Thiaj Hlub Koj Tshaj 2024, Kaum ib hlis
Anonim

Txhawm rau tshem tawm MongoDB ntawm Mac OS X koj yuav tsum khiav cov lus txib hauv qab no kom tshem tawm mongodb los ntawm kev tso tawm / pib thiab tshem tawm nws siv Homebrew:

  1. launchctl npe | grep ua mongo .
  2. launchctl tshem tawm homebrew.mxcl. mongodb .
  3. pkill -f mongod.
  4. brew uninstall mongodb .

Kuj paub yog, kuv yuav ua li cas tshem Mongodb?

Uninstall MongoDB hauv Ubuntu ntawm kab hais kom ua hauv 3 cov kauj ruam yooj yim

  1. Kauj ruam 1: Nres qhov kev pab cuam. sudo kev pabcuam mongod nres.
  2. Kauj ruam 2: Tshem cov pob. sudo apt-tau tshem tawm mongodb-org *
  3. Kauj ruam 3: Tshem tawm cov ntaub ntawv teev npe. sudo rm -r /var/log/mongodb sudo rm -r /var/lib/mongodb. -r txhais tau tias recursive. Siv: https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/ Qeb: Programming Ubuntu.

Ib tug kuj yuav nug, Kuv yuav tshem Mongodb ntawm Windows li cas? 4 Teb

  1. win-key + r thiab khiav regedit.
  2. Nkag mus rau ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMongoDB (lossis tsuas yog txiav thiab muab tshuaj rau txoj kev no)
  3. Thaum muaj txoj nyem rau MongoDb thiab nyem Delete. Kev pabcuam tam sim no ploj mus.
  4. Mus rau C: mongodb (los yog qhov chaw koj nruab nws) thiab rho tawm cov npe. Mongodb tam sim no ploj mus.

Ib yam li ntawd, koj tuaj yeem nug, Kuv yuav ua li cas tshem tawm pob khoom brew?

Muaj ob tus chij uas koj tuaj yeem hla mus rau Homebrew uninstall txib ib yam nkaus; -force thiab -ignore-dependencies. Lub -force chij (lossis -f) yuav yuam tshem tawm tus pob nrog rho tawm tag nrho cov versions ntawm qhov ntawd pob / qauv.

Mongodb ntsia qhov twg ntawm Mac?

Tom qab txhim kho MongoDB nrog Homebrew:

  1. Cov ntaub ntawv khaws cia hauv /usr/local/var/mongodb/ directory.
  2. Lub mongod. conf cov ntaub ntawv nyob ntawm no: /usr/local/etc/mongod. conf.
  3. Cov mongo cav tuaj yeem pom ntawm /usr/local/var/log/mongodb/
  4. Cov mongo binaries nyob ntawm no: /usr/local/Cellar/mongodb/[version]/bin.

Pom zoo: