安装CentOS安装kafkaKafka: http://kafka.apache.org/downloadsZooLeeper: https://zookeeper.apache.org/releases.html下载并解压# 下载,并解压 $ wget https://archive.apache.org/dist/kafka/2.1.1/kafka_2.12-2.1.1.tgz $ tar -zx
第一步、添加Ubuntu的源切换到rootsu root编辑软件源文件 vim /etc/apt/source.list添加deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable如图: 添加软件源的公钥curl -fsSL https://download.d