What Will You Learn ?
- DevOps is a set of practices that combines software development (Dev) and IT operations (Ops)
- This article will get you started with the fundamentals of DevOps and understanding how to use it in real projects
- Understanding what DevOps is and why it's needed along with the basic terminologies
- Getting started with DevOps and understanding its architecture and lifecycle
- Introduction to Git and it's basic commands
- Introduction to Docker, Docker container and it's related concepts
- Getting started with Jenkins and understanding how to integrate it with Github
- Basics of Selenium and Nagios
Who is the target audience ?
- Students and industry professionals who wish to get hands-on something called DevOps
- Users who wish to learn how to integrate the processes between software development IT teams and manage various projects
Benefits
- Improved operational support and faster fixes
- Good processes across IT and teams, including automation
- Increased team flexibility and agility
- Happier, more engaged teams
- Cross-skilling and self-improvement
Salary
- Average Salary: $133,378 per year
Requirements
- Knowledge and experience with a few programming languages
- Understanding of various tools and technologies such as Git, Virtualization and more
- Awareness of Linux and Networking
- Ability to think logically and broadly
DevOps
DevOps is neither a tool nor any programming language. It is an idea or way for working. It helps unify the processes and fastens the production with minimal efforts.
When the development and operations team works separately, it takes a lot of time to deliver the applications.
DevOps Logo |
DevOps is a simple methodology of bridging this get between software development and IT operation by using various automation tools.
It aims at shortening this software development life cycle and provides continuous updating and monitoring of the same.
It read closely, DevOps when split in two reads as Dev and Ops, that is, Development and Operations.
Let's further understand the anatomy of this lifecycle!
Dev team
More than one developer works on the codes which are then integrated together. The developer follows the following important basic steps to generate a final code:
- Plan the code as per the requirement
- Build the code, that is, write down the code
- Test the code to ensure a error-free code
- Release the code
Ops team
Once the code is released to the Ops team, it performs the following basic steps:
- Check if the released code on the testing server for bugs
- If none found, push it onto the production server
- Continuously monitor the events happening around on the server
Magnifying the DevOps lifecycle
We understand how exactly the whole DevOps process flows. As we saw, it is a continuous and automated process happening around.
The developing, testing, deploying and monitoring is carried on continuously.
What are DevOps tools ?
Let's now map the required tools with its respective process.
In this course, we are going to learn various amazing tools that are required for implementing the DevOps method.
So get ready to unleash the following tools that we are going to learn.
- Git - Continuous development
- Jenkins - Continuous Integration
- Docker - Continuous Deployment
- Selenium - Continuous Testing
- Nagios - Continuous Monitoring
Introduction to Git
Git is a distributed version control system that manages the source code of your software program efficiently. It keeps a track of the change you make to your codes. The most widely used code storing platform is GitHub.
Git manages the code on GitHub for you as per your Git commands.
You will have to create an account on GitHub in order to build your own repository where you would manage your source codes.
It is very simple task that we will surely look at in our next section.
Following are the simple steps to create your GitHub account:
- Go to github.com
- Enter all the information
- After submitting the some you will see your profile created on GitHub just like this:
GitHub Profile |
Congratulations! You have your GitHub account ready.
Now let's move ahead...
Now before moving with the commands, let's first download Git tool as follows:
First, you need to download Git from
Click on Windows and you will see this:
Git download |
Git setting |
Git terminal |
Git commands
creating a directory |
1) Create your own directory:
mkdir devops
2) Check the existence of your directory:
Is
3) Enter the directory:
cd devops
4) Make your directory git initialised that is you need to create your git repository:
git init
This creates a git sub directory in your devops folder which has all the necessary files for your repository.
Git sub directory |
5) Add a file in your directory using the nano command. Enter any text of your choice in the file:
Nano command |
6) Check the status of your files in your directory using the following command:
git status
you will see something like this:
directory |
The untracked files message indicates that files cannot tracked by git since they are just into your directory and into the git repository.
7) Let's add them now in the git file system using the add command:
git add
Or
git.add.test.txt
The dot after the add command means add all the files from the current directory to the git repository:
Git repository |
As you can see after adding the files, you no longer see the untracked files message.
Now let's save these files in our git file system (here -m denotes a message you wish to show stating what exactly you are doing:
git commit -m "First Commit"
Following is the output
output |
Oops! what went wrong ?
Let's fix it!
As we saw, Git didn't allow us to commit the changes to our Git file system. Why is it so ?
Because it failed to recognize the user, hence it asks for email id and your GitHub username to validate your repository.
Let's try this now and see if it helps:
git config --global user.email
"YOUR_EMAIL"
git config --global user.name
"YOUR_USERNAME"
Now try running the commit command and see what you get here:
commit command |
Hurry! It works.
Thanks brother ❤☺
ReplyDeleteYour website is now trending😀
ReplyDeleteThanks🧡😉
DeleteGreat
ReplyDeleteWhat is JavaScript?
ReplyDeletePlease make article on this.
This article is a creative one and the concept is good to enhance our knowledge. Waiting for more updates.
ReplyDeleteDevops Online Course
Best Devops Online Training
Learn Devops Online
Thanks Hema for commenting. I will definitely update this article.
DeleteVery good post. Please continue to post such awesome posts. It was so nice reading the article and it helped me improve my knowledge as an updated one. Thanks a lot.
ReplyDeleteDevOps Certification Training in Electronic City