Opensuse Leap 15.3 Start-Up Start-Up Opensuse Leap 15.3
Total Page:16
File Type:pdf, Size:1020Kb
openSUSE Leap 15.3 Start-Up Start-Up openSUSE Leap 15.3 Publication Date: June 22, 2021 SUSE LLC 1800 South Novell Place Provo, UT 84606 USA https://documentation.suse.com Copyright © 2006– 2021 SUSE LLC and contributors. All rights reserved. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”. For SUSE trademarks, see https://www.suse.com/company/legal/ . All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its aliates. Asterisks (*) denote third-party trademarks. All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its aliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof. Contents About this guide xi 1 Available documentation xi 2 Improving the documentation xii 3 Documentation conventions xiii 4 Source code xiv 5 Acknowledgments xiv I INSTALLATION 1 1 Installation Quick Start 2 1.1 Welcome to openSUSE Leap 2 Minimum system requirements 2 • Installing openSUSE Leap 2 2 Boot parameters 17 2.1 Using the default boot parameters 17 2.2 PC (AMD64/Intel 64/Arm AArch64) 17 The boot screen on machines equipped with traditional BIOS 18 • The boot screen on machines equipped with UEFI 20 2.3 List of important boot parameters 23 General boot parameters 23 • Configuring the network interface 24 • Specifying the installation source 26 • Specifying remote access 27 2.4 Advanced setups 27 Using IPv6 for the installation 27 • Using a proxy for the installation 28 • Enabling SELinux support 29 • Enabling the installer self-update 29 • Scale user interface for high DPI 29 • Using CPU mitigations 29 iii Start-Up 2.5 More information 30 3 Installation steps 31 3.1 Overview 31 3.2 Installer self-update 32 Self-update process 33 • Custom self-update repositories 35 3.3 Language, keyboard, and license agreement 36 3.4 Network settings 37 3.5 Online repositories 38 3.6 System role 40 3.7 Partitioning 43 Important information 43 • Suggested partitioning 45 3.8 Clock and time zone 47 3.9 Create new user 49 3.10 Authentication for the system administrator root 52 3.11 Installation settings 54 Software 54 • Booting 56 • Security 56 • Network configuration 57 • Default systemd target 57 • Import SSH host keys and configuration 58 • System 58 3.12 Performing the installation 59 4 Troubleshooting 60 4.1 Checking media 60 4.2 No bootable drive available 60 4.3 Booting from installation media fails 61 4.4 Boot failure 62 4.5 Fails to launch graphical installer 64 4.6 Only minimalist boot screen started 65 iv Start-Up II ADMINISTRATION 67 5 Managing users with YaST 68 5.1 User and group administration dialog 68 5.2 Managing user accounts 70 5.3 Additional options for user accounts 71 Automatic login and passwordless login 72 • Enforcing password policies 72 • Managing quotas 73 5.4 Changing default settings for local users 75 5.5 Assigning users to groups 76 5.6 Managing groups 76 5.7 Changing the user authentication method 77 5.8 Default system users 79 6 Changing language and country settings with YaST 81 6.1 Changing the system language 81 Modifying system languages with YaST 82 • Switching the default system language 84 • Switching languages for standard X and GNOME applications 85 6.2 Changing the country and time settings 85 7 Setting up hardware components with YaST 89 7.1 Setting up your system keyboard layout 89 7.2 Setting up sound cards 89 7.3 Setting up a printer 93 Configuring printers 93 • Configuring printing via the network with YaST 96 • Sharing printers over the network 98 7.4 Setting up a scanner 99 Configuring an HP all-in-one device 99 • Sharing a scanner over the network 100 • Scanning over the network 100 v Start-Up 8 Printer operation 101 8.1 The CUPS workflow 102 8.2 Methods and protocols for connecting printers 103 8.3 Installing the software 103 8.4 Network printers 104 8.5 Configuring CUPS with command line tools 105 8.6 Printing from the command line 106 8.7 Special features in openSUSE Leap 107 CUPS and firewall 107 • Browsing for network printers 107 • PPD files in various packages 108 8.8 Troubleshooting 109 Printers without standard printer language support 109 • No suitable PPD file available for a PostScript printer 110 • Network printer connections 110 • Defective printouts without error message 112 • Disabled queues 112 • CUPS browsing: deleting print jobs 113 • Defective print jobs and data transfer errors 113 • Debugging CUPS 114 • More information 114 9 Accessing file systems with FUSE 115 9.1 Configuring FUSE 115 9.2 Mounting an NTFS partition 115 9.3 Mounting remote file system with SSHFS 116 9.4 Mounting an ISO file system 116 9.5 Available FUSE plug-ins 117 9.6 More information 118 III MANAGING AND UPDATING SOFTWARE 119 10 Installing or removing software 120 10.1 Definition of terms 120 vi Start-Up 10.2 Using the YaST software manager 122 Searching software 122 • Installing and removing packages or patterns 123 • Updating packages 125 • Package dependencies 127 • Handling of package recommendations 128 10.3 Managing software repositories and services 129 Adding software repositories 129 • Managing repository properties 131 • Managing repository keys 132 10.4 The GNOME package updater 132 10.5 Updating packages with GNOME Software 135 11 Installing add-on products 137 11.1 Add-ons 137 11.2 Binary drivers 138 12 YaST online update 139 12.1 The online update dialog 139 12.2 Installing patches 141 12.3 Automatic online update 142 13 Upgrading the system and system changes 145 13.1 Upgrading the system 145 Preparations 146 • Possible problems 146 • Upgrading with YaST 147 • Distribution upgrade with Zypper 154 • Updating individual packages 157 13.2 More information 157 IV THE BASH SHELL 159 14 Shell basics 160 14.1 Starting a shell 160 vii Start-Up 14.2 Entering commands 161 Using commands without options 162 • Using commands with options 162 • Bash shortcut keys 164 14.3 Getting help 164 14.4 Working with files and directories 165 Examples for working with files and directories 167 14.5 Becoming root 170 Using su 170 • Using sudo 170 14.6 File access permissions 171 Permissions for user, group and others 171 • Files and folders 173 • Modifying file permissions 174 14.7 Time-saving features of Bash 176 Examples for using history, completion and wildcards 178 14.8 Editing texts 180 Example: editing with vi 181 14.9 Searching for files or contents 181 Examples for searching 182 14.10 Viewing text files 182 14.11 Redirection and pipes 183 Examples for redirection and pipe 184 14.12 Starting programs and handling processes 185 14.13 Archives and data compression 186 14.14 Important Linux commands 188 File commands 188 • System commands 194 • More information 197 15 Bash and Bash scripts 198 15.1 What is “the shell”? 198 Bash configuration files 198 • The directory structure 201 15.2 Writing shell scripts 205 viii Start-Up 15.3 Redirecting command events 206 15.4 Using aliases 207 15.5 Using variables in Bash 208 Using argument variables 209 • Using variable substitution 209 15.6 Grouping and combining commands 210 15.7 Working with common flow constructs 211 The if control command 211 • Creating loops with the for command 212 15.8 More information 212 V HELP AND TROUBLESHOOTING 213 16 Help and documentation 214 16.1 Documentation directory 214 SUSE manuals 215 • Package documentation 215 16.2 Man pages 216 16.3 Info pages 217 16.4 Online resources 218 17 Common problems and their solutions 219 17.1 Finding and gathering information 219 17.2 Boot problems 222 The GRUB 2 boot loader fails to load 222 • No login or prompt appears 223 • No graphical login 224 • Root Btrfs partition cannot be mounted 224 • Force checking root partitions 224 • Disable swap to enable booting 225 • GRUB 2 fails during reboot on a dual-boot system 225 17.3 Login problems 225 Valid user name and password combinations fail 225 • Valid user name and password not accepted 226 • Login to encrypted home partition fails 229 • GNOME desktop has issues 229 ix Start-Up 17.4 Network problems 230 NetworkManager problems 234 17.5 Data problems 235 Managing partition images 235 • Using the rescue system 235 A GNU licenses 243 x Start-Up About this guide This manual will see you through your initial contact with openSUSE® Leap. Learn how to install, use and enjoy your system. Installation Guides you through the installation process and the basic conguration of your system. The Quick Start section shows a quick walk through the installation using default values. The second part of this chapter provides details for every installation step. Administration Introduces YaST, the central tool for installation and conguration of your system. Learn how to initially set up your system and how to modify key components of your system. Managing and updating software Understand how to install or remove software with either YaST or using the command line, how to use the 1-Click Install feature, and how to keep your system up-to-date. The Bash shell Learn how to work with the bash shell, the default command line interpreter on openSUSE Leap.