Linux for Devops
Linux for Devops
Ans. The internet is a global network of computers that communicate with each other using
standardized protocols. It allows computers to exchange information and resources over long
distances.
2. What is Servers?
Ans. A server is a computer program or device that provides services to other computers on a
network. Servers are typically used to store, process, and deliver data and resources to clients.
Ans. Web servers are specifically designed to serve web pages and other content over the internet.
They are optimized for handling HTTP requests and responses. Web servers typically use HTTP
as the communication protocol.
Application servers, on the other hand, are more versatile and can run a wide range of
applications. They are designed to support business logic, data processing, and other complex
tasks. Application servers often use protocols like Java EE, CORBA, or Microsoft COM/DCOM.
4. Types of Applications?
A. Standalone applications: These are applications that run on a single computer and are not
connected to the internet. They are typically used for local tasks such as word processing,
spreadsheet calculations, and database management.
B. Web applications: These are applications that run on a web server and are accessed through
a web browser. They are typically used for online tasks such as email, online shopping, and
social networking.
Ans. Application support is the process of providing technical assistance and troubleshooting for
software applications. It involves monitoring the performance of applications, identifying and
resolving issues, and ensuring that applications run smoothly and efficiently.
Ans. Application maintenance is the process of updating, upgrading, and modifying software
applications to ensure they continue to function properly and meet the needs of users. It involves
fixing bugs, adding new features, and optimizing performance.
By Shubham Chimkar
*Introduction to Linux
1. What is Linux?
Ans. Linux is an open-source operating system that is based on the Linux kernel. It is a Unix-
like operating system that is used for a wide range of tasks, including web servers, database
servers, and application servers. Linux is known for its stability, security, and flexibility. Made
by Linus Torvalds in 1991.
2. Difference between Unix and Linux:
Feature Unix Linux
Development Developed by AT&T Bell Labs Developed by Linus Torvalds
Cost Mostly commercial and requires Free and open-source
license
Source Code Closed source Open source
Users Limited to large organizations Available to everyone
Development Developed by single organization Developed by community
Model worldwide
GUI Common Desktop Environment Multiple options (GNOME, KDE,
(CDE) etc.)
File System Limited file system types Supports multiple file systems
Security Generally secure Highly secure with frequent
updates
Compatibility Runs on specific hardware Runs on various hardware
platforms
Updates Less frequent updates Regular and frequent updates
example: Unix: Solaris, AIX, HP-UX, IRIX, Linux, Mac OS, etc. Linux: Ubuntu, CentOS, Fedora,
Debian, etc.
B. Shell:
o It is the interface between the user and the kernel
o It is responsible for interpreting user commands and executing them
o It is also responsible for displaying output to the user
o Example: Bash, Zsh, etc.
o shell commands examples:
▪ ls
▪ cd
▪ pwd
▪ mkdir
▪ rm
C. Bootloader:
o It is the first program that runs when the system is booted
o It is responsible for loading the kernel and initializing the system
o Example: GRUB (Grand Unified Bootloader)
o for windows:
▪ Windows Boot Manager
▪ GRUB (Grand Unified Bootloader)-for linux
By Shubham Chimkar
7. Desktop Environment
Ans. Desktop Environment is a collection of software that provides a graphical user interface
for the user to interact with the system example:
for windows:
• Windows10, Windows 11
• GNOME, KDE, XFCE, LXDE, etc.-For Linux
Ans. Linux system architecture is a layered structure that includes the kernel, shell, and desktop
environment. The kernel is the core component that manages hardware resources and provides
basic services to other components. The shell is the interface between the user and the kernel,
and the desktop environment provides a graphical user interface for the user to interact with the
system.
B. Memory:
o free -h
o cat /proc/meminfo
C. Disk:
o lsblk
o df -h
D. Network:
o ip addr
o ip route
o ifconfig
8. linux files system
Ans. Linux uses a hierarchical file system to organize files and directories. The root directory is
represented by a single forward slash (/). The file system is divided into several directories, each
with a specific purpose. Here are some common directories:
example: /bin: contains binary files for system commands /boot: contains boot loader files /dev:
contains device files /etc: contains configuration files for system-wide applications /home:
contains user home directories /lib: contains shared library files /media: contains mount points
for removable media /mnt: contains mount points for temporary filesystems /opt: contains
optional software packages
By Shubham Chimkar
Ans. In Linux, processes can be in different states depending on their status. Here are some common
states:
o Go to aws.amazon.com
o Click on "Create an AWS Account"
o Follow the registration process
3. Configure Instance:
4. Connect to Instance:
5. Post-Installation:
Note: Make sure to terminate instance when not in use to avoid charges beyond free tier limits.