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安装方法
  • 热门搜索
    丹东旅游景点大全 去越南旅游要多少钱 梅州旅游景点大全 重庆旅游学校 云水谣旅游攻略 旅游推广 珠海旅游景点大全 厦门鼓浪屿旅游 贵州遵义旅游 驴妈妈旅游网官网