Linux Required to Get started with DevOps

Linux Required to Get started with DevOps

Featured on daily.dev

I welcome you to this blog. We'll cover all the required Linux for getting started with DevOps or who wanna learns Linux in a very understandable manner. This is part 1 of Linux Required to Get started with DevOps.

Here, We cover the INTRODUCTION TO LINUX.

So let's start

INTRODUCTION TO LINUX

Firstly, we have to know what is open source because Linux is Open Source.

What is Open Source?

Open source: The software and source code are available to all. Anyone can inspect, modify, and enhance it. Many open-source licenses exist, each different in particular.

Linux Origins

linustorvald both in one frame.png

1984: The GNU Project and the Free Software Foundation Creates an open-source version of UNIX utilities.

• Creates an open-source version of UNIX utilities.

• Creates the General Public License (GPL) Software license enforcing open source principles.

1991: Linus Torvalds

• Creates open-source, UNIX-like kernel, released under the GPL.

Today:

• Linux kernel + GNU utilities= complete, open-source, UNIX-like operating system.

• Packaged for targeted audiences as distributions.

Why Linux?

• Open Source.

• Community support.

• Most Servers run on Linux.

• DevOps most of the tools are implemented on Linux only.

• Automation.

• Secure.

Architecture of Linux

architecture of linux diagram hashnode.png

Linux Kernel receives a command from hardware and passes the signal from hardware to shell, from the shell we can execute commands and expect the return.

Diffrent Linux distros

➔ Popular Desktop Linux OS(operating system)

• Ubuntu Linux

• Linux Mint

• Arch Linux

• Fedora

• Debian

• OpenSuse

➔ Popular Server Linux OS

• Red Hat Enterprise Linux

• Ubuntu Server

• Centos

• SUSE Enterprise Linux

Most used Linux distros currently in IT industry.

• RPM based:- RHEL & Centos.

• Debian based:- Ubuntu Server.

right rpm.png Difference between RPM based and Debian based:

From the user’s point of view, there isn’t much difference between these tools. The RPM and DEB formats are both just archive files, with some metadata attached to them. DEB files are installation files for Debian-based distributions. RPM files are installation files for Red Hat based distributions. Ubuntu is based on Debian’s package management based on APT and DPKG. Red Hat, CentOS, and Fedora are based on the old Red Hat Linux package management system, RPM.

DEB or .deb (Debian based softwares)

DEB is the extension of the Debian software package format and the most often used name for such binary packages. DEB was developed by Bedian.

Example: Google chrome software

Package name: google-chrome-stable_current_amd64.deb

Installation: dpkg -i google-chrome-stable_current_amd64.deb

RPM or .rpm (Red Hat based software)

It is a package management system. The name RPM variously refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for Linux distributions; the file format is the baseline package format of the Linux Standard Base. RPM was developed by Community & Red Hat.

Example: Google chrome software

Package Name: google-chrome-stable-57.0.2987.133-1.x86_64.rpm

Installation: rpm -ivh google-chrome-stable-57.0.2987.133-1.x86_64.rpm

NOTE: You will also encounter different commands, packages, and service names while using both kinds of distros.

Thanks for reading. I would love to connect with you guys on Twitter 🖤🙂.

Did you find this article valuable?

Support WeMakeDevs by becoming a sponsor. Any amount is appreciated!