Memcached installation pit record

1. Dependence

yum install libevent-devel

 

2. Installation steps provided by the official website

2.1 Source installation

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
 

3. Stepping on the pit record

3.1 When running make test, the error Can't locate Test/More.pm in ...

After checking for a long time, I found a problem with the make test tool

Solution:

yum install yum install perl-Test*

 

3.2 Cannot connect remotely after starting memcached

Solution:

Turn off the Linux firewall

systemctl stop firewalld.service #centos temporarily turn off the firewall
systemctl disable firewalld.service #centos turn off the firewall

 

3.3 Windows cannot connect using telnet ip port

Solution:

Start the telnet client service in the control panel

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325074491&siteId=291194637