安装目录

时间:2018-05-24 20:14:07

标签: apache-kafka installation confluent

我为Sigle Instance App .deb安装了Ubuntu 16.04个软件包  我能够完成confluent 4.1罚款。但是,有些事情需要设置quickstart变量:

env

我看了看:

$CONFLUENT_HOME is not defined. Run 'export CONFLUENT_HOME=/path/to/confluentplatform'

但无处可寻。然后我尝试了:

/opt
/usr/local
/usr/lib

仍然没有。尝试:

idf@idf-vb:~$find / -iname confluence  2>&1 | grep -v "Permission denied"

我找到了

idf@idf-vb:~$ find / -iname confluent  2>&1 | grep -v "Permission denied"

/var/log/confluent
/home/idf/Documents/confluent
/home/idf/Documents/confluent/quickstart-demos/connect-streams-pipeline/src/main/java/io/confluent
/home/idf/Documents/confluent/quickstart-demos/connect-streams-pipeline/src/main/resources/avro/io/confluent
/usr/bin/confluent

但该目录中没有任何内容

除了可执行文件的idf@idf ls /etc/confluent-common/ 目录之外,它几乎不像/usr/bin目录,没有任何内容。 home下的confluent目录只是示例。

我在哪里可以找到我的安装目录?

编辑1

完成后

idf

我确实得到了一堆目录,但仍然不确定idf@idf-vb:~$ find / -iname confluent* 2>&1 | grep -v "Permission denied" 目录是哪个:

HOME

合理的猜测就是这个,因为里面有东西:

idf@idf-vb:~/Documents/confluent$ find / -iname confluent*  2>&1 | grep -v "Permission denied"
/var/lib/systemd/deb-systemd-helper-enabled/confluent-zookeeper.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/confluent-kafka.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/confluent-schema-registry.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/confluent-ksql.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/confluent-kafka-connect.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/confluent-kafka-rest.service.dsh-also
/var/lib/dpkg/info/confluent-schema-registry.postrm
/var/lib/dpkg/info/confluent-kafka-connect-hdfs.list
/var/lib/dpkg/info/confluent-kafka-connect-elasticsearch.list
/var/lib/dpkg/info/confluent-kafka-connect-storage-common.list
/var/lib/dpkg/info/confluent-ksql.postrm
/var/lib/dpkg/info/confluent-ksql.postinst
/var/lib/dpkg/info/confluent-kafka-connect-s3.list
/var/lib/dpkg/info/confluent-cli.list
/var/lib/dpkg/info/confluent-kafka-connect-storage-common.md5sums
/var/lib/dpkg/info/confluent-ksql.prerm
/var/lib/dpkg/info/confluent-ksql.md5sums
/var/lib/dpkg/info/confluent-kafka-rest.prerm
/var/lib/dpkg/info/confluent-kafka-rest.conffiles
/var/lib/dpkg/info/confluent-kafka-connect-elasticsearch.md5sums
/var/lib/dpkg/info/confluent-common.md5sums
/var/lib/dpkg/info/confluent-rest-utils.list
/var/lib/dpkg/info/confluent-schema-registry.conffiles
/var/lib/dpkg/info/confluent-platform-oss-2.11.md5sums
/var/lib/dpkg/info/confluent-kafka-2.11.postinst
/var/lib/dpkg/info/confluent-kafka-connect-jdbc.conffiles
/var/lib/dpkg/info/confluent-kafka-connect-hdfs.conffiles
/var/lib/dpkg/info/confluent-kafka-rest.md5sums
/var/lib/dpkg/info/confluent-cli.md5sums
/var/lib/dpkg/info/confluent-kafka-rest.postrm
/var/lib/dpkg/info/confluent-kafka-connect-hdfs.md5sums
/var/lib/dpkg/info/confluent-schema-registry.list
/var/lib/dpkg/info/confluent-kafka-connect-s3.md5sums
/var/lib/dpkg/info/confluent-schema-registry.postinst
/var/lib/dpkg/info/confluent-kafka-connect-jdbc.md5sums
/var/lib/dpkg/info/confluent-camus.md5sums
/var/lib/dpkg/info/confluent-camus.conffiles
/var/lib/dpkg/info/confluent-kafka-2.11.list
/var/lib/dpkg/info/confluent-camus.list
/var/lib/dpkg/info/confluent-kafka-rest.list
/var/lib/dpkg/info/confluent-ksql.conffiles
/var/lib/dpkg/info/confluent-kafka-connect-jdbc.list
/var/lib/dpkg/info/confluent-kafka-connect-elasticsearch.conffiles
/var/lib/dpkg/info/confluent-ksql.list
/var/lib/dpkg/info/confluent-kafka-connect-s3.conffiles
/var/lib/dpkg/info/confluent-platform-oss-2.11.list
/var/lib/dpkg/info/confluent-kafka-2.11.md5sums
/var/lib/dpkg/info/confluent-schema-registry.prerm
/var/lib/dpkg/info/confluent-rest-utils.md5sums
/var/lib/dpkg/info/confluent-kafka-rest.postinst
/var/lib/dpkg/info/confluent-kafka-2.11.conffiles
/var/lib/dpkg/info/confluent-schema-registry.md5sums
/var/lib/dpkg/info/confluent-kafka-2.11.postrm
/var/lib/dpkg/info/confluent-common.list
/var/log/confluent
/var/cache/apt/archives/confluent-kafka-connect-s3_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-2.11_1.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-connect-jdbc_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-cli_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-camus_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-ksql_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-common_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-connect-storage-common_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-connect-hdfs_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-connect-elasticsearch_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-platform-oss-2.11_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-schema-registry_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-kafka-rest_4.1.1-1_all.deb
/var/cache/apt/archives/confluent-rest-utils_4.1.1-1_all.deb
/lib/systemd/system/confluent-schema-registry.service
/lib/systemd/system/confluent-kafka-rest.service
/lib/systemd/system/confluent-zookeeper.service
/lib/systemd/system/confluent-kafka-connect.service
/lib/systemd/system/confluent-ksql.service
/lib/systemd/system/confluent-kafka.service
/tmp/confluent.Gv3442C2
/tmp/confluent.current
/etc/confluent-common
/home/idf/Documents/confluent
/home/idf/Documents/confluent/quickstart-demos/images/confluent-logo-300-2.png
/home/idf/Documents/confluent/quickstart-demos/connect-streams-pipeline/src/main/java/io/confluent
/home/idf/Documents/confluent/quickstart-demos/connect-streams-pipeline/src/main/resources/avro/io/confluent
/usr/bin/confluent
/usr/share/java/confluent-common
/usr/share/java/camus/confluent-camus-4.1.1.jar
/usr/share/doc/confluent-schema-registry
/usr/share/doc/confluent-camus
/usr/share/doc/confluent-common
/usr/share/doc/confluent-ksql
/usr/share/doc/confluent-kafka-connect-elasticsearch
/usr/share/doc/confluent-kafka-connect-hdfs
/usr/share/doc/confluent-kafka-connect-jdbc
/usr/share/doc/confluent-kafka-connect-storage-common
/usr/share/doc/confluent-kafka-rest
/usr/share/doc/confluent-platform-oss-2.11
/usr/share/doc/confluent-cli
/usr/share/doc/confluent-kafka-connect-s3
/usr/share/doc/confluent-kafka-2.11
/usr/share/doc/confluent-rest-utils
/usr/share/doc/kafka/confluent-support-metrics-client
/usr/share/confluent-common
idf@idf-vb:~/Documents/confluent$

2 个答案:

答案 0 :(得分:1)

我发现即使有两个选项来安装汇合,。deb/rpm包等,以及.tgz file,一些示例程序似乎要求您下载。{{1文件并创建它创建tgz目录的目录。

在AFAIK中,软件包安装具有误导性,无法创建HOME目录。

至少现在,我建议只下载HOME文件。

答案 1 :(得分:0)

我还使用软件包安装了confluent,看来CONFLUENT_HOME是/(ROOT)

如果您不想创建环境变量,则可以传递--path /

confluent local list connectors --path /