Flink安装和部署
[本地模式]
一、下载
wget https://mirrors.bfsu.edu.cn/apache/flink/flink-1.12.1/flink-1.12.1-bin-scala_2.11.tgz
二、解压
tar -zxvf flink-1.12.1-bin-scala_2.11.tgz -C ../software/
三、配置bash脚本
1.vim ~/.bash_profile
export FLINK_HOME=/usr/local/flink-1.10.1 export PATH=$PATH:$FLINK_HOME/bin
2.source一下
source ~/.bash_profile
四、启动Flink
sh start-cluster.sh # 访问http://localhost:8081/
五、关闭Flink
sh stop-cluster.sh