Skip to main content

Posts

Showing posts with the label deploy java springboot app

How to deploy Java Springboot application in Ubuntu 16.04/18.04

  Hello Friends Today, I am going to show you how can we deploy a Java Spring-boot application in Ubuntu 16.04/18.04 Step 1: SSH to your server Step 2: Once you logged into server, update the Ubuntu packages sudo apt-get update Step 3: Install the Java package. It is required to run Jenkins. To add the PPA, It contains the Java sudo add-apt-repository ppa:webupd8team/java Press Enter key to continue. It will created the keyring Step 4: Update and Package after keyrings added and Run the Java Installation sudo apt-get update sudo apt install oracle-java8-installer Step 6: Click OK to accept License Agreement Click Yes to accept Oracle Binary Code License terms. Verify the installed Java version java -version javac -version Step 7: Next, we will install the maven, as it is the build tool for Java applications. sudo apt-get install maven -y Step 8: Now as we are going to deploy Java Spring-boot application. For this demo in going to clone a sample Java Spring-boot application from the...