Linux Source Installation memcached

Source: Internet
Author: User
Tags file url

Basic steps:

1. Download the compressed file (wget file URL)

2. Unzip (TAR-ZXVF file name)

3, configure (./configure--prefix= installation directory)

4. Make compile (if step 3 is not a problem, otherwise go to step 1)

5, make install installation (after installation, remember CD to the installation directory to see if the file is generated)

6. Clear the Temporary files and configuration files generated during installation (make clean & make Distclean)


The following are all the commands that are used during the installation process

[Email protected] ~]# mkdir test

[[Email protected] ~]# CD test

[Email protected] test]# wget http://www.memcached.org/files/memcached-1.4.24.tar.gz

[Email protected] test]# TAR-ZXVF memcached-1.4.24.tar.gz

[Email protected] test]# mkdir memcached

[Email protected] test]# mkdir libevent

[Email protected] test]# wget https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz

[Email protected] test]# TAR-ZXVF libevent-1.4.14b-stable.tar.gz

[Email protected] test]# CD libevent-1.4.14b-stable

< Span style= "font-size:18px" > [[email protected] libevent-1.4.14b-stable ] #./configure--prefix=/root/test/libevent

< Span style= "font-size:18px" > [[ema il protected]  libevent-1.4.14b-stable ]# make

< Span style= "font-size:18px" > < Span style= "font-size:18px" >[[EMAIL&NBSP;PROTECTED]&NBSP; ]# make install

< Span style= "font-size:18px" > < Span style= "font-size:18px" >[[EMAIL&NBSP;PROTECTED]&NBSP; libevent-1.4.14b-stable ]# CD. /memcached-1.4.24

< Span style= "font-size:18px" > < Span style= "font-size:18px" >[[email protected]  memcached-1.4.24 ]#./configure-- prefix=/root/test/memcached--with-libevent=/root/test/libevent

< Span style= "font-size:18px" > < Span style= "font-size:18px" > [[email protected] memcached-1.4.24 ]# make

< Span style= "font-size:18px" > < Span style= "font-size:18px" > [[email protected] memcached-1.4.24 ]# make install

< Span style= "font-size:18px" > < Span style= "font-size:18px" > [[email protected]  memcached-1.4.24 ]# CD. /memcached

< Span style= "font-size:18px" > < Span style= "font-size:18px" > [[ema il protected] memcached ]# ll

< Span style= "font-size:18px" > < Span style= "font-size:18px" >
/span>

To this visible memcached directory files, that is, installation is successful, note that before installing memcached need to libevent, both versions to be consistent, I created a temporary directory for testing, the actual installation process may specify the directory as/root/local/ Memcached, it's best to specify your own directory for easy management

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux Source Installation memcached

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.