Centos8 安装 memcached方法

 时间:2026-02-16 12:16:23

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
  • 安装Memcached 1.4.5 版本
  • 安装memcached最新版本方法
  • Memcached安装方法
  • windows系统安装memcached
  • 热门搜索
    上海地铁博物馆 铿锵的近义词 车祸赔偿金怎么算 内存卡读不出来怎么办 发型师简介 短发发型男 科学常识 慈祥的近义词 疖子是怎么引起的 英语考级怎么考