How to Download & Install Maven on RedHat 9 Server using MobaXTerm | Step by Step Guide

Опубликовано: 20 Май 2026
на канале: Devops Engr. Lewis
90
2

#devops2engineer #apachemaven #RedHat

In this hands‑on tutorial, you’ll learn how to download and install Apache Maven on a RedHat 9 server using MobaXTerm. This is a step‑by‑step guide designed for DevOps beginners and professionals who want to configure Maven properly in Linux environments.

What you’ll learn in this tutorial:

How to connect to a RedHat 9 server with MobaXTerm

Downloading the latest Apache Maven package

Extracting and installing Maven in the correct directory

Setting up environment variables (JAVA_HOME & PATH) for Maven

Verifying your installation with mvn -v

Troubleshooting common errors during Maven setup

This guide is perfect for:

DevOps Engineers, Cloud Engineers, and SREs

Beginners learning how to install build tools on Linux servers

Anyone preparing for Maven, Jenkins, or Tomcat projects

By the end of this video, you’ll be able to:

Successfully install Maven on RedHat 9 Linux

Configure it correctly for Java projects

Use it in real CI/CD pipelines with Tomcat, Jenkins, or Nexus

This is more than just installation — it’s the foundation for building, packaging, and deploying Java applications in real DevOps environments.

Notes from the video:
How to install Maven on MobaXTerm Redhat 9 Server

Step 1: Search up aws.amazon.com

Step 2: Click on Search, and search EC2

Step 3: Click on EC2

Step 4: Scroll down until you can see Launch instance

Step 5: Click on Launch Instance

Step 6: Name your instance, then scroll down

Step 7: Click RedHat, then scroll down

Step 8: Under Instance Type, click on t2.medium

Step 9: Click on create a new key pair

Step 10: Name your key, then click on create a key pair

Step 11: Under "Network settings", under "Firewall (security groups)" Click on "Create Security Group"

Step 12: Click on "Allow HTTPS traffic from the internet"

Step 13: Click on "Allow HTTP traffic from the internet"

Step 14: Click on Launch Instance

Step 15: The Instance state shows whether its running or not

Step 16: Click on the checkbox to see the Public Ip Address

Step 17: Copy the public ip address of the server

Step 18: Open MobaXTerm

Step 19: Click on "Sessions"

Step 20: Select SSH

Step 21: Paste the Public Ip in the Remote Host

Step 22: Click on specify username

Step 23: Enter your username (Prefferably ec2-user)

Step 24: Click "Advanced SSH settings"

Step 25: Select "Use private key"

Step 26: Click on the documents icon & Select your private key (.pem)

Step 27: Click "Ok" & "Accept"

Step 28: Type "sudo hostnamectl set-hostname Maven"

Step 29: Type "sudo su - ec2-user"

Step 30: Type "cd /opt"

Step 31: Type "sudo yum install wget nano tree unzip git-all -y"

Step 32: Type "sudo yum install java-11-openjdk-devel -y"

Step 33: Type "java -version"

Step 34: Type "git --version"

Step 35: Get on the link "https://maven.apache.org/download.cgi"

Step 36: Right-click the link besides the text "Binary Zip archive"

Step 37: Click on "Copy Link"

Step 38: Type "sudo wget link"

Step 39: Type "sudo unzip filename.zip"

Step 40: Type "sudo rm -rf filename.zip"

Step 41: Type "sudo mv filename Maven"

Whether you're a seasoned DevOps engineer or just starting your journey, this video will provide you with the essential knowledge to confidently work with Linux commands and streamline your workflow.

Don't miss this valuable resource!

Chapters
0:00 - 0:22 Intro
0:23 - 1:03 How to create an AWS Account
1:04 - 2:27 How to create a Maven server
2:28 - 3:21 How to Start your Maven server and connect to your Maven server
3:22 - 5:16 How to Install Maven on MobaXTerm Redhat 9 Server
5:17 - 5:43 Outro

#DevOps #Maven #RedHat #Linux #MobaXTerm #ApacheMaven #JavaDeployment #BuildAndRelease #DevOpsEngineer #CICD #Automation #CloudEngineering #FintechDevOps #JavaAppDeployment #ContinuousIntegration #ContinuousDelivery #MavenCommands #DevOps #Tutorial #GitBasics #CommandLine #ITTraining #TechTips #LearnGit #DevOpsEngineer #ITPro #SoftwareDevelopment #TechTok, #TechTips, #TechLife, #TechAddict, #TechTalk, #TechNews, #MavenLove, #MavenLife, #MavenCommunity, #MavenGeek, #MavenTips, #MavenTutorial, #MavenHack, #LsCommand, #PwdCommand, #CdCommand, #MkdirCommand, #TouchCommand, #RmCommand, #CpCommand, #MvCommand, #ChmodCommand, #ChownCommand, #MavenCommandChallenge, #MavenFilesAndDirectories, #MasterMavenCommands, #MavenTipsAndTricks, #MavenHacking #MavenCommands, #DevOps, #Tutorial, #LinuxBasics, #CommandLine, #ITTraining, #TechTips, #LearnLinux, #DevOpsEngineer, #ITPro, #SoftwareDevelopment, #LinuxTutorial, #LinuxTips, #LinuxGeek, #LinuxCommunity, #LinuxOpenSource, #ITHelp, #ITSupport, #SystemAdmin, #ServerManagement, #CloudComputing, #Automation, #ITCareer, #TechCareer, #DigitalTransformation, #ITEducation, #OnlineLearning, #Programming, #Coding