0% found this document useful (0 votes)
39 views

Linux Operating System

Uploaded by

Tan Nguyen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Linux Operating System

Uploaded by

Tan Nguyen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Linux Operating System

In this session, I’ll talk briefly about Linux, how it works, and its role in IT
today. I also briefly introduce Ansible, some Linux free books and some lab
environments and efficient learning techniques that you can start easily.

1. History of Unix and Linux:


- Unix Operating System written by Ken Thompson & Dennis Ritchie
(father of C programming language).
- Linux was inspired by the Unix operating system. Actually Linux is
kernel (written by Linus Tovalds) and combines with GNU tools.GNU
founded by Richard Stallman (MIT professor). Linus also created GIT,
being used by millions of developers.
- Inherits Unix's philosophy of modular design and powerful
command-line tools.

2. Open-Source Nature:
- Linux is freely available, with its source code accessible to everyone.

- Encourages collaboration, innovation, and customization.

- Benefits from a vast community of developers and contributors.


- Kernel: responsible for managing system resources, providing
essential services, and enabling communication between software
applications and hardware devices.

- Core Functionality: process management, memory management,


device driver support, file system management, and networking
capabilities.

- Hardware Interaction: interacts with hardware devices, such as


processors, memory, disks, network adapters, and input/output (I/O)
devices.

- Process and Memory Management: handles process creation,


scheduling, and termination, ensuring fair allocation of system
resources such as CPU time, memory, and I/O.

- File System Management: handles file operations:


read/write/organize data on storage devices. Implements file
permissions, access control, and file system security mechanisms.
Below is Linux’s FileSystem Hierarchy (FHS)

- Device Driver Support: initializing hardware, handling interrupts,


interface for hardware and software.

- Networking Capabilities: manages network interfaces, handles


packet routing, implements network protocols, sockets.

- Security and Access Control: enforces access control policies,


manages user authentication and authorization, implements file
permissions, and provides security features like process isolation,
sandboxing, and encryption.

3. Versatility and Compatibility:


- Linux runs on a wide range of hardware, from embedded devices to
supercomputers.

- Supports various architectures, including x86, ARM, and PowerPC.

- Compatible with numerous software applications and libraries.


4. Stability and Reliability:
- Known for its stability, reliability, and long uptimes.

- Resistant to crashes, malware, and security vulnerabilities (Oracle)

- Widely used in critical systems, servers, and enterprise environments.

5. Customization and Flexibility:


- Offers a choice of distributions tailored to different needs and
preferences.

- Customizable in terms of desktop environments, software packages,


and configurations.

- Allows users to create personalized computing environments:


Gnome,KDE,Xfce.

6. Command-Line Power:
- Emphasizes the use of the command-line interface (CLI) alongside
graphical interfaces.

- Provides powerful command-line tools and scripting capabilities.

- Enables automation, system administration, and remote management.

7. Job Opportunities:
- Linux expertise is highly valued in the IT industry.

- Job roles such as Linux System Administrator, Oracle DBA, DevOps


Engineer, Cloud Engineer, Linux Embedded Engineer, Network
Administrator, and Security Engineer require Linux proficiency.

- Linux skills open up career opportunities in various domains, including


system administration, cloud computing, cybersecurity, and software
development.
8. Role of Linux in DevOps:
- DevOps emphasizes collaboration, automation, and continuous delivery.

- Linux is the foundation for many DevOps tools and technologies.

- Linux command-line tools and scripting capabilities enable automation


and configuration management.

- Linux-based systems provide the platform for deploying and managing


DevOps tools like Jenkins, Ansible, Docker, and Kubernetes.

- Linux containers and containerization technologies facilitate application


deployment, scalability, and reproducibility in DevOps workflows.

- Linux provides robust networking capabilities for building and managing


distributed systems in DevOps environments.

9. Linux Distributions:
- Ubuntu (ubuntu.com): A popular and user-friendly Linux distribution,
known for its ease of use and extensive community support.

- Fedora (getfedora.org): A community-driven distribution focused on the


latest open-source technologies and updates.

- Oracle Linux (oracle.com/linux): A stable and reliable distribution, widely


used for servers and enterprise environments.

- Arch Linux (archlinux.org): A lightweight and customizable distribution,


suitable for advanced users who prefer a DIY(Do It Yourself) approach.

- Kali Linux(kali.org) & Parrot Os (parrotsec.org): Robust distributions for


cyber security.

10. Linux Certification Programs:


- Linux Professional Institute: Offers vendor-neutral Linux certifications,
including LPIC-1, LPIC-2, and LPIC-3.

- Red Hat Certified Engineer: Provides certifications, such as RHCSA and


RHCE, focusing on Red Hat Enterprise Linux and related technologies.

11. Books:
- Linux Fundamentals
- System Administration
- Linux Servers
- Linux Storage
- Linux Security
- Linux Networking
- Download link: linux-training.be

12. Labs:
- Server World (step by step and easy to follow, many distributions
supported).
- Recommend Oracle Linux 7,8,9. From version 8, CentOS is no longer
stable.
- Virtualizations: VirtualBox(free, easy to use) and VMware(license).
- Killercoda for Kubernetes and other tools
- k8s playground 4 hours/session for k8s

13. Ansible vs Chef vs Puppet (demo ansible with github action):


- Ansible: automation tool for configuration management,app
deployment and infrastructure provisioning.

- Ansible uses SSH protocol to connect and execute tasks on


managed hosts.

- Ansible: more secure (agentless, push-based model) vs Chef +


Puppet (agentbase, pull-based)
- Ansible uses modules,playbooks to define desired states of system
and services.

- Ansible uses roles, variables and templates to simply code and


reuse.

- Terraform plus Ansible: provisioning infrastructure with terraform and


configuration management with ansible.

- Easy to start: Ansible doesn’t require programming experiences like


chef and puppet. You only need to know how to install packages on
Linux and that’s it.

14. "Learning How to Learn": Building a system, strategies and


techniques for effective learning
- Original course from Coursera: Learning How to Learn: Powerful
mental tools to help you master tough subjects | Coursera

- Vietnamese version:
Blog: Học cách để học - Những phương pháp học tập hiệu quả
(Phần 1)
Video: HỌC CÁCH HỌC TỪ COURSERA (PHẦN I) | Nhện Tự Học | VU PHAM |
Spiderum

Some techniques in the course:


- Focused and Diffuse Thinking: balance between attention and relax

- Chunking: break down information into small chunks.

- Bypass Procrastination: Use Pomodoro: focus in 25 mins, relax in 5


mins and repeat the circle.

- Memory Techniques: spaced repetition, mnemonics, and visualization.


- Metaphors and Analogies: make complex concepts more relatable
and easier to understand.

- Developing a Growth Mindset: intelligence and abilities can be


developed through effort and practice => enhances motivation, resilience,
and continuous learning.

- Sleep well supports memory and learning fast Cách Ngủ Ít Mà Không Mệt

15. How I learn English:


- Listening FIRST: listen to US-UK music on the bus, walking, cleaning
but not while studying.
- Watch movies and listen to music videos with Vietnamese lyrics:
Disney comedy,Westlife,Backstreet Boy…
- Pronunciation: Elsa Speaking (only takes 10 minutes per day)
- Reading out loud while walking (improve pronounciation and prevent
sleepy)

16.Blogs and channels:


- Viblo
- Web5ngay - YouTube
- Spiderum - YouTube
- Duy Thanh Nguyen - YouTube
- Containers from the Couch - YouTube
- freeCodeCamp.org - YouTube
- Training | Microsoft Learn
- A Guide To Cloud - YouTube
- Chat OpenAI

Thanks for your attention.

You might also like