Install memcache service

藏色散人
Release: 2019-10-26 14:47:53
forward
3696 people have browsed it

memcache supports various operating systems such as windows and linux.

Installation steps under windows

(64-bit) Download address:

Link://m.sbmmt.com/ xiazai/gongju/1523

(32-bit) Download address:

Link://m.sbmmt.com/xiazai/gongju/1522

Installation:

1 Extract the installation package to the hard disk,

2 Enter the 'drive letter' in the terminal (i.e. cmd command interface): \memcached installation package location\memcached.exe -d install' Install

3 Drive letter:\memcached installation package location\memcached.exe -d start' Start.

NOTE: In the future, memcached will be automatically started as a service of Windows every time you boot up. The server side has now been installed.

Installing under Linux

centOs: Directly execute yum install memcached to install successfully.

Execute service memcached start to open memcahe

memcache official website address: http://memcached.org/downloads

You can download the latest memcache version from the official website and compile and install it .

Debian/Ubuntu: apt-get install libevent-dev Redhat/Centos: yum install libevent-devel wget http://memcached.org/latest tar -zxvf memcached-1.x.x.tar.gz cd memcached-1.x.x ./configure && make && make test && sudo make install
Copy after login

View status

telnet localhost 11211
Copy after login

Enter stats to view, and command quit to exit.

Modify configuration file

/etc/sysconfig/memcached
Copy after login

The above is the detailed content of Install memcache service. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:hcoder.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!