Cov txheej txheem:

Kuv yuav uninstall Redis li cas?
Kuv yuav uninstall Redis li cas?

Video: Kuv yuav uninstall Redis li cas?

Video: Kuv yuav uninstall Redis li cas?
Video: ntshe kuv yuav DELETE koj es thiaj G nco koj lawm ๐ŸšซโŒ๏ธ๐Ÿšซ #nkauj_kho_siab #hmongsong #nkaujtawmtshiab 2024, Kaum ib hlis
Anonim

1 Teb

  1. Nres redis nrog: sudo systemctl nres redis sudo systemctl lov tes taw redis .
  2. Hloov mus rau hauv qhov chaw teeb tsa raws li cov lus qhia txuas: cd redis - ruaj khov sudo ua tshem tawm .
  3. Tshem tawm cov folders tsim: sudo rm /etc/ redis / redis .conf sudo rm -rf /var/lib/ redis .
  4. Tshem tawm redis neeg siv: sudo deluser redis .

Raws li txoj cai, kuv yuav ua li cas thiaj li nres Redis server?

pib yuav pib lub redis service thiab ntxiv nws ntawm tus ID nkag mus thiab khau raj. yog tias koj tsis quav ntsej txog koj cov ntaub ntawv hauv lub cim xeeb, koj tuaj yeem ntaus ntawv HUTDOWN NOSAVE los quab yuam kaw tus server . Sim killall redis - server . Koj tuaj yeem siv ps aux los nrhiav lub npe thiab pid ntawm koj server , thiab tom qab ntawd tua nws nrog tua -9 here_pid_num.

Tsis tas li ntawd, Redis ntsia qhov twg? Txhim kho Redis kom zoo dua

  1. Tsim ib phau ntawv teev npe uas khaws koj cov ntaub ntawv Redis config thiab koj cov ntaub ntawv: sudo mkdir /etc/redis sudo mkdir /var/redis.
  2. Luam cov ntawv init uas koj yuav pom hauv Redis tis nyob rau hauv cov npe siv rau hauv /etc/init.d.
  3. Kho qhov init tsab ntawv.

Ib tug kuj yuav nug, Kuv yuav khiav Redis li cas?

  1. Qhib koj qhov Command Prompt (ex: cmd.exe) thiab ntaus:> redis-server --service-start.
  2. Redis API yuav tsim lub neej ntawd Redis uas yog npaj los txais kev sib txuas ntawm chaw nres nkoj 6379. Tam sim no koj tuaj yeem txuas rau nws nrog cov ntaub ntawv redis-cli.exe. Nco tseg: Txhawm rau txuag thiab nres Redis database, ntaus: > redis-server kaw tseg.

Kuv yuav ua li cas khiav Redis server ntawm Windows?

redis Txhim kho thiab khiav Redis Server ntawm Windows

  1. Download tau.msi lossis.zip cov ntaub ntawv, qhov kev qhia no yuav cia koj rub tawm cov ntaub ntawv zip tshiab kawg. Redis-x64-3.2.
  2. Extract cov ntaub ntawv zip rau cov ntaub ntawv npaj.
  3. Khiav redis-server.exe, koj tuaj yeem ncaj qha khiav redis-server.exe los ntawm txhaj lossis khiav ntawm kev hais kom ua.
  4. Khiav redis-cli.exe, tom qab ua tiav lub redis-server.

Pom zoo: