PlacementBatches Classroomnotes 14/Apr/2022

Activity 1:

  • Configure Apache Server to Forward the request recieved on 80 to spring petclinic running on your system
  • Do the similar activity with Nginx
  • Installing spring pet clinic
    • Download spring petclinic Refer Here
    • Create a ubuntu (20.04) instance on your favorite cloud
    • Installing Java
      bash
      sudo apt update
      sudo apt-cache search openjdk
      sudo apt-cache madison openjdk-11-jdk
      sudo apt install openjdk-11-jdk -y
      java -version
    • Download the spring petclinic
      wget https://referenceapplicationskhaja.s3.us-west-2.amazonaws.com/spring-petclinic-2.4.2.jar
      java -jar spring-petclinic-2.4.2.jar
    • To ensure application is running all the time we need to run it in background
      • Best Way => is to make this a daemon
      • Quick way
  • Now configure the apache server to do the rest
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%