1, 安装jdk ,java -version jdk版本8 or 11
2,下载安装包:https://mirrors.tuna.tsinghua.edu.cn/apache/flink/flink-1.11.0/flink-1.11.0-bin-scala_2.11.tgz
3,解压:
$ tar -xzf flink-1.11.0-bin-scala_2.11.tgz$ cd flink-1.11.0-bin-scala_2.11
4, 启动集群:./bin/start-cluster.sh
Starting cluster.Starting standalonesession daemon on host.Starting taskexecutor daemon on host.
5,尝试提交一个job:./bin/flink run examples/streaming/WordCount.jar
6,停止集群:
$ ./bin/stop-cluster.sh