Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Install Apache Kafka—a stream-processing platform—on a CentOS VPS—install Java:
yum install java-11-openjdk -y
download Kafka extract to /opt/kafka start Zookeeper:
/opt/kafka/bin/zookeeper-server-start.sh /opt/kafka/config/zookeeper.properties &
then Kafka:
/opt/kafka/bin/kafka-server-start.sh /opt/kafka/config/server.properties
Open port:
firewall-cmd --add-port=9092/tcp
On Vultr test with
/opt/kafka/bin/kafka-topics.sh --list --bootstrap-server ip:9092
Ensures uptime—real-time data for phpMyAdmin in VPS hosting

Back to All Tips