Linux system memcached Installation

Source: Internet
Author: User

"Memcached Installation"

Linux system installation memcached can be installed automatically, you can also manually compile the installation, the use of manual compilation installation


1, the Linux system installs the memcached, first must first install the Libevent library.
Download Libevent Compressed package, example Libevent-2.1.8-stable.tar
#tar ZXVF libevent-2.1.8-stable.tar-c/usr/local
#cd/usr/local/libevent-2.1.8
#./configure--prefix=/usr/local/libevent
#make && make Install

Installing the SASL Environment
Yum-y Install cyrus-sasl-lib.x86_64
Yum-y Install cyrus-sasl-devel.x86_64

2. Download memcached latest version from its official website (http://memcached.org)
Go to http://memcached.org/download the latest version

#tar-ZXVF memcached-1.x.x.tar.gz # #解压源码

#cd memcached-1.x.x # #进入目录

#./configure--prefix=/usr/local/memcached--wiht-libevent=/usr/local/libevent # #配置

#make # #编译

# Make Install # #安装

Start:
#/usr/local/memcached/bin/memcached-d-M 10m-p 11211-u Root

Linux system memcached Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.