Advanced SLES 9 Administration: Installation, Network Services, and Server Hardening
Installation, Storage Partitioning, and Initial Configuration of SLES 9
Installation Media and Boot Options
Booting from CD/DVD presents options: Boot from Hard Disk, Installation, Installation - ACPI Disabled, Installation - Safe Settings, Manual Installation, Rescue System, and Memory Test.
Function keys control setup: F1 (Help), F2 (Display resolution, e.g., ), F3 (Media source), F4 (Language), F5 (Output verbosity), and F6 (Driver update disk).
YaST Base Installation Workflow
Select system language and choose an installation mode (New installation, Update, Repair, or Boot installed system).
YaST generates an editable proposal covering System specs, Mode, Keyboard layout, Mouse, Partitioning, Software selection, Booting, and Time zone.
Partitioning Fundamentals and Guidelines
Partition Types: Disks support up to 4 primary partitions (or 3 primary and 1 extended holding multiple logical partitions).
Requirements & Sizing: Requires a swap and a root (
/) partition. Recommended root sizes: (minimal), (minimal GUI), (default YaST), and (full).Server Tailoring: File servers dedicate storage to shares; Web servers isolate web space; Compute servers spread multiple swap partitions across drives; Workstations isolate
/home.
YaST Expert Partitioner and Storage Architectures
Filesystems: Supports Ext2, Ext3, ReiserFS, XFS, JFS, FAT, and Swap.
LVM: Groups Physical Volumes into a Volume Group (default name
system, PE size ) to allocate resizable Logical Volumes dynamically.EVMS & RAID: EVMS treats volume groups as containers (transitioned to LVM). Software RAID natively supports levels 0, 1, and 5.
Software Selection and Bootloader (GRUB)
Software is organized into patterns (Minimal, Minimal Graphical, Default, Full) resolved via RPM packages and dependencies.
GRUB configures loader type, disk order, default/alternate kernel sections, and MBR settings. Installation takes to .
Post-Installation Configuration
Configures the
rootsuperuser account and network drivers (written to/etc/modprobe.conf).Supports local (
/etc/passwd), NIS, and LDAP authentication schemes.Hardware display configuration (resolution, color depth, multihead) is managed via SaX2.
Troubleshooting Common Issues
Media boot failure: Correct BIOS boot order or verify disk integrity.
Installer fails/hangs: Boot with ACPI disabled or Safe Settings; ensure at least RAM.
Display fails post-install: Switch to virtual console (
Ctrl+Alt+F1), enter runlevel 3 (init 3), runsax2, and return to runlevel 5 (init 5).
Manual Network Device and Routing Configuration
**Network Inspection and Configuration via *
ip*View configurations with
ip address showand interface link states withip link show.Performance metrics (errors, drops, collisions) are viewed via
ip -s link show eth0.Non-persistent updates: Assign IP addresses using
ip address add <IP/prefix> dev <interface>and toggle states usingip link set <interface> up/down.
Persistent Interface and Route Management
Device configurations persist in
/etc/sysconfig/network/asifcfg-eth-id-<MAC>files (definingBOOTPROTO='static'or'dhcp').Apply interface changes on demand with
ifup <interface>andifdown <interface>.Routing tables are displayed using
ip route showand configured persistently in/etc/sysconfig/network/routes.
Hostname, DNS Resolution, and Diagnostics
System FQDN is defined in
/etc/HOSTNAME.Resolver servers and search domains are configured in
/etc/resolv.conf, while lookup sequence across files, NIS, and DNS is managed by/etc/nsswitch.conf.Connection reachability and latency are validated using
ping(options:-ccount,-iinterval,-fflood) andtraceroute(packet path hop analysis via incremental TTL).
Enterprise Network Services Configuration
DNS Architecture and Server Types
Structured as an inverted tree starting at the root (
.), cascading to TLDs, second-level domains, and hostnames.Server Roles: Master (authoritative local database files), Slave (replicates master via zone transfers and NOTIFY updates), Caching-only (queries recursively and caches responses), and Forwarding (delegates lookups upstream).
BIND 9 Service Administration
Service managed using
rcnamed {start|stop|restart}and enabled at boot withinsserv named.Main configuration file is
/etc/named.conf; master zone files reside in/var/lib/named/master/.Common resource records:
SOA(authority/timers),NS(name servers),A(IPv4 address),PTR(reverse mapping),CNAME(aliases), andMX(mail exchange priority).Client queries are executed via
hostordig.
Apache HTTP Server
Managed via
rcapache2service scripts and validated withapache2ctl configtest.Default DocumentRoot is located at
/srv/www/htdocs/.Configuration hierarchy under
/etc/apache2/usesdefault-server.conffor global settings andvhosts.d/*.conffor virtual host declarations.Provides client access restrictions based on IP (
allow/deny), basic user authentication (htpasswd2), and SSL/TLS transport encryption.