Linux Administration Practical Notes | B.Sc. (Information Technology) Semester 5 | Mumbai University | munotes
Official Notes munotes.in
Linux Administration Practical
B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 5
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)
For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in Third Year
Contents
Module I 1
- What Linux Is, and What "Red Hat Enterprise Linux" Means 1
- The Architecture of a Linux System: Kernel, Shell and Utilities 4
- Getting Red Hat Enterprise Linux, and What AlmaLinux and Rocky Are 7
- Making the Virtual Machine, in VirtualBox and in VMware 10
- Installing RHEL 8 with Anaconda, Screen by Screen 13
- The First Boot: Subscription, Updates and the Initial Setup 16
- The Graphical Environment: What Starts When You See a Login Screen 18
- The Display Manager: GDM, the Greeter and Your Session 21
- The Desktop Environment: GNOME, Wayland and X11 23
- The Terminal, the Shell and the Prompt 25
- The Linux Directory Structure and the Filesystem Hierarchy Standard 28
- File Systems Mounted into the Tree: lsblk, df, and What Is Not on a Disk 31
- Reading the Manual: man, apropos and --help 35
- Basic System Commands: Who You Are, Where You Are, What This Machine Is 39
- The Three Standard Streams, and Redirecting Them 42
- Pipes: Joining Commands Together 45
- cat, less, head and tail: Reading a File 48
- cut, sort, uniq and wc: Taking a File Apart 51
- grep: Finding the Lines That Matter 54
- Basic Regular Expressions 57
- Extended Regular Expressions, and grep -E 60
- awk: Records, Fields and Actions 62
- systemd: Units, and the Service You Will Use Most 65
- systemd Targets, and What "multi-user" Means 69
- Logging In and Switching Users: who, id, su and sudo 72
- find and locate: Finding Files on a Server 76
- Essential File Management: Paths, Names and the Working Directory 79
- ls, and How to Read a Long Listing 82
- The Inode: What a File Is, and What a Name Is 86
- mkdir, touch, cp, mv and rm: The Four You Type Every Day 89
- Hard Links and Symbolic Links 92
- Archiving and Compressing Are Two Different Jobs 96
- tar: Creating, Listing and Extracting an Archive 99
- gzip, bzip2 and xz: Compressing 102
- star: The Other Archiver MU Names 105
- zip and unzip: The Archive Windows Can Open 108
- Ownership: chown and chgrp 111
- Basic Permissions: rwx for User, Group and Other 114
- chmod: The Octal Form and the Symbolic Form 117
- umask: The Permissions a New File Is Given 120
- set-UID, set-GID and the Sticky Bit 123
- A set-GID Directory for a Group to Share 127
- Access Control Lists: getfacl and setfacl 130
- Default ACLs, So New Files Inherit the Rights 135
- User-Extended Attributes: setfattr and getfattr 140
- File Attributes: chattr and lsattr 144
- The Four Files Behind Every User Account 148
- useradd, usermod and userdel 152
- The Defaults a New Account Gets: login.defs, useradd -D and /etc/skel 156
- Groups: Primary, Secondary, groupadd and groupmod 159
- Passwords: passwd and /etc/shadow 163
- Password Aging with chage 167
- su: Becoming Another User 171
- sudo, /etc/sudoers and the wheel Group 174
- Permissions and Advanced Permissions on a Real Shared Directory 179
- What a Package Is, and What a Repository Is 184
- yum and dnf: The Same Tool Under Two Names 188
- Asking Questions: yum search, info, provides and list 191
- Installing, Updating and Removing Software 195
- yum history, and Undoing a Transaction 199
- Package Groups and Application Streams 203
- Repository Files in /etc/yum.repos.d 207
- rpm: Querying the Package Database 211
- rpm: Installing, Verifying, and Its Limits 214
- A Repository on the Local File System, with createrepo 219
Module II Module 2
- What a Process Is: PID, PPID, State and Owner 224
- ps: Looking at What Is Running 228
- Shell Jobs: Foreground, Background, and a Job That Outlives Your Login 232
- Signals, kill and pkill 236
- nice and renice: Deciding What Matters 240
- top: Reading Every Field on the Screen 243
- Finding the CPU-Hungry and Memory-Hungry Processes, and Killing Them 247
- tuned: Profiles and tuned-adm 251
- Disks, Devices and lsblk 255
- MBR and GPT: Two Ways to Describe a Disk 258
- fdisk: Partitioning an MBR Disk 261
- gdisk and parted: Partitioning a GPT Disk 265
- Deleting a Partition, and Making the Kernel Re-read the Table 269
- Making a File System: ext4, xfs and vfat 273
- Mounting and Unmounting: mount, umount and findmnt 277
- /etc/fstab, and Mounting by UUID or Label 281
- Swap: Adding It to a Running System 285
- LVM: Physical Volumes, Volume Groups and Logical Volumes 289
- Growing a Logical Volume and Its File System Without Unmounting 294
- Addresses, Prefixes and Interfaces 299
- ip: Reading the Configuration a Server Actually Has 303
- Checking It Works: ping, ss and traceroute 307
- NetworkManager: the Thing That Owns Your Configuration 311
- nmcli: Devices and Connections 314
- nmcli: Setting a Static IPv4 Address 318
- IPv6, and Setting an IPv6 Address 321
- nmtui: the Same Job on a Screen 324
- Host Names: hostnamectl and /etc/hostname 327
- Name Resolution: /etc/hosts, /etc/resolv.conf and getent 330
- ssh: Logging in to Another Machine 333
- The Host Key, known_hosts, and the Question Asked Once 337
- scp and sftp: Copying Files over SSH 340
- ssh-keygen and the authorized_keys File 344
- A Passphrase, and ssh-agent So You Type It Once 348
- sshd_config: Hardening the Server 352
- Installing Apache and Starting It 356
- Serving Your First Page, and Opening the Firewall for It 361
- httpd.conf and conf.d: The Files and the Directives 364
- DocumentRoot, Directory and the Permissions Apache Needs 368
- A Name-Based Virtual Host 373
- A Port-Based Virtual Host 377
- What a Packet Filter Does: Tables, Chains and Rules 381
- iptables: Listing, Adding and Deleting Rules 385
- iptables: Saving Rules, and Where It Went in RHEL 9 and 10 389
- firewalld: Zones, and What a Zone Is For 393
- firewall-cmd: Services, Ports, Runtime and Permanent 397
- Rich Rules, and Blocking One Address 400
- SELinux: Why a Correct Configuration Still Fails 403
- NFS: Exporting a Directory 407
- NFS: Mounting the Export from a Client 411
- CIFS: Mounting a Share, and a Credentials File 416
- Remote File Systems in /etc/fstab, and _netdev 420
- autofs: The Master Map and an Indirect Map 424
- Mounting Home Directories on Demand 428
- A First Script: The Shebang, the Permission and Running It 432
- Variables, Quoting and Command Substitution 436
- Arguments and the Exit Status 440
- if and test: Making a Decision 444
- for, while, case and Functions 448
- A Script That Monitors a Server and Reports 452
- Getting and Setting System Information from a Script 456
- cron: The crontab and the Five Fields 460
- The System Crontabs: /etc/crontab, cron.d and the Daily Directories 464
- at: One Job, Once 468
- Choosing Between at and cron, and What systemd Timers Add 472
- Troubleshooting: journalctl, /var/log and a Method 475
Module J The journal and the practical examination
The chapters
Every chapter of this book comes with the B.Sc. (Information Technology) Semester 5 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes: ₹499 Already bought it? Sign in
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.