- Methods of Installing SUSE Linux
- Preparing to Install from a CD-ROM or DVD
- Installing SUSE Linux with YaST
- Logging In and Shutting Down the First Time
- References
Installing SUSE Linux with YaST
The installation begins when you insert the first SUSE Linux CD into your drive and boot up. A menu appears with several startup choices (see Figure 3.1). Select Installation. YaST will identify and initialize the hardware it needs to begin, and then display the Novell Software License Agreement. Click I Agree to continue to the first installation screen. Select your preferred language from the extensive list.
Figure 3.1 Select an Installation option from this initial screen.
Initial Installation Settings
YaST loads the kernel modules for your hard drive and then displays a list of Installation Settings (see Figure 3.2). Review carefully all the settings for accuracy and click either the heading of each section or the Change button on the bottom to correct any errors.
Figure 3.2 YaST autodetects your hardware and makes some default choices about your installation. Edit any default selection by clicking the heading or using the Change button.
Partitioning
You learned most of what you need to know about how disks are partitioned under Linux in Chapter 2, "Preparing to Install SUSE Linux." YaST creates a Root and swap partition by default. If you want to add partitions or use a different file system than ReiserFS, select the Partitioning heading and make your changes.
Setting Your Time Zone
Use the Time Zone section to identify your location so that the system time will be correct for your time zone. By default, time is marked using a 24-hour clock, rather than the AM/PM divide. You can change this in YaST later. See "Setting Date and Time" in Chapter 4, "Further Configuration with YaST2 and SaX2."
Installing Software Packages
By default, YaST installs the Standard System with KDE, a selection of basic applications and the K Desktop Environment. If you prefer the other leading Linux desktop environment, you can install the Standard System with GNOME. Click the Software section of the Installation Settings, and click the appropriate button.
Click Accept when you are ready to install the base system. Depending on the software packages you selected, you may have to view and accept other license agreements for certain applications (for example, the Macromedia Flash player).
YaST formats the designated partition for the data drive and the swap partition and then begins installing the operating system and the designated software packages. Depending on the amount of software to be installed and the speed of your processor and CD drive, the time it takes to do this will vary. The right side of your screen contains a progress bar that gives you a total estimate of the time remaining.
If you are installing from the CD set (rather than from the DVD), you’ll see a few horizontal bars crossing the progress bar; they represent the approximate time until you’ll have to swap CDs again. Feel free to walk away from the keyboard while the installation proceeds. The DVD contains all the files on the single disk and frees you from the worry of needing to be ready to swap media as needed.
After the base system is installed, YaST reboots your computer to make sure things are in good shape to begin (you will have a 10-second warning when you can stop the reboot, if necessary). Leave the first CD in the drive for the reboot. When the reboot is complete, the Package Installation screen appears, and you’ll be asked to insert the second CD.
Packages will continue to install, and the blue progress bar will continue to shrink. You’ll be asked again to swap out CDs occasionally until the installation is complete.
Creating the root User
When all the packages have been installed, you will become the system administrator for the first time. Your task is to create the first user on the system: root. This is done simply enough: In UNIX and Linux, a user equals a password.
Figure 3.3 View the details of the software package installation in this screen.
The first password you create, for the root user, is by far the most important. The root user has complete control over the system, for good or evil. Therefore, the root password must be secure and easy to remember. If you forget the root password, it becomes extremely difficult (although not impossible) to access any system files. At minimum, the root password must be at least five characters and should have a mixture of letters, cases, and numbers.
Click Expert Options to choose the encryption method for your passwords (see Figure 3.4). By default, SUSE Linux uses the DES standard, but it is much safer to use the Blowfish encryption standard because it allows for up to 72 characters in the password string. This is much harder to crack randomly. When you have typed and confirmed the root password, click Next.
Configuring Network and Internet Connections
Next, YaST checks for networking hardware: Ethernet cards, dial-up modems, or high-speed connections. You have the option to configure these yourself later (click Skip Configuration), but it is a good idea to set this up during the installation. YaST will use this connection to go online to update your installation in the next step.
Figure 3.4 Strengthen the encryption of your Root password by clicking Expert Options.
Figure 3.5 shows the default network settings screen. As before, if YaST failed to detect all your networking hardware, or misidentified something, click the appropriate heading or use the Change button to make adjustments.
Note that the SUSE Firewall is turned on by default. This is a good thing, unless you are already protected by a hardware router, which is included with many Digital Subscriber Line (DSL) accounts, and in business network settings. Click Next to confirm the network settings.
YaST tests your connection as you set it up. It connects to a nearby SUSE Linux update server to retrieve the latest Release Notes and any updates to your installed software. If you have any problem connecting, review the network settings and make sure everything is correct.
Figure 3.5 Confirm or edit your network hardware and configuration on this screen.
Creating a User
Now it’s time to set up your first user—you! As with the root user, the central task in creating a user on a Linux system is to make a password. YaST first asks whether this user will log in locally or from another computer, using either the Lightweight Directory Access Protocol (LDAP), the Network Information Service (NIS), or from a Windows PC through Samba. In all likelihood, the first user on the system will log in locally on this PC; select this option and click Next.
Type the relevant information into the Add a New Local User screen (see Figure 3.6), including the user password. This should always be different from the root password, but use the same general rules. For further information and advice on New User settings, see "Setting Up User Accounts in YaST" in Chapter 19. Click Next to create this and all other system users.
YaST now runs the SUSEConfig file to add the user and confirm the other changes made to this point. This can take a minute or longer, depending on your system. It then displays the Release Notes, with current information on new features and known problems. Click Next when you have reviewed this information.
Figure 3.6 Add your first user (usually you) in this screen.
Configuring Hardware for the X Window System
The last step in the installation is identifying and configuring the hardware you’ll need for the graphical X Window System and your chosen desktop environment. YaST autodetects your graphics card, connected printers, sound card, and a few miscellaneous peripherals. Again, if the autodetection failed or misidentified a card, select the appropriate heading or click the Change button and make any necessary changes. Click Next when you’re ready. YaST confirms the changes and writes the default configuration files.
You will now see the Congratulations! screen (see Figure 3.7), signifying the end of the installation process. You are ready to log in for the first time. If you want to check other settings or add more software packages next, check the Start YaST Control Center box before clicking Finish. You may remove your CD at this time.
The system will then begin the boot process, finishing by displaying the green screen with the login prompt.
Figure 3.7 You’ve finished!