Cov txheej txheem:

Memcached config file nyob qhov twg?
Memcached config file nyob qhov twg?

Video: Memcached config file nyob qhov twg?

Video: Memcached config file nyob qhov twg?
Video: XAMPP 1.8.3-3 linux + memcache 2024, Kaum ib hlis
Anonim

Lub neej ntawd Memcached configuration file yog nyob rau hauv /etc/sysconfig directory.

Tsis tas li, kuv yuav ua li cas thiaj paub yog tias memcached raug teeb tsa?

  1. sudo ps -e | grep memcache.
  2. sudo ps -e | grep memcache.
  3. sudo kev pabcuam memcache xwm txheej -> sudo: /etc/init.d/memcache: tsis pom cov lus txib.
  4. sudo /etc/init.d/memcache xwm txheej -> memcache: kev pabcuam tsis paub.

Tom qab ntawd, lo lus nug yog, qhov txawv ntawm Memcache thiab Memcached yog dab tsi? PHP Memcache yog laus, ruaj khov heev tab sis muaj qee qhov kev txwv. The PHP memcache module siv lub daemon ncaj qha thaum PHP memcached module siv libMemcached cov tsev qiv ntawv cov neeg siv khoom thiab tseem muaj qee qhov ntxiv nta. Koj tuaj yeem sib piv cov yam ntxwv thiab qhov sib txawv ntawm lawv nyob ntawm no.

Ib yam li ib tug yuav nug, Kuv yuav teeb tsa memcached li cas?

Nruab thiab teeb tsa memcached ntawm Ubuntu

  1. Qhib /etc/memcached. conf hauv cov ntawv nyeem.
  2. Nrhiav qhov -m parameter.
  3. Hloov nws tus nqi kom tsawg kawg yog 1 GB.
  4. Nrhiav qhov parameter -l.
  5. Hloov nws tus nqi rau 127.0.0.1 lossis localhost.
  6. Txuag koj cov kev hloov pauv rau memcached. conf thiab tawm hauv cov ntawv nyeem.
  7. Restart memcached. kev pabcuam memcached rov pib dua.

Qhov chaw nres nkoj Memcached khiav ntawm dab tsi?

chaw nres nkoj 11211

Pom zoo: