Skip to content

Instantly share code, notes, and snippets.

View njchandu's full-sized avatar

Chandan Javaregowda njchandu

View GitHub Profile
@njchandu
njchandu / gist:79e73c626cc51bf10c3565c09e6a5b47
Last active August 8, 2017 20:05 — forked from sebsto/gist:19b99f1fa1f32cae5d00
Install Maven with Yum on Amazon Linux
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
sudo yum install git
sudo yum install java-1.8.0-openjdk-devel
sudo update-alternatives --config java
sudo update-alternatives --config javac