- install vagrant - https://www.vagrantup.com/
- git clone https://github.com/matt-holmes/spring-vagrant.git
- cd spring-vagrant
- vagrant up
- vagrant ssh
- sudo add-apt-repository ppa:linuxuprising/java
- sudo apt-get update
- sudo apt-get install oracle-java11-set-default -y
- sudo apt-get install unzip -y
- curl -O https://downloads.gradle.org/distributions/gradle-5.4.1-bin.zip
- sudo mkdir /opt/gradle/
- sudo unzip -d /opt/gradle/ gradle-5.4.1-bin.zip
- export PATH=$PATH:/opt/gradle/gradle-5.4.1/bin
- sudo apt-get install mysql-server -y
- sudo apt-get install git -y
-
gradle -v
------------------------------------------------------------ Gradle 5.4.1 ------------------------------------------------------------ Build time: 2019-04-26 08:14:42 UTC Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d Kotlin: 1.3.21 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 11.0.2 (Oracle Corporation 11.0.2+9-LTS) OS: Linux 3.13.0-158-generic amd64
-
java --version
java 11.0.2 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)