Join us

Linux For DevOps (Part-1)

I started learning DevOps. I would like to share my notes with you guys. Now I would like to about Operating systems and virtualization.

Contents:

What is an Operating System(OS)?

What is Virtualization?

Operating System(OS)

From Wikipedia, An operating system is system software that manages computer hardware, software resources, and provides common services for computer programs.

Operating System(OS)

In general, all the computers will have CPU, Memory, Storage, and Input & Output devices right! And when you run the applications those applications need some storage and memory etc., For instance, take Google chrome, it will not directly interact with the CPU, for processors that it needed. Google Chrome will ask the Operating System, hey! I need some processors to run the application, can you please provide me with the processors I need. Now OS will reply to google chrome okay, take the processors that you need. OS acts as in translator(mediator) between hardware components and the applications.

There are different types of operating systems, Unix and Windows operating systems are more famous. For DevOps mostly we need to work on Linux, so we will talk about Linux mostly in the future.

Virtualization

From Wikipedia, In computing, virtualization is the act of creating a virtual version of something, including virtual computer hardware platforms, storage devices, and computer network resources.

In general, When you’re buying a new laptop what are things you will see! mostly RAM(Minimum 8GB )and storage(minimum 500GB) right! But, you’re laptop uses very few resources. The OS that you’re using Windows and now you want to learn Linux as a new skill or something else. Here are the virtualization pop-ups, with the help of a hypervisor(It is a technology, that allows hosting multiple virtual computers on a physical computer) we can run different types of operating systems by sharing the resources. The main advantage of virtualization is completely isolated, no separate hardware is needed. If the OS crashes or someone hacked the OS which is running on the virtualization software, we can delete that and we can re-install it or else we can take snapshots of VM’S(backups of virtual images) then we can use those snapshots.

  • Virtualization software (such as VMware, Virtual box) takes hardware resources from the host operating system.
  • The virtual box will create a virtual CPU, virtual RAM, virtual storage for each virtual machine.
  • You can only share the resources that you have, You can’t give extra.
  • Hardware resources are shared.
  • VMware and Virtual Box are called Type-2 hypervisors.

Type-1 Vs Type-2 Hypervisors

Type-1 Hypervisors are also called Bare Metal hypervisors, because of the Virtual machines that we are installing directly in the hardware itself, there is no physical OS as you can see in the above image. Type-1 hypervisors will mostly be used for servers such as VMware ESXi and Microsoft Hyper-v etc.

Hey, Bhanu are you kidding? If there is no Physical OS! How we will communicate with the VM’s? Now every virtual machine will get an IP Address then we will SSH(Secure Shell, Run on Port 22) into that machine via terminal, that’s how we will operate that machine.

In the Next module, We will see how to install a Linux OS in a VMware as a virtual machine and some basic Linux Commands.

If you found any mistakes let me know on LinkedIn or below comments.

Thank You for reading. See you Next Time.

About me, I’m a cybersecurity researcher, CTF Player and I’m holding certifications Like CompTIA Security+ and Azure Fundamentals, etc., Fell free to connect with me on LinkedIn for any queries.

If you would like to buy me a coffee ☕ that will be appreciated. https://www.buymeacoffee.com/bhanuprathap


Only registered users can post comments. Please, login or signup.

Start blogging about your favorite technologies, reach more readers and earn rewards!

Join other developers and claim your FAUN account now!

Avatar

Bharath k. REddy

@northerntrust

@bharathkreddy
https://www.bharathkreddy.com
User Popularity
18

Influence

2k

Total Hits

1

Posts

Mentioned tools