zkcli.sh:13:zkcli.sh:unzip:not found

时间:2016-08-08 15:06:09

标签: amazon-web-services tomcat solr debian apache-zookeeper

我一直试图让Solr在AWS上工作几天。我一直在关注这个教程:Tutorial for setting up SolrCloud on Amazon EC2我几乎拥有它但是当我在SSH中运行这一行时:

sh zkcli.sh -zkhost ec2-xx-xxx-x-xx.compute-1.amazonaws.com:2181,ec2-xx-xx-x-xxx.compute-1.amazonaws.com:2181,ec2-xx-xxx-xx-xx.compute-1.amazonaws.com:2181 -cmd upconfig -confdir /opt/solr_install/example/solr/collection1/conf -confname myconfig  

我收到以下错误:

 zkcli.sh: 13: zkcli.sh: unzip: not found
    Error: Could not find or load main class org.apache.solr.cloud.ZkCLI

我不知道该怎么办。有谁知道发生了什么事?

1 个答案:

答案 0 :(得分:1)

我想我找到了麻烦。我必须安装解压缩即sudo apt-get install unzip