DevOps Project for Beginners

Image

Update this in ~/.bash_profile:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

M2_HOME=/opt/maven
M2=/opt/maven/bin
JAVA_HOME=/usr/lib/jvm/java-21-amazon-corretto.x86_64

# User specific environment and startup programs
#
PATH=$PATH:$HOME/bin:$JAVA_HOME:$M2:$M2_HOME

export PATH