Skip to content

Commit 7bf9d68

Browse files
authored
Update installation.md
1 parent 7aef7a7 commit 7bf9d68

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

content/learning-paths/servers-and-cloud-computing/flink-on-gcp/installation.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ layout: learningpathall
77
---
88

99
## Install Apache Flink on GCP VM
10-
This guide walks you through installing **Apache Flink** and its required dependencies on a **Google Cloud Platform (GCP) SUSE Arm64 Virtual Machine (VM)**. By the end of this section, you will have a fully configured Flink environment ready for job execution and benchmarking.
10+
In this section you will install Apache Flink and its required dependencies on a Google Cloud Platform (GCP) SUSE Arm64 Virtual Machine (VM). By the end, you will have a fully configured Flink environment ready for local execution, standalone clusters, or benchmarking Flink workloads on Arm.
1111

1212
### Update the System and Install Java
13-
Before installing Flink, ensure your system packages are up to date and Java is installed.
14-
13+
Apache Flink requires a Java runtime (JRE) and development kit (JDK).
14+
Update the system and install Java:
1515
```console
1616
sudo zypper refresh
1717
sudo zypper update -y
@@ -20,7 +20,7 @@ sudo zypper install -y java-17-openjdk java-17-openjdk-devel
2020
This step ensures you have the latest system updates and the Java runtime needed to execute Flink applications.
2121

2222
### Download Apache Flink Binary
23-
Next, download the pre-built binary package for **Apache Flink** from the official Apache mirror.
23+
Navigate to /opt (a standard location for system-wide tools) and download the official Flink distribution:
2424

2525
```console
2626
cd /opt
@@ -32,45 +32,42 @@ This command retrieves the official Flink binary distribution for installation o
3232
Flink 2.0.0 introduced Disaggregated State Management architecture, which enables more efficient resource utilization in cloud-native environments, ensuring high-performance real-time processing while minimizing resource overhead.
3333
You can view [this release note](https://flink.apache.org/2025/03/24/apache-flink-2.0.0-a-new-era-of-real-time-data-processing/)
3434

35-
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends Flink version 2.0.0, the minimum recommended on the Arm platforms.
35+
For best performance on Arm, the [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends using Flink 2.0.0.
3636
{{% /notice %}}
3737

3838
### Extract the Downloaded Archive
39-
Extract the downloaded `.tgz` archive to make the Flink files accessible for configuration.
39+
Untar the archive:
4040

4141
```console
4242
sudo tar -xvzf flink-2.1.1-bin-scala_2.12.tgz
4343
```
4444
After extraction, you will have a directory named `flink-2.1.1` under `/opt`.
4545

46-
**Rename the extracted directory for convenience:**
47-
For easier access and management, rename the extracted Flink directory to a simple name like `/opt/flink`.
48-
46+
Rename it for convenience:
4947
```console
5048
sudo mv flink-2.1.1 /opt/flink
5149
```
52-
This makes future references to your Flink installation path simpler and more consistent.
50+
This makes configuration, upgrades, and scripting easier for your Flink installation.
5351

5452
### Configure Environment Variables
55-
Set the environment variables so the Flink commands are recognized system-wide. This ensures you can run `flink` from any terminal session.
53+
Add Flink to your shell environment:
5654

5755
```console
5856
echo "export FLINK_HOME=/opt/flink" >> ~/.bashrc
5957
echo "export PATH=\$FLINK_HOME/bin:\$PATH" >> ~/.bashrc
6058
```
61-
62-
Additionally, create a dedicated log directory for Flink and assign proper permissions:
59+
Create a logging directory and assign proper permissions:
6360
```console
6461
sudo mkdir -p /opt/flink/log
6562
sudo chown -R $(whoami):$(id -gn) /opt/flink/log
6663
sudo chmod -R 755 /opt/flink/log
6764
```
68-
69-
**Apply the changes:**
65+
Apply the changes:
7066

7167
```console
7268
source ~/.bashrc
7369
```
70+
Adding Flink to the global PATH lets you use commands like `flink`, `start-cluster.sh`, and `taskmanager.sh` from any terminal.
7471

7572
### Verify the Installation
7673
To confirm that Flink has been installed correctly, check its version:

0 commit comments

Comments
 (0)