1.安装memcached
yum -y install memcached
2.启动memcached
service memcached start
3.memcached的默认端口是11211
4.使用telnet链接
telnet localhost 11211 set abc 0 0 5 147258 get abc quit
时间: 2024-10-03 14:02:50
yum -y install memcached
service memcached start
telnet localhost 11211 set abc 0 0 5 147258 get abc quit