openSUSE

Reference

Legal Notice

Contents

About This Guide
1. Available Documentation
2. Feedback
3. Documentation Conventions
4. About the Making of This Manual
5. Source Code
6. Acknowledgments
I. Advanced Deployment Scenarios
1. Remote Installation
1.1. Installation Scenarios for Remote Installation
1.2. Setting Up the Server Holding the Installation Sources
1.3. Preparing the Boot of the Target System
1.4. Booting the Target System for Installation
1.5. Monitoring the Installation Process
2. Advanced Disk Setup
2.1. Using the YaST Partitioner
2.2. LVM Configuration
2.3. Soft RAID Configuration
II. Managing and Updating Software
3. Installing or Removing Software
3.1. Definition of Terms
3.2. Using the Qt Interface
3.3. Using the GTK+ Interface
3.4. Managing Software Repositories and Services
4. YaST Online Update
4.1. Installing Patches Manually Using the Qt Interface
4.2. Installing Patches Manually Using the GTK Interface
4.3. Automatic Online Update
5. Installing Packages From the Internet
5.1. 1-Click Install
5.2. YaST Package Search
6. Installing Add-On Products
6.1. Add-Ons
6.2. Binary Drivers
7. Managing Software with Command Line Tools
7.1. Using Zypper
7.2. RPM—the Package Manager
III. Administration
8. Managing Users with YaST
8.1. User and Group Administration Dialog
8.2. Managing User Accounts
8.3. Additional Options for User Accounts
8.4. Changing Default Settings for Local Users
8.5. Assigning Users to Groups
8.6. Managing Groups
8.7. Changing the User Authentication Method
9. Changing Language and Country Settings with YaST
9.1. Changing the System Language
9.2. Changing the Country and Time Settings
10. YaST in Text Mode
10.1. Navigation in Modules
10.2. Restriction of Key Combinations
10.3. YaST Command Line Options
11. Printer Operation
11.1. The Workflow of the Printing System
11.2. Methods and Protocols for Connecting Printers
11.3. Installing the Software
11.4. Network Printers
11.5. Printing from the Command Line
11.6. Special Features in openSUSE
11.7. Troubleshooting
12. Installing and Configuring Fonts for the Graphical User Interface
12.1. X11 Core Fonts
12.2. Xft
13. System Monitoring Utilities
13.1. Multi-Purpose Tools
13.2. System Information
13.3. Processes
13.4. Memory
13.5. Networking
13.6. The /proc File System
13.7. Hardware Information
13.8. Files and File Systems
13.9. User Information
13.10. Time and Date
13.11. Graph Your Data: RRDtool
14. Upgrading the System and System Changes
14.1. Upgrading the System
14.2. Software Changes from Version to Version
IV. System
15. 32-Bit and 64-Bit Applications in a 64-Bit System Environment
15.1. Runtime Support
15.2. Software Development
15.3. Software Compilation on Biarch Platforms
15.4. Kernel Specifications
16. Booting and Configuring a Linux System
16.1. The Linux Boot Process
16.2. The init Process
16.3. System Configuration via /etc/sysconfig
17. The Boot Loader GRUB
17.1. Booting with GRUB
17.2. Configuring the Boot Loader with YaST
17.3. Uninstalling the Linux Boot Loader
17.4. Creating Boot CDs
17.5. The Graphical SUSE Screen
17.6. Troubleshooting
17.7. For More Information
18. Special System Features
18.1. Information about Special Software Packages
18.2. Virtual Consoles
18.3. Keyboard Mapping
18.4. Language and Country-Specific Settings
19. Dynamic Kernel Device Management with udev
19.1. The /dev Directory
19.2. Kernel uevents and udev
19.3. Drivers, Kernel Modules and Devices
19.4. Booting and Initial Device Setup
19.5. Monitoring the Running udev Daemon
19.6. Influencing Kernel Device Event Handling with udev Rules
19.7. Persistent Device Naming
19.8. Files used by udev
19.9. For More Information
20. Bash and Bash Scripts
20.1. What is The Shell?
20.2. Writing Shell Scripts
20.3. Redirecting Command Events
20.4. Using Aliases
20.5. Using Variables in Bash
20.6. Grouping And Combining Commands
20.7. Working with Common Flow Constructs
20.8. For More Information
V. Services
21. Basic Networking
21.1. IP Addresses and Routing
21.2. IPv6—The Next Generation Internet
21.3. Name Resolution
21.4. Configuring a Network Connection with YaST
21.5. NetworkManager
21.6. Configuring a Network Connection Manually
21.7. smpppd as Dial-up Assistant
22. SLP Services in the Network
22.1. Installation
22.2. Activating SLP
22.3. SLP Front-Ends in openSUSE
22.4. Installation over SLP
22.5. Providing Services via SLP
22.6. For More Information
23. The Domain Name System
23.1. DNS Terminology
23.2. Installation
23.3. Configuration with YaST
23.4. Starting the Name Server BIND
23.5. The Configuration File /etc/named.conf
23.6. Zone Files
23.7. Dynamic Update of Zone Data
23.8. Secure Transactions
23.9. DNS Security
23.10. For More Information
24. DHCP
24.1. Configuring a DHCP Server with YaST
24.2. DHCP Software Packages
24.3. The DHCP Server dhcpd
24.4. For More Information
25. Time Synchronization with NTP
25.1. Configuring an NTP Client with YaST
25.2. Manually Configuring ntp in the Network
25.3. Setting Up a Local Reference Clock
26. Sharing File Systems with NFS
26.1. Installing the Required Software
26.2. Importing File Systems with YaST
26.3. Importing File Systems Manually
26.4. Exporting File Systems with YaST
26.5. Exporting File Systems Manually
26.6. NFS with Kerberos
26.7. For More Information
27. Samba
27.1. Terminology
27.2. Installing a Samba Server
27.3. Starting and Stopping Samba
27.4. Configuring a Samba Server
27.5. Configuring Clients
27.6. Samba as Login Server
27.7. For More Information
28. The Apache HTTP Server
28.1. Quick Start
28.2. Configuring Apache
28.3. Starting and Stopping Apache
28.4. Installing, Activating, and Configuring Modules
28.5. Getting CGI Scripts to Work
28.6. Setting Up a Secure Web Server with SSL
28.7. Avoiding Security Problems
28.8. Troubleshooting
28.9. For More Information
29. Setting up an FTP server with YaST
29.1. Starting the FTP server
29.2. FTP General Settings
29.3. FTP Performance Settings
29.4. Authentication
29.5. Expert Settings
29.6. For more information
VI. Mobility
30. Mobile Computing with Linux
30.1. Laptops
30.2. Mobile Hardware
30.3. Cellular Phones and PDAs
30.4. For More Information
31. Power Management
31.1. Power Saving Functions
31.2. ACPI
31.3. Rest for the Hard Disk
31.4. Troubleshooting
31.5. For More Information
32. Wireless LAN
32.1. WLAN Standards
32.2. Operating Modes
32.3. Authentication
32.4. Encryption
32.5. Configuration with YaST
32.6. Utilities
32.7. Tips and Tricks for Setting Up a WLAN
32.8. Troubleshooting
32.9. For More Information
33. Using Tablet PCs
33.1. Installing Tablet PC Packages
33.2. Configuring Your Tablet Device
33.3. Using the Virtual Keyboard
33.4. Rotating Your Display
33.5. Using Gesture Recognition
33.6. Taking Notes and Sketching with the Pen
33.7. Troubleshooting
33.8. For More Information
34. Copying and Sharing Files
34.1. Scenarios
34.2. Access Methods
34.3. Accessing Files Using a Direct Connection
34.4. Accessing Files on Different OS on the Same Computer
34.5. Copying Files between Linux Computers
34.6. Copying Files between Linux and Windows Computers with SSH
34.7. Sharing Files between Linux Computers
34.8. Sharing Files between Linux and Windows with Samba
34.9. For More Information
35. Help and Documentation
35.1. Documentation Directory
35.2. Man Pages
35.3. Info Pages
35.4. openSUSE Wiki
A. An Example Network
B. GNU Licenses
B.1. GNU General Public License
B.2. GNU Free Documentation License

List of Figures

2.1. The YaST Partitioner
2.2. Physical Partitioning versus LVM
2.3. Creating a Volume Group
2.4. Logical Volume Management
2.5. RAID Partitions
3.1. Conflict Management of the Package Manager
3.2. Conflict Management of the Package Manager
4.1. YaST Online Update
4.2. YaST Online Update
8.1. YaST User and Group Administration
10.1. Main Window of YaST in Text Mode
10.2. The Software Installation Module
13.1. iptraf Running in Interactive Mode
13.2. Example Graph Created with RRDtool
16.1. System Services (Runlevel)
16.2. System Configuration Using the sysconfig Editor
17.1. Boot Loader Settings
21.1. Simplified Layer Model for TCP/IP
21.2. TCP/IP Ethernet Packet
21.3. Configuring Network Settings
21.4. Modem Configuration
21.5. ISDN Configuration
21.6. ISDN Interface Configuration
21.7. DSL Configuration
23.1. DNS Server Installation: Forwarder Settings
23.2. DNS Server Installation: DNS Zones
23.3. DNS Server Installation: Finish Wizard
23.4. DNS Server: Logging
23.5. DNS Server: Zone Editor (NS Records)
23.6. DNS Server: Zone Editor (MX Records)
23.7. DNS Server: Zone Editor (SOA)
24.1. DHCP Server: Card Selection
24.2. DHCP Server: Global Settings
24.3. DHCP Server: Dynamic DHCP
24.4. DHCP Server: Start-Up
25.1. Advanced NTP Configuration: General Settings
25.2. Advanced NTP Configuration: Security Settings
26.1. NFS Client Configuration with YaST
26.2. NFS Server Configuration Tool
26.3. Configuring an NFS Server with YaST
26.4. Exporting Directories with NFSv4
26.5. Exporting Directories with NFSv2 and v3
28.1. HTTP Server Wizard: Default Host
28.2. HTTP Server Wizard: Summary
28.3. HTTP Server Configuration: Listen Ports and Addresses
28.4. HTTP Server Configuration: Server Modules
29.1. FTP Server Configuration — Start-Up
30.1. Integrating a Mobile Computer in an Existing Environment
32.1. YaST: Configuring the Wireless Network Card
33.1. xvkbd Virtual Keyboard
33.2. Gesture Recognition with CellWriter
33.3. Annotating a PDF with Xournal
33.4. Editing Texts with Dasher
34.1. File Synchronization Proposal

List of Tables

1.1. Installation (Boot) Scenarios Used in This Chapter
7.1. The Most Important RPM Query Options
7.2. RPM Verify Options
12.1. Parameters of fc-list
16.1. Available Runlevels
16.2. Possible init Script Options
17.1. Screen Resolution and Color Depth Reference
18.1. ulimit: Setting Resources for the User
20.1. Bash Configuration Files for Login Shells
20.2. Bash Configuration Files for Non-Login Shells
20.3. Special Files for Bash
20.4. Overview of a Standard Directory Tree
20.5. Useful Environment Variables
21.1. Several Protocols in the TCP/IP Protocol Family
21.2. Specific Addresses
21.3. Private IP Address Domains
21.4. Various IPv6 Prefixes
21.5. Manual Network Configuration Scripts
21.6. Parameters for /etc/host.conf
21.7. Databases Available via /etc/nsswitch.conf
21.8. Configuration Options for NSS Databases
21.9. Some Start-Up Scripts for Network Programs
30.1. Use Cases for NetworkManager
32.1. Overview of Various WLAN Standards
35.1. Man Pages—Categories and Descriptions

List of Examples

7.1. rpm -q -i wget
7.2. Script to Search for Packages
11.1. /etc/modprobe.conf: Interrupt Mode for the First Parallel Port
11.2. Error Message from lpd
11.3. Broadcast from the CUPS Network Server
13.1. vmstat Output on a Lightly Used Machine
13.2. vmstat Output on a Heavily Used Machine (CPU bound)
14.1. List with df -h
16.1. A Minimal INIT INFO Block
18.1. Entry in /etc/crontab
18.2. /etc/crontab: Remove Time Stamp Files
18.3. Example for /etc/logrotate.conf
18.4. ulimit: Settings in ~/.bashrc
19.1. Example udev Rules
20.1. A Shell Script Printing a Text
21.1. Writing IP Addresses
21.2. Linking IP Addresses to the Netmask
21.3. Sample IPv6 Address
21.4. IPv6 Address Specifying the Prefix Length
21.5. /etc/resolv.conf
21.6. /etc/hosts
21.7. /etc/networks
21.8. /etc/host.conf
21.9. /etc/nsswitch.conf
21.10. Output of the Command ping
21.11. Output of the ifconfig Command
21.12. Output of the route -n Command
23.1. Forwarding Options in named.conf
23.2. A Basic /etc/named.conf
23.3. Entry to Disable Logging
23.4. Zone Entry for example.com
23.5. Zone Entry for example.net
23.6. File /var/lib/named/example.com.zone
23.7. Reverse Lookup
24.1. The Configuration File /etc/dhcpd.conf
24.2. Additions to the Configuration File
27.1. A CD-ROM Share (deactivated)
27.2. homes Share
27.3. Global Section in smb.conf
28.1. Variations of Name-Based VirtualHost Entries
28.2. Name-Based VirtualHost Directives
28.3. IP-Based VirtualHost Directives
28.4. Basic VirtualHost Configuration
28.5. VirtualHost CGI Configuration