Code Monkey home page Code Monkey logo

aws-userdatalms's Introduction

#!/bin/bash
sudo su
cd /opt/
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz"
tar xzf jdk-8u171-linux-x64.tar.gz
cd /opt/jdk1.8.0_171/
alternatives --install /usr/bin/java java /opt/jdk1.8.0_171/bin/java 2
echo 1|alternatives --config java

alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_171/bin/jar 2
alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_171/bin/javac 2
alternatives --set jar /opt/jdk1.8.0_171/bin/jar
alternatives --set javac /opt/jdk1.8.0_171/bin/javac




export JAVA_HOME=/opt/jdk1.8.0_171
export JRE_HOME=/opt/jdk1.8.0_171/jre
export PATH=$PATH:/opt/jdk1.8.0_171/bin:/opt/jdk1.8.0_171/jre/bin


cd /opt/

wget http://www-us.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz
tar xzvf apache-maven-3.5.3-bin.tar.gz

export PATH=/opt/apache-maven-3.5.3/bin:$PATH

cd /home/ec2-user/


sudo yum install git -y

git clone https://github.com/snmsoodan/LMSSpringBootOrchestration
mvn package -f LMSSpringBootOrchestration/LMSSpringBootOrchestration/pom.xml

git clone https://github.com/snmsoodan/LMSSpringBootAdmin
mvn package -f LMSSpringBootAdmin/LMSSpringBootAdmin/pom.xml

git clone https://github.com/snmsoodan/LMSSpringBootBorrower
mvn package -f LMSSpringBootBorrower/LMSSpringBootBorrower/pom.xml

git clone https://github.com/snmsoodan/LMSSpringBootLibrarian
mvn package -f LMSSpringBootLibrarian/LMSSpringBootLibrarian/pom.xml


sudo nohup java -jar LMSSpringBootAdmin/LMSSpringBootAdmin/target/lms-0.0.1-SNAPSHOT.jar &

sudo nohup java -jar LMSSpringBootOrchestration/LMSSpringBootOrchestration/target/lms-0.0.1-SNAPSHOT.jar &

sudo nohup java -jar LMSSpringBootBorrower/LMSSpringBootBorrower/target/lms-0.0.1-SNAPSHOT.jar &

sudo nohup java -jar LMSSpringBootLibrarian/LMSSpringBootLibrarian/target/lms-0.0.1-SNAPSHOT.jar &

aws-userdatalms's People

Contributors

snmsoodan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.