Centos7怎么安装memcached集中式缓存系统
这篇“Centos7怎么安装memcached集中式缓存系统”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“Centos7怎么安装memcached集中式缓存系统”文章吧。
Memcached 是一个高性能、分布式内存对象缓存系统,本质上是通用的,但目的是为了通过减轻数据库负载来加快动态网络应用的速度。Memcached 是一个内存键值存储,用于存储来自数据库调用、API调用或页面渲染结果的小块任意数据(字符串、对象)。
环境准备环境:CentOS 7.4
ip:172.16.1.112
具体安装步骤安装memcached依赖包[root@localhosttools]#yuminstall-ylibeventlibevent-develnc-y将memcached包上传至服务器
[root@localhosttools]#lsmemcached-1.4.13.tar.gz安装memcached
[root@localhosttools]#lsmemcached-1.4.13.tar.gz[root@localhosttools]#tarxfmemcached-1.4.13.tar.gz[root@localhosttools]#lsmemcached-1.4.13memcached-1.4.13.tar.gz[root@localhosttools]#cdmemcached-1.4.13/[root@localhostmemcached-1.4.13]#./configure[root@localhostmemcached-1.4.13]#make[root@localhostmemcached-1.4.13]#makeinstall启动memcached
[root@localhost~]#memcached-m16-p33211-d-uroot-c8192查看结果
[root@localhost~]#lsof-i:33211COMMANDPIDUSERFDTYPEDEVICESIZE/OFFNODENAMEmemcached6373root26uIPv4397640t0TCP*:33211(LISTEN)memcached6373root27uIPv6397650t0TCP*:33211(LISTEN)memcached6373root28uIPv4397680t0UDP*:33211memcached6373root29uIPv6397690t0UDP*:33211
以上就是关于“Centos7怎么安装memcached集中式缓存系统”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注亿速云行业资讯频道。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。