- 下载链接
https://downloads.apache.org/flink/flink-1.18.1/ - 上传,解压,重命名,注意路径
tar -zxf /opt/flink-scala/flink-1.18.1-bin-scala_2.12.tgz -C /opt/flink-scala
mv /opt/flink-scala/flink-1.18.1 /opt/flink-scala/flink
- 环境变量
echo "export FLINK_HOME=/opt/flink-scala/flink" >> /etc/profile
echo "export PATH=$PATH:$FLINK_HOME/bin" >> /etc/profile
source /etc/profile
- 启动
start-cluster.sh
jps