2.5.1. nc编译安装
netcat-0.7.1.tar.gz2.5.2. 部分版本默认启用四字命令,以下命令用于测试四字命令的启用情况
若出现以上返回则说明四字命令未启用,需做以下配置
2.5.2.1. 四字命令开启配置
(1)登录zookeeper服务器,修改zoo.cfg配置
(2)保存退出后重启zookeeper服务
2.5.3. 平台添加监控

Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
# tar xvf netcat-0.7.1.tar.gz
# cd netcat-0.7.1
# ./configure --prefix=/usr/local/netcat/
# make install
# ln -s /usr/local/netcat/bin/nc /usr/bin
# echo conf|nc
若出现以上返回则说明四字命令未启用,需做以下配置
# vim /usr/local/zookeeper/conf/zoo.cfg
4lw.commands.whitelist=*
(2)保存退出后重启zookeeper服务
# service zookeeper restart

Was this page helpful?
