100 Days of DevOps Day11

Hello Kodekloud team,

I would like to report a possible issue with the task validation.

Task Summary:
The task required me to Install and configure tomcat server which i installed confgured correctly and also reachable on port 6000 on server stapp01 and that it could be accessed from the jump host using:

Challenge : 100 Days of DevOps
Day : 11 ( Install and configure tomcat server)

curl http://stapp01:6000/

I have followed the below steps to complete the task.

  1. On Jum server i run below command to copy the Root.war file
    scp /tmp/ROOT.war tony@stapp01:/tmp/

  2. Install the tomcat using dnf package manager
    dnf install -y tomcat tomcat-webapps

  3. Change the connector port from 8080 to 6000 on server.xml file.
    vi /etc/tomcat/server.xml

  4. copy the file from tmp directoy to tomcat directory
    cp /tmp/ROOT.war /var/lib/tomcat/webapps/

  5. then change the ownership
    chown tomcat:tomcat /var/lib/tomcat/webapps/ROOT.war

  6. Enable and Start Tomcat Services
    systemctl daemon-reload
    systemctl enable --now tomcat
    systemctl start tomcat

  7. Then curl from jump, i am able to curl the same from all app server
    curl -i http://lstapp01:6000

It would have helped if you had shared the server.xml contents.

Did you try placing the ROOT.war in /usr/share/tomcat/webapps/ on the App Server?

The connector block should look something like:

<Connector port="<your-port>" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />
1 Like

Thank you for the quick assistance!

It would be really helpful if the @KodeKloud team could add a hint button or some AI assistance to the 100 Days of DevOps and other courses for each question. That way, learners can get guidance when they’re stuck and make the whole experience smoother and easier.

I haven’t tried that yet. I’ll go ahead and place the ROOT.war file in /usr/share/tomcat/webapps/ on the App Server and check how it works.

If you face any issue further fell free to explore my solutions and if helpful make sure to give a star to my repo .

GitHub - MiqdadProjects/kodekloud-eng-100-days-devops: A comprehensive collection of hands-on tasks and projects completed during the KodeKloud eng 100 Days of DevOps challenge. This repository covers practical skills in Linux, Docker, Ansible, Git, Kubernetes, AWS, Grafana, CI/CD pipelines, and more, aimed at mastering DevOps tools and practices. · GitHub

1 Like

It won’t help. Your solution places the sidecar container in the regular containers list, instead of initContainers with restartPolicy: Always.

1 Like

The 100 Days and KodeKloud engineer are challenges not instruction labs, therefore they do not come with hints or solutions.

1 Like

Thank you so much, @MIQDAD, @Santosh_KodeKloud, @Alistair_KodeKloud and the @KodeKloud team, for your quick response and support. I truly appreciate the help.

Community collaboration like this makes learning much easier and helps beginners like me move in the right direction as I transition from virtualization support engineer(L3) to a DevOps engineer.

This response will really help me continue my “100 Days of DevOps” journey. If I get stuck in the future, I’ll definitely come back to this (repo) shared by @MIQDAD —it’s a complete and very helpful solution.

Hi Satish Salunkhe

Thank you so much for the kind words! I’m incredibly glad to hear that the solution was helpful and that it’s giving you the right direction for your 100 Days of DevOps journey. Transitioning from an L3 Virtualization Support Engineer to DevOps is a fantastic path, and you already have a solid foundation to build on.

If you find the repository useful as you progress, please consider giving it a star :star:—it helps others in the community discover it too!

Also, since you are on this learning path, I wanted to let you know that I have also created a dedicated GitHub repository for the 100 Days of AWS Challenge. For that challenge, I didn’t just stop at the code; I have documented every single task with detailed explanations and paired them with video tutorials to make the concepts even easier to grasp.

You can check out the AWS repo here:

Additionally, if you are practicing on the KodeKloud Engineer platform, I have created complete solutions for tasks across various DevOps tools, including Linux, Docker, Ansible, Kubernetes, Terraform, and Jenkins—with plans to add even more soon! If you ever get stuck on a specific platform task, feel free to refer to my solutions for help.

Don’t hesitate to reach out or drop a question if you get stuck again. The community is always here to support you. Keep up the amazing momentum with your 100-day challenges!

Best regards,

Miqdad