You are on page 1of 14

517937 Ch01.

F 10/28/02 9:18 AM Page 2

RED HAT LINUX 8

INSTALL LINUX
the CD-ROM drive, refer to the documentation for your

Y
ou can install Red Hat Linux 8 on your computer using
the Red Hat Linux CD-ROM installation discs. You can computer.
also obtain Linux from many different sources other
Once you boot your computer from Disc 1, the Red Hat Linux
than Red Hat. However, the simplicity of the Red Hat
installation program offers you a choice of two installation
installation process with version 8 appeals to many users.
modes, graphical or text. Although some computers only
In the past, many users found the overly complex method allow you to install Linux using text mode, most newer
of installing Red Hat Linux 8 confusing compared to other computers allow you to install Linux using graphical mode.
operating systems. Red Hat Linux 8 now uses an installation Graphical mode installation displays the installation process
process that simply prompts the user for information menus and prompts in a graphical environment.
and then completes the installation automatically. The
Once the installation process begins, a prompt appears
installation of Red Hat Linux 8 is so straightforward that it
asking you to choose a language for Linux to use during
is possible to install Red Hat Linux without looking at a
and after the installation process. The default setting is for
manual or textbook.
the English language. After you select a language, a prompt
Disc 1 of the Red Hat Linux CD-ROM installation set is appears asking you to select the keyboard configuration for
bootable and requires that your CD-ROM drive allow your your computer. The default selection, the U.S. English layout
computer to boot from a CD-ROM. To enable booting from type, is the most common.

INSTALL LINUX

⁄ Start your computer and ■ The installation options ■ The CD media test ‹ Select the Skip button and
immediately insert Disc 1 of screen appears. window appears. press Enter.
the installation set.
¤ Press Enter to start the
Note: Make sure your computer is graphical mode installation
set up to boot from a CD-ROM. process.

2
517937 Ch01.F 10/28/02 9:18 AM Page 3

INSTALLING LINUX 1

Depending on the programs and configuration Before you start to install any operating system,
you choose to install for Red Hat Linux, the you should take the time to complete an inventory
installation could take an hour or more. Allow of your computer hardware. You should make
yourself enough time to complete the installation note of the devices and main components of your
properly. You may have to insert additional computer, such as hard drive and modem types,
CD-ROMs, so you must be present for the as well as any settings associated with the devices.
duration of the installation process or check An example would be the serial port to which your
back periodically. modem connects. If you already have an operating
system on your computer, refer to the system
You can choose to install Linux using a text-
documentation to determine your computer
based installation process if your computer has
hardware settings.
limited video capabilities, or if you experience
video problems while installing Linux in
graphical mode. To do this, type text and press
Enter at the boot: prompt of the installation
options screen.

English (English)

■ The Welcome screen › Click Next to continue. ■ The Language Selection ˇ Select the language you
appears. screen appears. want to use while installing
Linux.
Á Click Next to continue.
CONTINUED

3
517937 Ch01.F 10/28/02 9:18 AM Page 4

RED HAT LINUX 8

INSTALL LINUX (CONTINUED)


Before installing Linux, you may need to partition the hard

W
hen you install Red Hat Linux, you must indicate
the type of mouse that you are using with your drive of your computer. The Linux installation program can
computer. If you cannot find your mouse type in automatically partition the hard drive for you. Users who
the list, you can simply choose a generic mouse type that are more familiar with the Linux operating system can also
best matches the description of your mouse. choose to partition the hard drive manually. When you
manually partition your hard drive, you can specify what
You can choose from four different Linux installation type of file systems and what partition sizes you wish to
options: a workstation, a server, a personal desktop, or a use. You can use either the Disk Druid or the fdisk program
custom configuration. The workstation option installs the to manually partition your hard drive. Experienced Linux
files and programs that your computer would require in a users prefer fdisk, while intermediate users prefer Disk
typical business setting. The server option is for a computer Druid.
that you use as a network server, or for the installation of
more advanced software. The personal desktop option If you are installing Linux for the first time, it is easier to
is suitable for most home users. The custom option install Linux on a clean computer that contains no other
allows you to configure the installation to match your operating systems. Before erasing any information on your
requirements. For most users, the personal desktop hard drive, the Linux installation program asks you to
option is adequate. confirm that you want to erase the data.

INSTALL LINUX (CONTINUED)

3 Button Mouse (PS/2)

U.S. English

■ The Keyboard ‡ Select the keyboard ■ The Mouse Configuration · Select the mouse type for
Configuration screen appears. configuration you want to screen appears. your computer.
use.
‚ Click Next to continue.
° Click Next to continue.

4
517937 Ch01.F 10/28/02 9:18 AM Page 5

INSTALLING LINUX 1

Some mouse manufacturers may have mouse


drivers available specifically for the Linux
operating system. You can install these mouse
drivers after installing Linux. Refer to the
manufacturer information that comes with your
mouse to determine whether a Linux driver is
available for your mouse.
If you already have an older version of the Linux
operating system on your computer, you can
upgrade the existing operating system instead of
completely replacing it. Upgrading a Linux
system preserves all your information after
installation. For more information, see page 14.

■ The Installation Type ± Click Next to continue. ■ The Disk Partitioning Setup ™ Click Next to continue.
screen appears. screen appears.
Note: For more information about ■ A warning might appear
— Select the type of the upgrade installation option, ¡ Select the disk partitioning stating the process may delete
installation you want see page 14. setup you want to use information from your hard
( changes to ). ( changes to ). drive. Click Yes to continue.

CONTINUED

5
517937 Ch01.F 10/28/02 9:18 AM Page 6

RED HAT LINUX 8

INSTALL LINUX (CONTINUED)


You can choose to preview the results of automatic

B
efore you choose the automatic partitioning option in
the Red Hat Linux installation program, you must partitioning before the automatic partitioning program
decide how you want the program to deal with any applies the partitioning process to your hard drive.
existing partitions on your hard drive. If you have an existing
Linux allows you to use a program called a boot loader to
Linux installation that you want to replace, you can instruct
select from multiple operating systems and multiple versions
the installation program to remove the existing Linux
of Linux when the computer starts. Linux can use the GRUB
partitions. If you are performing a new Linux installation,
or LILO boot loader, or no boot loader at all, which is installed
you can have the program remove all the existing partitions
by default. For most installations, you can use the GRUB boot
on your hard drive. If you have partitions on your hard drive
loader. Even if you have only one operating system, you
that you want to keep, you can leave the partitions intact
should install the GRUB boot loader to allow you to
and use the remaining free space on the hard drive to install
customize your Linux system later.
Linux. Most users who are new to Linux may want to
completely remove all partitions from their hard drive and If you choose to install a third-party boot loader, you
have Linux automatically partition the hard drive. should review the information that accompanies the
boot-loader installation software.

INSTALL LINUX (CONTINUED)

■ The Automatic Partitioning ¢ Click Next to continue. ■ The Boot Loader ∞ Click Next to continue.
screen appears. Configuration screen appears.
■ A warning might appear
£ Select the automatic stating that you are about to
partitioning option that you delete information on the
want ( changes to ). hard drive. Click Yes to
continue.

6
517937 Ch01.F 10/28/02 9:18 AM Page 7

INSTALLING LINUX 1

If you are creating a dual boot system using Linux


and another operating system, you should install
the other operating system first, and on a separate
partition. You can then use automatic partitioning
to leave the existing partition with the other
operating system intact and use the remaining
disk space for Linux. You must ensure that the
partition on which the other operating system
resides does not take up all of your hard drive.
If you already have an operating system on your
computer, you may be able to create a dual boot
system that allows you to use either Linux or the
other operating system. When creating a dual
boot system, always install the other operating
system before Linux, and allow the installer to
automatically partition the disk drive.

eth0 DHCP

■ The Network § Make any necessary ■ The Firewall Configuration • Select your desired
Configuration screen appears. changes. screen appears. firewall settings.
¶ Click Next to continue. ª Click Next to continue.

CONTINUED

7
517937 Ch01.F 10/28/02 9:18 AM Page 8

RED HAT LINUX 8

INSTALL LINUX (CONTINUED)


I
f your computer has a network interface, in the form of A firewall is software that restricts network access to your
a built-in network adapter or a network interface card, computer. The installation process allows you to configure
you can configure some of the network settings during and install firewall software. For most installations, the
the installation process. When you select a device such as a default firewall setting is adequate.
network interface card, the installation program registers
the card as a device called eth0. By default, the program Each Linux operating system has an account called root,
configures the device to activate when you start your which is the master account for the computer. You use the
computer, a setting that is suitable for most users. root account to configure the Linux system, install
applications, and create user accounts. You must assign a
Computers that connect to a network can use a protocol password to the root account during the installation
called DHCP to automatically obtain network information, process. Because the root account is used for so many
such as computer names and IP numbers, which identify important administrative functions, you should be careful
the computers on the network. If your computer network when choosing a password for the account.
does not use DHCP, you should contact your computer
administrator to obtain your network settings. During installation, you should create at least one user
account. This account is separate from the root account.

INSTALL LINUX (CONTINUED)

English (USA)

America/New_York Eastern Time

■ The Additional Language º Select any additional ■ The Time Zone Selection ≠ Select your time zone.
Support screen appears. languages you want to use screen appears.
( changes to ). ‘ Click Next to continue.
– Click Next to continue.

8
517937 Ch01.F 10/28/02 9:18 AM Page 9

INSTALLING LINUX 1

You can choose to configure your network firewall You can choose the hostname of your
settings during the installation procedure to allow or computer when you install Linux. In some
deny certain protocols. Protocols are normally cases, such as when you use a cable
associated with a specific network task; for example, modem, you may have to indicate a specific
you use the FTP protocol to send and receive files. hostname. If you do not specify a name for
the computer, the computer assigns the
PROTOCOL ASSOCIATED WITH name localhost, which has been assigned
WWW Accessing the World Wide Web. by your service provider.
SMTP Sending e-mail messages.
POP Receiving e-mail messages.
TELNET Remotely connecting to a computer.
SSH Remotely connecting to a computer
using a secure connection.

john john Smith

■ The Account Configuration ø Click Add to create a non- ■ The non-root user account ■ You can setup additional
screen appears. root account. appears. non-root accounts by clicking
Add and following steps 28
“ Type the password for the ∆ Type the information for to 30.
root account. the user account.
a Click Next to continue.
π Retype the password for ¥ Click OK.
the root account to confirm CONTINUED
the password.
9
517937 Ch01.F 10/28/02 9:18 AM Page 10

RED HAT LINUX 8

INSTALL LINUX (CONTINUED)


you choose will be overwritten; so, if you are using a

Y
ou can create a Linux boot disk during the installation
process that can later help you to recover data from previously used diskette, ensure you have a copy of any
a malfunctioning computer. While optional, it is needed data that may be on the diskette.
recommended that you create a boot floppy to better
A boot disk will only be able to provide you with access to
protect the information stored on your computer. In many
the Linux system on the computer with which you use the
cases, if you have a problem with the hard drive on a Linux
boot disk. You will not be able to use graphical applications
system, a boot floppy will be your only method of booting
or the graphical desktop environment when you are
your system or recovering the information you have on the
booting from a boot floppy.
computer.
You should store the boot floppy in a location away from
To create a bootable floppy, you will need a high-density
the Linux system to provide some degree of protection
disk and a functioning floppy disk drive that was recognized
in the event of damage, such as electrical problems.
by Linux during installation. Any information on the diskette

INSTALL LINUX (CONTINUED)

■ The Personal Desktop b Click Next to continue. ■ The About to Install screen ■ Linux performs the
Defaults screen appears, appears. installation. If the installation
displaying a summary of items requires additional CD-ROMs,
that Linux recommends that c Click Next to continue. the program prompts you to
you install. insert them as needed.

10
517937 Ch01.F 10/28/02 9:18 AM Page 11

INSTALLING LINUX 1

After you have set up and configured your If you do not have a bootable floppy diskette, you
Linux system, it is recommended that you boot can use the Red Hat Linux CD-ROM disc 1 to
the system using the boot disk to ensure that start the Linux system in rescue mode. For more
the boot disk works and that you can access the information about booting rescue mode, see
Linux system. Testing the boot disk will ensure Chapter 17.
that the boot floppy works before you actually
have to use it.
Although you should have one boot disk for each
Linux system to which you have access, you can
use the boot floppy to access different versions
of Red Hat Linux on other computers.

■ After the software d Select Yes, I would ■ A warning appears ■ The boot disk is created.
installation, the Boot Disk like to create a boot disk indicating the disk will be
Creation screen appears. ( changes to ). erased. g Click Next to continue.
e Click Next to continue. f Insert a floppy disk into
the disk drive and click Make
boot disk.
CONTINUED

11
517937 Ch01.F 10/28/02 9:18 AM Page 12

RED HAT LINUX 8

INSTALL LINUX (CONTINUED)


package. A selection of games comes with the Games and

Y
ou can choose to install different software packages
when you install Red Hat Linux on your computer. Entertainment package.
When you install Red Hat Linux, you also install the X
The Linux installation program also allows you to create a
graphical interface. X allows Linux to interact with you
boot disk. A boot disk is a floppy disk that helps you access
through a graphical environment that includes windows,
your Linux system if the computer develops startup
icons, and other image interfaces. You can choose to install
problems. You can also create a boot disk after you install
other graphical environments that Linux uses with the X
Linux.
graphical environment. GNOME, the most popular
graphical environment, installs by default when you install Your computer uses a video adapter to generate the
Red Hat Linux. KDE is another graphical environment that graphical images on your monitor. You must tell Linux
you can install. If you install both the GNOME and KDE which video adapter your computer uses as well as the
packages, you can switch between them as needed when amount of video memory the video adapter requires.
you are working in the Linux graphical environment.
Once you select the video adapter, you need to specify the
Red Hat Linux comes with other optional packages. For monitor that connects to your computer. If the exact model
example, if you are going to use your computer for of monitor is not available within the list, you can select a
programming, you can install the software development monitor that closely matches your own monitor.

INSTALL LINUX (CONTINUED)

S3 Trio64 (generic)

MAG DX1595

■ The Graphical Interface (X) i Click the Video card ■ The Monitor Configuration k Select your monitor type.
Configuration screen appears. RAM to select the amount screen appears.
of video memory on your l Click Next to continue.
h Select your video adapter. video card.
j Click Next to continue.

12
517937 Ch01.F 10/28/02 9:18 AM Page 13

INSTALLING LINUX 1

Two of the most popular graphical


desktop environments, GNOME 2.0 and
KDE, are available with the Red Hat Linux
installation. You can choose to install one
or both of these desktop environments.

GNOME 2.0 KDE


The GNOME desktop is the most popular KDE is a desktop environment that is similar
graphical desktop environment for use on in appearance and behavior to the Windows
Linux systems. The GNOME desktop is operating system. KDE also comes with a
extremely versatile, allowing you to alter wide range of applications, including a
your desktop to suit your personal superb suite of office applications and
preferences and work requirements. utilities, which contribute to the popularity
GNOME also includes many tools and of KDE. For more information about the
applications, from simple word processors KDE desktop, see Chapter 5.
to network monitors. For more information
about using GNOME, see Chapter 4.

■ The Customize Graphical n Click the Screen ■ A Congratulations message Note: The Red Hat Setup Agent will
Configuration screen appears. Resolution to select the appears. appear after you restart your system
screen resolution of your to help you configure your new
m Click the Color Depth graphical display. p Click Exit to restart your system.
to select the color depth of computer.
your graphical display. o Click Next to continue.

13
517937 Ch01.F 10/28/02 9:18 AM Page 14

RED HAT LINUX 8

UPGRADE LINUX
You can choose which applications and packages you want

Y
ou can perform an upgrade to install a new version
of Red Hat Linux over a previous version of Red Hat to install during an upgrade. You can also install new
Linux. The difference between a new installation of packages after you install Linux. For more information,
Red Hat Linux and an upgrade is that when you perform see page 210.
an upgrade, Linux preserves settings and files, such as
The applications that you install when you upgrade your
documents, e-mails, and graphic files that exist on your
operating system match the configuration of the existing
system. The actual process of upgrading an operating system
operating system. For example, if you installed the original
is the same as installing a new copy of the operating system.
version of Linux using a server configuration, then the
When you install an upgrade, the Linux installation program
upgrade installs the latest version of the server configuration.
determines where on your computer the current version of
If you installed additional applications after the initial
Linux presently exists.
installation of the original operating system, then the
When upgrading Linux, the installation program can install a installation program also upgrades those applications.
boot loader. A boot loader is a program that allows a
computer to boot multiple operating systems. When you
perform a system upgrade, you can update the boot loader
or you can choose to install a new boot loader.

UPGRADE LINUX

⁄ Follow steps 1 to 10 on ¤ When the Installation ■ The Upgrade Examine › Click Next to continue.
pages 2 to 4 to install Linux. Type window appears, select screen appears.
Upgrade Existing System
( changes to ).
‹ Click Next to continue.

14
517937 Ch01.F 10/28/02 9:18 AM Page 15

INSTALLING LINUX 1

If you have updated individual applications on


your system, the Red Hat Linux installation
program does not update them when it installs
the latest version of Linux. For example, if you
are currently using the latest version of the
Mozilla Web browser on an older version of
Linux, when you upgrade to the latest version of
Linux, Mozilla does not update. Only the
applications that are older than those found in
Red Hat Linux 8 will update.
The version of Red Hat Linux that you upgrade
from can be the same as the version of Red Hat
Linux to which you are upgrading. You can use
this technique to repair a malfunctioning
operating system, while trying to preserve the
data files on the system.

■ The Upgrade Boot Loader ˇ Select the type of boot ■ The About to Upgrade ■ The Linux installation
Configuration screen appears. loader configuration update screen appears. continues. For more details
that you want ( changes about the Linux installation,
to ). ‡ Click Next to continue. see pages 2 to 13.
Á Click Next to continue.

15

You might also like