Linux Tutorials - Herong's Tutorial Examples - v5.42, by Herong Yang
Linux Tutorials - Herong's Tutorial Examples
https://www.herongyang.com/Linux
© 2009-2023 Herong Yang. All rights reserved.
This book is a collection of notes and sample codes written by the author while he was learning Linux systems. Topics include using Cockpit Web portal for admin tasks; using network configuration and security firewall; managing users and groups; managing files and directories; managing NTFS, CIFS, EXT4, LBA, LVM file systems; installing CentOS systems; using SELinux (Security-Enhanced Linux) system; DNF/YUM software package manager; managing vsftpd - Very Secure FTP daemon; managing Postfix and Dovecot servers for emails; managing directory service with OpenLDAP; Updated in 2023 (Version v5.42) with minor updates.
Table of Contents
"uname" - Display System Information
"free" - Display Free and Used Memory
Cockpit - Web Portal for Administrator
"Web console" Login Welcome Message
"ps" - Display Current Processes
"jobs" - Manage Background Jobs
"more", "head" and "cat" - Read Files
"split" and "cat" - Split and Join Files
"compress/uncompress" - Compressed *.Z Files
"gzip/gunzip" - Compressed *.gz Files
"xz/unxz" - Compressed *.xz or *.lzma Files
"tar -c" and "tar -x" - Create and Extract Archive Files
"zip" and "unzip" - Create and Extract ZIP Files
"Operation not permitted" Error on macOS
Group Access Permissions on Files
"adduser/usermod/userdel" - Commands to Manage Users
"df" - Display Free Space of File System
Mount USB Drive as File System
"dd" - Copy Data from/to Storage Devices
Use "dd" Command to Test I/O Speed
"du" - Display Disk Usage of Directories
Mount Windows NTFS File System
Access Persmissions on "ntfs-3g" File System
Reformat NTFS Partition into EXT4 Partition
Mount NFS (Network File System) on macOS
/etc/mtab and /etc/fstab Files
Unreachable Remote File Systems
What Is LVM (Logical Volume Manager)
Create New PV (Physical Volume)
Add/Remove PV on VG on the Fly
Extend /home LV with a New Partition
Install CentOS from Bootable USB
Install CentOS by Deleting Existing Partition
Reset Timezone on Linux Systems
Reset Host Name on Linux Systems
SELinux - Security-Enhanced Linux
Setup Ethernet Connection on CentOS
Network Firewall Tools on CentOS
"firewalld" and "firewall-cmd" on CentOS
Manage Multiple Firewall Zones
"nftables" and "nft" on CentOS
"nmap" - Network Mapper on CentOS
Monitor Network Services on CentOS
"ifconfig" - Trace Routes to Remote Host
"traceroute" - Trace Routes to Remote Host
"netstat" - Display Network Statistics
"wget" - Get Files from the Web
Software Package Manager on CentOS - DNF and YUM
Manage DNF Package Repositories
Install and Manage Java Packages on CentOS
Install and Manage Perl Packages on CentOS
Install "git-core" for GitHub Packages on CentOS
Failed to Download Metadata for Repo ...
Replacing CentOS Repositories to Local Mirrors
vsftpd - Very Secure FTP Daemon
Postfix - Mail Transport Agent (MTA)
Dovecot - IMAP and POP3 Server
Email Client Tools - Mail User Agents (MUA)
"mailx" Command - Send and Read Emails
"Alpine" - Terminal-Based Email Client
Thunderbird Installation on macOS
Thunderbird Configuration for POP3S and SMTP
Thunderbird to Accept POP3S Certificate Exception
Thunderbird Configuration for IMAPS and SMTP
Thunderbird Configuratin for SMTPS Service
macOS Mail Manual Configuration
Accept Certificate Exception in macOS Mail
Windows 10 Mail Configuration Failed
SSL/TLS Connection Issue in Windows 10 Mail
LDAP (Lightweight Directory Access Protocol)
Install OpenLDAP Server on CentOS
Configure OpenLDAP Server on CentOS
Hierarchical Structure of LDAP Entries
Install OpenLDAP Server on CentOS 8
Configure Mozilla Thunderbird to Use LDAP
LDAP Attributes Mapping in Mozilla Thunderbird
Configure Apple iPhone to Use LDAP
"systemctl status/start/stop/enable/disable" Commands
"shutdown" and "halt|poweroff|reboot" Commands
Move /home Directory to New Partition
Keywords: Linux, CentOS, macOS, Tutorials