Memcached installation tutorial

WBOY
Release: 2016-08-08 09:23:27
Original
985 people have browsed it

download link

www.memcached.org

1,Prepare the compilation environment

InstallGCC


After the virtual machine is connected to the Internet, use yum install gcc ,make,autoconf,libtool A series of tools, these tools will need to be compiled and used in the future, so please install them first. 2. Download the corresponding library and memcache

source code


Libevent.org and

memcached.org

Download the latest stable VersionDownload address : libevent.org

Note: Because memcached

depends on the

libevent library, you need to compile libevent first, and compile Memcached to specify libeven The path of t. After compilation is completed, xxpath/memcached/bin/memcached

executable file can be run.

Compile apache+php+memcache

client under linux, use PHP to operate memcached, go to http.apache.org Downloadhttpd For the source code of , go to php.net to download the source code of php


Modify the virtual machine time:


Unzip:


Compile: Specify the installation path

Install

Install

Memcached

1. Unzip. 2. Change directory

3. Compile:


Start with other users:


Client connection:



Start with -u nobody

Specify other users Execute

View help command:



Run in the background:

The above has introduced the Memcached installation tutorial, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.


Related labels:
source:php.cn
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
Popular Tutorials
More>
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!