-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
set -e | ||
|
||
# update your system and install Java | ||
sudo apt -y update && sudo apt -y install openjdk-11-jdk | ||
|
||
# download the latest version of Apache Flink from the Apache website | ||
wget https://www.apache.org/dyn/closer.lua/flink/flink-1.18.0/flink-1.18.0-bin-scala_2.12.tgz | ||
|
||
# extract the Flink tarball | ||
mkdir flink && tar -xzf flink-1.18.0-bin-scala_2.12.tgz -C flink --strip-components 1 | ||
sudo mv flink /opt/ | ||
|
||
# add the Flink bin directory to your PATH environment variable | ||
echo "export PATH=$PATH:/opt/flink/bin" >> ~/.bashrc | ||
|
||
# source your .bashrc file | ||
source ~/.bashrc | ||
|
||
# verify that Flink is installed correctly by running the following command | ||
flink version | ||
/opt/flink/bin/flink version |