CentOS Installation Memcache

Source: Internet
Author: User
Tags memcached

1. Install Libevent first. You need to specify an installation path during configuration, that is./configure–prefix=/usr; then make; then make install;
2. To install the memcached, you need to specify the installation path of libevent when configuring./configure–with-libevent=/usr; then make; then make install;
This completes the installation of Linux under the Memcache server side.

The detailed methods are as follows:

1. Install libevent:# tar zxvf libevent-1.2.tar.gz# cd libevent-1.2#./configure–-prefix=/usr# make# Make Install2. Installing memcached:# cd/tmp# tar zxvf memcached-1.2.0.tar.gz# cd memcached-1.2.0#./configure–with-libevent=/usr# make# make Install

  

Memcached Open

memcached-d-U root# no proof on Success # connection parameter-P listener Port-L connection IP address, default is native-D start memecache service-D Restart Restart-D stop|shutdown off service-D Install-D Uninstall Uninstall-U run as identity only valid under root-m maximum memory usage, unit MB, default 64MB, maximum 2g-m memory exhausted when return error-C max simultaneous connection quantity, default is 1024-f block size growth because, The default is 1.25-n minimum allocation space, key+value+flags default 48-h display Help # using Telnet to connect telnet localhost 11211# directly press ENTER will cause a client error.

  

CentOS Installation Memcache

Related Article

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.