Code Monkey home page Code Monkey logo

sampleproject's Introduction

Spring-Boot Manual Installation

Step-1

Perform the below step only when you launch a new ec2 instance. This command updates all the packages with latest version.

sudo yum update -y
sudo yum install git -y

Step-2

Download the spring-boot application from repository at any specific location

sudo git clone https://github.com/TheCloudWorld/spring-boot-demo-app.git

Step-3

Perform the below steps to install all the dependent packages

Add Maven package into yum repository

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

Install Apache Maven package

sudo yum install -y apache-maven

Install Java package

sudo yum install java-1.8.0-openjdk-devel.x86_64 -y

Step-4

Build the Artifact

mvn clean install

Step-5

You will get your ".jar" file in the target folder. Move the .Jar file to any specific application location, from where you want to run the application. Then perform the below step to run the application.

Run the below command to launch spring-boot app

java -jar JAR_FILE_NAME.jar

"OR"

Below command runs launches the spring-boot app as the background process

nohup java -jar JAR_FILE_NAME.jar > /dev/null 2>&1 &

sampleproject's People

Contributors

shikhaasharmaa45 avatar

Watchers

 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.