Sunday, July 15, 2018

Popular DevOps Interview Questions - Top DevOps Interview Questions - Part 3

Let us see some popular but basic DevOps Interview Questions:

1. How will you integrate Jenkins and SonarQube? Walk through steps of Jenkins SonarQube integration
2. Whats the pipeline code for integrating with SonarQube from jenkins?
3. Walk through steps of making a code changes locally and pushing into GitHub or Bitbucket.
4. What is the difference between git clone and git pull?
5. What are the advantages of containers? why we need them?
6. How will you resolve merge conflicts in Git?
7. What is the difference between Ansible and Puppet ? when will you use on tool over other?
8. What is the difference between Ant and Maven? Why maven is better than Ant?


Click here for part 1 DevOps Interview Questions.
Click here for part 2 DevOps Interview Questions.

Thursday, July 5, 2018

Install Tomcat 8 on Ubuntu 16.0.4 - How to install and configure Tomcat 8 on Ubuntu 16.0.4

Tomcat 8 Installation

sudo apt-get update
sudo apt-get install tomcat8
sudo apt-get install tomcat8-docs tomcat8-examples tomcat8-admin
sudo cp -r /usr/share/tomcat8-admin/* /var/lib/tomcat8/webapps/

sudo vi /var/lib/tomcat8/conf/tomcat-users.xml
Go to the end of the file,
Add the below lines in second last line above (above </tomcat-users>)
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
 
<user username="tomcat" password="password" roles="manager-gui,manager-script"/>

sudo vi /etc/default/tomcat8
Look for the line starting JAVA_OPTS and comment that line by adding # and copy the below line:
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC"

sudo systemctl restart tomcat8

sudo systemctl status tomcat8

Now go to browser, enter ip address or DNS name of server with port no 8080

You will see a page that says It Works!

That's is Tomcat is successfully installed on Ubuntu

Wednesday, July 4, 2018

TODO Checklist after finishing DevOps Training Course - Must to do after finishing Devops Coaching

After DevOps Coaching classes are completed, make sure below items are taken by in order to in crease the chances of getting interviews quickly and also getting your offers. 

Please understand it is a process and it takes time...

Have a look at this link to plan your preparation..

Check list after the Training:
 

1. Have you finished all the lab exercises(including bonus :) labs) given by Coach?
2. Did you work on your resume, most importantly change look and feel of resume and get it reviewed by Coach?
3. Did you create an account in Dice, Monster, Indeed and Linkedin?

4. Do you have DevOps interview notes document? Are you using the document as a reference besides google and YouTube?
5. Do you apply for jobs every day in dice, monster, indeed.com?
6. Did you send your resume to at least 8 to 10 vendors a day?
7. Have you read DevOps interview questions(3 sets) from www.coachdevops.com?
8. Are you getting at least 12 to 15 calls a day for DevOps openings? If not, start from # 1 point.
9. Do you have your class notes ready? Are you ready with your notes preparation ?

10. Have you stopped or terminated not being used instances in AWS account and Azure Account?

How to Create Quality Gate in SonarQube and integrate with GitHub Actions | SonarQube Integration with GitHub Actions | Automate Code Scan using SonarQube In GitHub Actions and Force build to Fail or Pass

Pre-requisites: Make sure SonarQube is up and running Make sure Java Project is setup in GitHub SonarQube is already integrated with GitHub ...