Skip to content

Instantly share code, notes, and snippets.

View maikuru's full-sized avatar
Working from home

Mike LP maikuru

Working from home
View GitHub Profile
gaquino / gist:e41b946fd624355f37e9079a1c0792f5
Last active November 10, 2020 18:22
Setup Amazon EC2 - Java 8 + Maven
---- install Oracle JDK 1.8
$ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"
$sudo yum install -y jdk-8u141-linux-x64.rpm
---- install OpenJDK
$ vi
yum install -y java-1.8.0-openjdk-devel
yum remove java-1.7.0-openjdk
wget -O /etc/yum.repos.d/epel-apache-maven.repo