In this section we show you how to install Red Hat 7.2 Professional on your server.
Note: At the time of writing, 7.2 was the newest version of the Red Hat Linux and it was used to create the installation instructions. Version 7.3 of the Red Hat Linux operating system was released later in May 2002. The redbook team did some limited testing with the version 7.3 and all the installation instruction seemed to apply also to this version.
Note: We recommend using Red Hat Advanced Server version 2.1 or newer instead of the RH Personal or RH Professional version. The RH Advanced Server version has an extended release cycle . The RH Advanced Server has also been certified by the top ISVs, such as IBM. The installation of the RH Advanced Server is similar to the installation of the RH Professional version, which we detail here.
To capture the screens you see in this book, we have installed and configured Linux in a VMware window. VMware is a product by VMware, Inc. (http://www.vmware.com) which allows you to run one operating system as a guest of another. This means that some of the screens might look slightly different from what you would see on your system. These differences are hardware-related, as VMware emulates different hardware devices for the guest operating system.
Be sure to read "Before you begin" on page 18 in order to make the installation easier. To start the installation, insert the Red Hat 7.2 CD-ROM and turn on or reboot the server.
Attention: The installation process will destroy any existing data stored on your hard disk drives.
UelcoMe to Red Hat Linux 7.2!
- To install or upgrade Red Hat Linux in graphical Mode, press the <ENTER> key.
To install or upgrade Red Hat Linux in text Mode, type: text <ENTER>.
To enable low resolution Mode, type: lowres <ENTER>. Press <F2> for More inforMation about low resolution Mode.
- To disable fraMebuffer Mode, type: nofb <ENTER>.
Press <F2> for More inforMation about disabling fraMebuffer Mode.
To enable expert Mode, type: expert <ENTER>. Press <F3> for More inforMation about expert Mode.
To enable rescue Mode, type: linux rescue <ENTER>. Press <F5> for More inforMation about rescue Mode.
If you have a driver disk, type: linux dd <ENTER>.
- Use the function keys listed below for More inforMation.
[Fl-Ma in] [F2-Genera11 [F3-Expert] [F4-Kernel] [F5-Rescue] boot :
1. Once the following screen is displayed, you are ready to start the Linux installation. Press Enter to begin installation immediately or wait for it to start automatically after a short pause.
2. The system will begin to probe (detect) the hardware installed in your system and load the appropriate drivers for it. The Welcome to Red Hat Linux window is displayed while this is happening.
Once the drivers are loaded, the Red Hat Install Program will start. We are using the graphical setup program. If the graphical installation fails to start see RedHat installaion Guide.
3. Select the Language from the list shown in Figure 1-2 on page 26 that you would like to use during the installation - you will be prompted later for the languages the OS should support. Click Next.to continue.
4. The Keyboard Configuration screen is shown in Figure 1-3 on page 27. Specify the keyboard attached to your computer. If in doubt, select Generic 102-key. Click Next to continue.
5. As shown in Figure 1-4 on page 28, you can select different mouse settings. Specify the type of mouse attached to your system and click Next.
Most systems have two button PS/2 mice so you should make certain to check the emulate 3 button mouse.
Tip: If you do not need the Online Help Bar on the left hand side of the screen, you can disable it by clicking on the Hide Help button on the left bottom of your screen. To see the help again, click on the Show Help button.
6. On the welcome screen shown below, click Next to start the Red Hat System Installer. The Install Options screen will be displayed.
7. On the Install Options screen shown in the next figure, select Custom and click Next.
Note: Some disk controllers require drivers supplied by the manufactor and are not supported out of the box. See
http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/install-guide/ch-d riverdisk.html for more information about installing disk drivers.
One of the largest obstacles for a new user during a Linus installation is partitioning. Red Hat Linus makes this process much simpler by providing an option for automatic p artitioning.
By selecting automatic partitioning, you will not have to use partitioning tools to assign mount points, create partitions, or allocate space for your
Disk Partitioning Setup
Automatic Partitioning sets up your partitioning based on your Installation type. You also can customize the resulting partitions to meet your needs.
The manual disk partitioning tool. Disk Druid, allows you to set up your partitions In an interactive environment. You can set the filesystem types, mount points, size and more In this easy to use, powerful Interface.
fdlsk Is the traditional, text-based partitioning tool offered by Red Hat. Although It is not as easy to use, there are cases where fdlsk Is preferred.
C Have the Installer automatically partition for you fî Manually partition with Disk Druid
C Manually partition with fdlsk [experts only]
8. On the following screen, you can select the method you would like to use to partition your Hard Disk(s). Select Manually partition with Disk Druid to partition the disks. We chose this because the automatic process will not provide an optimal partitioning scheme. Click Next to continue.
9. Next, you may see a message indicating that the partition table is unreadable. This usually happens when you have new, unformatted disks. Click Yes to initialize each of the drives installed in your system. This message will not always appear.
Choose, where, you would like Red Hat Linus to be installed,
If you do not know how to partition your system; pleasereadthe section on p artitioning in the Red Hat Linux Installation Guide,
If you used automatic partitioning, you can either accept the current partition settings (click Next), or modify the setup using Disk Druid, the manual partitioning tool.
If you just finished partitioning with fdisk, vou must define mount f Hide Help
Drive /dev/sda (Geom: 522/255/63) [Model: VMware, VMware Virtual
Drive /dev/sdh (Geom: 522/255/63) (Model: VMware, VMware Virtual
Drive /dev/sdc (Geom: 9921/255/63) (Model: VMware, VMware Virtual
Start End Size (MB) Type
1 □-/deßitda !
LFree 1 522 4095 Free space 1/dev/sdti
L Free 1 522 4095 Free space 1/dev/sdc L Free
LFree 1 522 4095 Free space 1/dev/sdti
L Free 1 522 4095 Free space 1/dev/sdc L Free
77823 Free space
Figure 1-9 Red Hat 7.2 - Drive Geometry
10.We are now ready to partition our disks. Have a look at 1.1.3, "Partitions" on page 20 for the recommended partitions and their respective sizes. You might also want to review "Linux performance" on page 212 for alternate configurations using software RAID and LVM (Logical Volume Manager).
Important: If you have existing partitions from another operating system on your machine, you need to delete these before you can create the Linux partitions. Once the old partitions are deleted, proceed with the next step.
11.As shown in Figure 1-9 on page 33, click New to create your partitions.
Important: You can only have four primary partitions for each hard disk drive. If you need to create more than four partitions, create three primary partitions and one extended partition that uses all the remaining disk space. You can then create all subsequent partitions in this extended partition.
12.A window will be displayed, as shown in Figure 1-10 on page 34, to allow you to enter all relevant information for creating a partition.
a. To specify the mount point of a partition, either select it from the Mount Point drop down box or type it in the field provided. We selected / in order to create the root partition.
b. If you have more than one hard drive in your system, the partition will be created on any one of the selected drives. Deselect all drives except the one that is to hold the partition. The blue line indicates that the / root partition should only be created on sda.
Note: sda is the first disk connected to the first SCSI controller, if the machine has a raid controller then it could be /dev/ida/c0d0. The first IDE drive would be /dev/hda c.
d. Enter the size of the partition. We opted for a 3 gig / 3000 Mb root partition.
e. In the Additional Size Options box, you have several options. We selected Fixed size since we wish to specify a 3 gig partition size.
f. Since it is safer to boot off a primary partition, we recommend that you select Force to be a primary partition for the boot partition (the partition that contains your root file system).
g. Select Check for bad blocks to be confident your drives are in good shape; this will take quite a bit of time for large drives.
Tip: To be safe, you should always select Check for bad blocks for all partitions you create.
h. Click OK once all information is entered correctly to create the partition.
13.To create the Swap partition, click New on the Disk Setup Screen (same step as shown in Figure 1-9 on page 33).
Filesystem Type: Choose where you wc Allowable Drives: like Red Hat Linus to t installed.
If you do not know 1m partition your system, (MB): please read the sectioi rtHua Mairbrlo f,.■ fMnrlal' V^V/aTC VMWaH! VÎrtlISÛ
rtHua Mairbrlo f,.■ fMnrlal' V^V/aTC VMWaH! VÎrtlISÛ
partitioning in the Red
Linux Installation Gui
If you used automatic partitioning, you can either accept the cum partition settings (click
Additional Size Options <• Fixed size
C Fill all space up to (MB): C Fill to maximum allowable size
Next), ormodifythesi T Force to te a primary partition using Disk Druid, the manual p artitioning to t
If you just finished partitioning with fdi vou must define mouni_
Check for bad blocks
M ware, VMware Virtual
VMware, VMware Virtual