0 课程地址
https://coding.imooc.com/lesson/201.html#mid=12709
1 重点关注
1.1 设置某个ip具有操作权限
[zk: localhost:2181(CONNECTED) 13] create /names/ip ip Created /names/ip
[zk: localhost:2181(CONNECTED) 14] getAcl /names/ip 'world,'anyone : cdrwa
[zk: localhost:2181(CONNECTED) 15] setAcl /names/ip ip:192.168.43.207:cdrwa cZxid = 0x5c ctime = Thu Feb 22 07:01:18 CST 2024 mZxid = 0x5c mtime = Thu Feb 22 07:01:18 CST 2024 pZxid = 0x5c cversion = 0 dataVersion = 0 aclVersion = 1 ephemeralOwner = 0x0 dataLength = 2 numChildren = 0
[zk: localhost:2181(CONNECTED) 16] getAcl /names/ip 'ip,'192.168.43.207 : cdrwa
[zk: localhost:2181(CONNECTED) 17]
2 课程内容
3 Coding
诸葛