99网
您的当前位置:首页Linux启动脚本

Linux启动脚本

来源:99网
case $1 in
"start" )( ssh lin "/home/lin/export/zookeeper-3.6.3-bin/bin/zkServer.sh start;    
            export/hadoop-3.1.4/sbin/start-dfs.sh; export/hadoop-3.1.4/sbin/start-yarn.sh;
            /home/lin/export/kafka_2.12-2.8.0/bin/kafka-server-start.sh     /home/lin/export/kafka_2.12-2.8.0/config/server.properties  ");;

"stop")(ssh lin "  /home/lin/export/kafka_2.12-2.8.0/bin/kafka-server-stop.sh stop;
         /home/lin/export/zookeeper-3.6.3-bin/bin/zkServer.sh stop;    
                 export/hadoop-3.1.4/sbin/stop-dfs.sh; export/hadoop-3.1.4/sbin/stop-yarn.sh;
                "
        );;
esac


因篇幅问题不能全部显示,请点此查看更多更全内容