Installing SUSE Linux Enterprise Server (SLES)
local graph
Chapter 2 — Installing SUSE Linux Enterprise Server (SLES)
Section titled “Chapter 2 — Installing SUSE Linux Enterprise Server (SLES)”Before you can administer SUSE systems, you need a working environment to learn, practice, break, and fix. Installation is your first real contact with SUSE Linux, and doing it hands-on builds familiarity with the environment that no amount of reading can replace.
This chapter will guide you through:
- System requirements
- Installation methods and walkthrough
- Understanding YaST, the SUSE setup and configuration system
- Registration and repositories
- Post-installation best practices
By the end of this chapter, you will have a fully working SLES instance ready for real administration exercises.
System Requirements
Section titled “System Requirements”SLES is designed to run on a wide range of hardware, from enterprise servers to virtual machines and cloud instances. For practice, a VM is the most convenient choice.
Minimum System Requirements for Lab Setup
Section titled “Minimum System Requirements for Lab Setup”- Processor: 64-bit CPU
- Memory: 2 GB (4 GB recommended for smooth work)
- Storage: 20 GB disk
- Network: Basic NAT or bridged network connection
- Virtualization: VirtualBox, VMware Workstation, or KVM
User Accounts
Section titled “User Accounts”During setup you will:
- Set the root password.
- Optionally create a regular user.
It is recommended to create a normal user and use sudo later, instead of logging in as root directly.
Finalizing Installation
Section titled “Finalizing Installation”After confirming settings:
- The installer copies files.
- Configures bootloader.
- Restarts into the new system.
Log in using either the console or desktop environment.
You now have a running SUSE Linux Enterprise Server.
Understanding YaST
Section titled “Understanding YaST”YaST (Yet another Setup Tool) is one of the defining features of SUSE. It provides both graphical and text-based system configuration functions.
Launch YaST:
sudo yastFrom inside YaST, you can:
- Manage software packages
- Configure network settings
- Manage users and groups
- Set system security policies
- Configure boot settings
- Modify system services
Think of YaST as the control center for system administration.
Registering the System and Repositories
Section titled “Registering the System and Repositories”SLES requires registration to enable updates, patches, and support.
Use:
SUSEConnect -r <registration_code> -e <email_address>If using the evaluation edition:
- The registration code is automatically assigned upon download.
- Your SUSE account email is used for tracking.
Once registered, enable repositories:
zypper refreshzypper updateYour system is now ready to install software and receive security updates.
Understanding Repositories
Section titled “Understanding Repositories”Software in SUSE is managed using zypper.
Check active repositories:
zypper lrEnable or disable repositories using YaST or zypper commands.
Repositories provide:
- Security patches
- Feature updates
- Add-on modules (containers, HA, SDK etc.)
Correct repository configuration is essential for successful administration and SCA exam readiness.
Memory Booster
Section titled “Memory Booster”Remember this rule:
Install → Register → Refresh → Update
Or simply:
I R R U
Before doing anything major on a new SLES system, run:
SUSEConnect (if needed)zypper refreshzypper updateThis ensures your environment is stable and current.
Hands-On Exercise Lab 2
Section titled “Hands-On Exercise Lab 2”Perform the following:
- Create a virtual machine and install SLES.
- Log in as the regular user you created.
- Verify system version:
cat /etc/os-release- Check active repositories:
zypper lr -u- Register the system if required and run:
zypper refreshzypper update- Start YaST and explore:
sudo yastExplore at least three modules and note what they control.
This exercise builds familiarity and confidence.
Reflection Questions
Section titled “Reflection Questions”- Why is YaST considered a major differentiator in SUSE administration?
- How does having Btrfs snapshots help during system maintenance?
- Why is it recommended to use a normal user account rather than root for daily administration?
- What is the purpose of repository registration in SLES?
Try writing answers in your own words to reinforce retention.
End-of-Chapter Summary
Section titled “End-of-Chapter Summary”In this chapter, you learned:
- How to prepare hardware or VM environments for SLES
- How to install SUSE Linux Enterprise Server step-by-step
- The role of YaST in system configuration
- How to register and update the system using SUSEConnect and zypper
- Why proper repository setup is essential for systems in production
Your SUSE environment is now ready for deeper administration work.