Centos7部署memcached

安装memcached依赖包
【Centos7部署memcached】[root@localhost tools]# yum install -y libevent libevent-devel nc -y将memcached包上传至服务器
[root@localhost tools]# ls memcached-1.4.13.tar.gz安装memcached
[root@localhost tools]# lsmemcached-1.4.13.tar.gz[root@localhost tools]# tar xf memcached-1.4.13.tar.gz [root@localhost tools]# lsmemcached-1.4.13memcached-1.4.13.tar.gz[root@localhost tools]# cd memcached-1.4.13/[root@localhost memcached-1.4.13]# ./configure[root@localhost memcached-1.4.13]# make[root@localhost memcached-1.4.13]# make install启动memcached
[root@localhost ~]# memcached -m 16 -p 33211 -d -u root -c 8192查看结果
[root@localhost ~]# lsof -i:33211COMMANDPID USERFDTYPE DEVICE SIZE/OFF NODE NAMEmemcached 6373 root26uIPv4397640t0TCP *:33211 (LISTEN)memcached 6373 root27uIPv6397650t0TCP *:33211 (LISTEN)memcached 6373 root28uIPv4397680t0UDP *:33211 memcached 6373 root29uIPv6397690t0UDP *:33211 总结
这样memcached就安装成功了!




    推荐阅读