cd /opt/tomcat/bin
./startup.sh
cd /opt/nginx-1.11.9
sbin/nginx
cd /opt/kafka
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
bin/kafka-console-consumer.sh -zookeeper localhost:2181 --from-beginning --topic test
cd /opt/apache-flume-1.7.0-bin
./bin/flume-ng agent -n agent -c conf -f conf/flume-conf.properties -Dflume.root.logger=INFO,console