PlacementBatches Classroomnotes 14/Apr/2022

Activity 1:

  • Configure Apache Server to Forward the request recieved on 80 to spring petclinic running on your system
    Preview
  • Do the similar activity with Nginx
    Preview
  • 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
        Preview
  • Now configure the apache server to do the rest

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner