1、環境描述:
Linux 伺服器,memcached1.4.5
登入linux的使用者名tuxedo,密碼tuxedo
2、啟動memcached sasl認證
[[email protected] bin]$ su root
Password:
[[email protected] bin]# /etc/init.d/saslauthd start
啟動 saslauthd: [确定]
[[email protected] bin]# /usr/sbin/testsaslauthd -u tuxedo -p tuxedo
0: OK "Success."
[[email protected] bin]# ls
memcached start
[[email protected] bin]# pwd
/home/tuxedo/memcachedSasl/bin
[[email protected] bin]#
[[email protected] bin]# ./memcached -d -m 1024 -S -l 192.168.128.83 -p 11212 -u tuxedo
3、參考:
http://lguan.iteye.com/blog/1279537
轉載于:https://www.cnblogs.com/hujie-developer/p/6022699.html