Centos8 安装 memcached方法

 时间:2026-04-22 06:51:02

1、操作系统版本为CentOS Linux release 8.1.1911 ,为当前最新版系统

Centos8 安装 memcached方法

2、系统采用最小化安装,安装gcc源码编译使用

yum install gcc -y

yum install make -y

最小化安装make也需要先安装

Centos8 安装 memcached方法

3、获取源码包libevent-2.0.21-stable.tar.gz

memcached需要使用到libevent

Centos8 安装 memcached方法

4、解压并编译安装libevent

tar zxf libevent-2.0.21-stable.tar.gz

cd libevent-2.0.21-stable

./configure -prefix=/home/libevent-2.0.21-stable

make && make install

Centos8 安装 memcached方法

5、获取memcached源码安装包memcached-1.4.32.tar.gz

Centos8 安装 memcached方法

6、解压memcached-1.4.32.tar.gz

[root@localhost ~]# tar xzf memcached-1.4.32.tar.gz 

[root@localhost ~]# cd memcached-1.4.32/

[root@localhost memcached-1.4.32]#

Centos8 安装 memcached方法

7、./configure -with-libevent=/home/libevent-2.0.21-stable

make && make install

Centos8 安装 memcached方法

  • memcached failed to start 解决
  • Centos7 安装Memcached服务方法
  • 安装memcached最新版本方法
  • 安装memcached最新版本方法
  • Memcached安装方法
  • 热门搜索
    怎么消除紧张 屏幕分辨率怎么调 感冒咳嗽吃什么药好 虫牙怎么办 迅雷怎么下载 excel底纹怎么设置 胖人适合什么发型 头屑多怎么办 壁纸怎么贴在墙上 屏幕保护程序怎么设置