memcached的启动和停止

来源:互联网 发布:矩阵与行列式的区别 编辑:程序博客网 时间:2024/06/09 21:08

memcached的启动和停止

[root@hotapply ~]# ps -ef|grep memcachedroot      9662     1  0 10:13 ?        00:00:00 /usr/bin/memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 -c 1024 -P /tmp/memcached.pidroot     10155  8703  0 10:14 pts/0    00:00:00 grep memcached[root@hotapply ~]# kill 9662[root@hotapply ~]# ps -ef|grep memcachedroot     10298  8703  0 10:14 pts/0    00:00:00 grep memcached[root@hotapply ~]# ps -ef|grep memcachedroot     10412  8703  0 10:14 pts/0    00:00:00 grep memcached[root@hotapply ~]# /usr/bin/memcached  -d -m 1024 -u root -l 127.0.0.1 -p 11211 -c 1024 -P /tmp/memcached.pid

注意启动的时候,我指定了只能本服务器调用,防止被人攻击。可参考阿里云的文档
memcache 未授权访问漏洞

0 0
原创粉丝点击