Linux - Part 2a
Linux - Part 2a
RPM RPM
Typical Linux OS Installation Steps
• Select the language
• Select the physical disk
• Define the partition settings
• Define the network settings
• Select the time zone
• Select the graphical desktop
• Create the local user and password
• Select the root password
• Install the software
Ubuntu Desktop Download
.
https://www.ubuntu.com/download/desktop
Fedora Server Download
.
https://getfedora.org/en/server/download/
Linux OS Installation Method
• A Linux OS can be installed from
• DVD
• USB Drive or SD card (needs UEFI microcode support)
• Older PCs do not support UEFI
• Network using PXE
Software Installation Overview
• Root user can install software
• Non-root user must have root privileges to install
software using the sudo command
• Software can be installed from
• DVD
• USB Drive or SD Card
• Hard Disk
• Internet software repositories
Managing Software
• Software is provided as .rpm packages on RedHat based
systems (e.g. CentOS, Fedora)
• Software is provided as .deb packages on Debian based
systems (e.g. Debian, Ubuntu, Mint)
• Easy installation and removal
• Software information stored in a local database
rpm
rpm – RPM package manager
• Usage: rpm [options] [package]
• -qa (list all installed rpms)
• -ivh package (install rpm)
• -Uvh package (update rpm)
• -e package (remove rpm)
• -q package (check if installed)
Application Layer
}
Transport Layer
Physical Layer
NAT
Network Address Translation
Network Address Translation (NAT)
• Public IP addresses are used on the Internet
• Private IP address are used on a local network
• NAT converts public and private IP addresses
• Router performs NAT operations
• Router maintains tables that map public to private IP
addresses
• Router changes source and destination address fields in
IPv4 header as needed
NAT Concepts
.