Install the linux operating system

2 Installing the Linux Operating System

This chapter describes the procedure for installing Oracle Enterprise Linux 5.3. However, the procedure for installing RedHat Enterprise Linux 5.3 is virtually identical.

2.1 Introduction

The procedure for installing Oracle Enterprise Linux 5. 3 is fully described in the product documentation. This section presents a summary of that procedure, and assumes a sound knowledge of Linux administration.

For information on vendor-specific variations, consult the appropriate documentation. The installation procedure described is based on the use of a DVD media package.

Obtaining the Linux Operating System

The Oracle Enterprise Linux 5. 3 software is available from the Oracle E-Delivery Web site ( http://edelivery.oracle.com/linux ).

2.2 Download ISO Image and Burn DVD

Download the appropriate ISO image. This guide assumes you are using the DVD version of Oracle Enterprise Linux 5.3.

Unzip the files.

Burn the ISO file to DVD. Note that this requires the use of a DVD-burning utility (such as UltraISO or Magic ISO Maker).

According to your corporate policy, the Linux installation procedure may use a different procedure to that described in the following sections.

2.3 Run Ins taller

After installing Linux on the first node, repeat the Linux installation procedure for each system.

Ensure that server system is able to boot from DVD. Insert the Oracle Enterprise Linux DVD, and power on.

When the Oracle Enterprise Linux boot screen appears, press Enter to start the installation process.

When asked to test the DVD media, select Skip . After a short interval, the installer goes into GUI mode. (The media test is not necessary because the DVD burning software would have informed you of any errors on the media).

At the Welcome to Oracle Enterprise Linux screen, click Next .

Select the appropriate options from the Language and Keyboard settings screens.

If the installer detects a previous version of Enterprise Linux, you are prompted to «Install Enterprise Linux» or «Upgrade an existing installation». Select «Install Enterprise Linux», and click Next .

Oracle recommends that you install the Linux operating system with the default software packages (RPMs), and that you do not customize the RPMs during installation. This installation includes most required packages, and helps you limit manual checks of package dependencies.

2.4 Set up Disk Part itioning

When prompted, select the default Remove Linux partitions on selected drives and create default layout option, and check the option Review and modify partitioning layout . When prompted to confirm your selection, select Yes . Click Next to continue.

A check box allows you to encrypt the entire system. If selected, for security reasons, a password is required during booting the system.

When prompted to confirm the removal of all partitions, click Yes .

Review and modify (if necessary) the automatically selected disk partitions.

For most automatic layouts, the installer assigns 100 MB for /boot , 2 GB for swap, and the remainder is assigned to the root ( / ) partition. Ensure the specified SWAP space is sufficient. See Table 2-1 and Table 2-2 for required disk space and swap space requirements.

The installer creates a disk configuration using the Logical Volume Manager (LVM). For example, it will partition the first hard drive ( /dev/sda in the described configuration) into two partitions: one for the /boot partition ( /dev/sda1 ), and the remainder of the disk dedicated to a LVM named VolGroup00 ( /dev/sda2 ). The LVM Volume Group ( VolGroup00 ) is then partitioned into two LVM partitions: one for the root file system ( / ), and another for swap. If you have selected a non-standard layout, ensure that the system meets the required disk space specifications shown in Table 2-1. Ensure enough swap space is allocated for Oracle Enterprise Linux. Its required swap space is shown in Table 2-2.

Table 2-1 Required Disk Space Specifications

Footnote 1 This is the example location of the database used throughout this guide.

Table 2-2 Required Swap Space

Partition Minimum Required Disk Space (GB)

Equal to the size of RAM.

More than 8192 MB

0.75 times the size of RAM.

The Reporter server requires high performance data storage. RAID-10 or RAID-5 (or equivalent) storage configurations with high performance disks are strongly recommended.

The requirements shown in Table 2-1 and Table 2-2 can vary depending upon the composition and volume of monitored data. For more information, please contact Customer Support.

Accept the GRUB boot loader, as well as all default values, and click Next .

2.5 Netw ork Configuration

Ensure that a static IP address is assigned to the interface used to access the RUEI Web interface. In addition, the assigned IP address should be configured in the /etc/hosts file. If necessary, ensure that all Reporter and Collector systems are correctly defined in the DNS system.

Ensure that the network interface(s) used for network packet monitoring are administratively up , but without an IP address.

Make the network interface up status permanent (after a reboot) by setting the ONBOOT parameter of the capturing interfaces to yes . The network interfaces configuration can be found in /etc/sysconfig/networking/devices/ifcfg-eth X (where X represents the necessary network interface). Alternatively, use the graphical utility system-config-network to perform the above actions.

2.6 Package I nstallation

Select the appropriate time zone for your environment, and click Next .

Specify a root password, and click Next .

At the additional tasks dialog box shown in Figure 2-1, leave the Customize later radio button checked, leave all the check boxes unchecked, and click Next .

Figure 2-1 Additional Tasks Dialog Box


Description of «Figure 2-1 Additional Tasks Dialog Box»

At the About to install screen, click Continue to start the installation.

At the prompt screen, click Next to begin installation of Enterprise Linux.

Upon successful installation, remove the DVD, and click Reboot .

It is strongly recommended that you use the settings described above, and do not perform a «minimal» installation of Oracle Enterprise Linux. This can lead to a wide range of problems, further described in Section A.8, «Missing Packages and Fonts Error Messages».

2.7 Post-Installation Wizard

When the system boots for the first time, a post-installation wizard appears, and allows you to finalize the operating system configuration settings. Click Forward .

At the User license agreement screen, read the license terms. You will not be able to proceed until you have accepted them. Then click Forward .

Use the screen shown in Figure 2-2 to allow only secure WWW (HTTPs) and SSH traffic. Be aware that, by default, SSH traffic is enabled, but secure WWW (HTTPS) traffic is not. Note that, when prompted with a warning about not setting the firewall, click Yes .

Figure 2-2 Firewall C onfigura tion


Description of «Figure 2-2 Firewall Configuration»

Use the screen shown in Figure 2-3 to disable Security Enhanced Linux (SELinux). Click Forward . Note that you are prompted with a warning that changing the SELinux setting requires rebooting the system so that the entire system can be relabeled. Click Yes .

Figure 2-3 SELinux Configura tion


Description of «Figure 2-3 SELinux Configuration»

Security Enhanced Linux (SELinux) must be disabled for correct operation of RUEI.

Accept the default setting on the Kdump screen (disabled), and click Forward .

Adjust the date and time settings using the screen shown in Figure 2-4. The use of NTP is strongly recommended, and is required in a split-server deployment. Click OK .

Figure 2-4 Date a nd Time Settings


Description of «Figure 2-4 Date and Time Settings»

2.8 Create Additiona l Users an d Reboot

Create any additional required (non-Oracle) operating system user accounts. Note that during the installation of the RUEI software, the moniforce user account is created. The creation of the oracle user is described in a later section. Do not create either user account at this point.

If prompted, confirm the detection of a sound card.

On the Additional CDs screen, click Finish .

Because the SELinux option has been changed (to disabled), you are prompted to reboot the system. Click OK .

After reboot, use the root user account, and the password you specified during installation to logon.

Text Mode Installation (Optional):

When using the text mode installation, by default:

Firewall: HTTPS (TCP 443) is blocked.

Security: SE Linux is enabled.

Allow HTTPS traffic (TCP 443) and disable SElinux using the system-config-securitylevel utility.

2.9 Verify NTP Dae mon Operation

Because the NTP daemon is a critical component of RUEI, especially in a split Reporter-Collector configuration, it is recommended that you verify that it is activated in at least run level 5 during boot. Use the following commands:

Note that if the NTP daemon is not already running, you can start it with the command

The following sample output show when the NTP daemon is synchronized (indicated by an «*»).

Источник

Install the linux operating system

This chapter contains information about installing the Red Hat Enterprise Linux (RHEL), SUSE Enterprise Linux System (SLES) and Oracle Enterprise Linux (OEL) operating systems and system-specific drivers onto your server.

This chapter includes the following sections:

This document provides an overview of the Linux OS installation process, and is not meant be a comprehensive source of information for installing a Linux OS. This section provides installation methods and tasks for installing a supported version of Linux on your server.

This section contains the following sections:

OS Installation Overview

The following procedures are for installing drivers if you are performing a fresh installation of a Linux OS.

Available RAM Swap Space Required
Note — At the time this document was written, the Sun Fire X4450 server supports Oracle Enterprise Linux (OEL) installation. The Sun Fire X4150 and Sun Fire X4250 servers do not currently support OEL.

See TABLE 5-1 for the task map for OS installation.

TABLE 5-1 OS Installation Task Map

Set up your server.

Install your server hardware and configure the service processor.

Server Installation Guide

Prepare your system for OS installation.

Set the display environment. If necessary, erase the primary boot disk.

Set up your system for a RAID or non-RAID configuration based on the SAS controller card.

Your server supports two SAS controller cards. RAID setup is different for each card.

Review your Server Product Notes.

The product notes contain late-breaking news about the Linux OS software and patches.

Server Product Notes

Install the Linux OS.

Choose an installation method and locate the installation instructions.

Install the system-specific drivers from the Tools and Drivers CD.

Install the system-specific drivers needed to run the Linux OS on the your server.

Run the up2date or SUSEWatcher utility.

OS Installation Methods

See the following list of installation methods to determine the type of installation that you want to do and the information source for the installation. See Choosing an OS Installation Method for a description of each method.

The following sections describe the methods that you can use:

Sun Installation Assistant (SIA)

Installing Linux Using Sun Installation Assistant

The Sun Installation Assistant (SIA) is a convenient, front-end application designed to assist you in installing supported versions of Linux and Windows on your server. SIA supplements the standard installation utilities and procedures that ship with your operating system; it does not replace them.

To Install Linux Using Sun Installation Assistant

See the Sun Installation Assistant for Windows and Linux User’s Guide , at:

Note — At the time this document was written, Oracle Enterprise Linux cannot be installed using Sun Installation Assistant.

Installing Linux Using Local CD/DVD Drive

You can install a Linux OS using the local server DVD drive or a USB connected CD or DVD drive connected to the server.

To Install Linux Using Local CD/DVD Drive

See the instructions for basic installation in the document that corresponds to the OS you are installing:



      Red Hat Enterprise Linux Installation Guide for the x86, Itanium, and AMD64 Architectures at http://www.redhat.com/docs/manuals/enterprise/ .

    SUSE Linux Enterprise Server Administration and Installation at http://www.novell.com/documentation/suse.html .

    Installing Linux Using PXE

    This section describes how to boot the Linux from a PXE network environment.

    Before beginning the installation, take note of the prerequisites for the OS that you plan to install.

    When the prerequisites are in place, continue with the installation instructions in To Install Linux Using PXE.

    Red Hat Linux and Oracle Enterprise Linux Prerequisites

    KickStart is Red Hat’s automated installation tool. It enables a system administrator to create a single image containing the settings for some or all installation and configuration parameters that are normally provided during a typical Red Hat Enterprise Linux or Oracle Enterprise Linux installation. Typically, a KickStart image is placed on a single network server and read by multiple systems for installation.

    The following requirements must be met prior to performing the RHEL or OEL PXE installation:


      You must have the following media available:

    One of the following for OEL:



        OEL4 or OEL5 CD or DVD set (internal or external CD/DVD)

      OEL4 or OEL5 ISO DVD image or KickStart image (network repository)

      One of the following for RHEL:



          RHEL4 or RHEL5 CD or DVD set (internal or external CD/DVD)

        RHEL4 or RHEL5 ISO DVD image or KickStart image (network repository)

        If you are using a KickStart image to perform the installation, you must:


          Create a KickStart file.

        Create the boot media with the KickStart file or make the KickStart file available on the network.

        Follow the KickStart installation instructions in the Red Hat Enterprise Linux 4: Administration Guide ( http://www.redhat.com/docs ).


          To use PXE to boot the installation media over the network, you must:


          Configure the network ( NFS, FTP, HTTP) server to export the installation tree.

        Configure the files on the TFTP server necessary for PXE booting.

        Configure the Sun Fire X4150, X4250, and X4450 servers MAC network port address to boot from the PXE configuration.

        Configure the Dynamic Host Configuration Protocol (DHCP).

        SUSE Linux Enterprise Server Prerequisites

        AutoYaST enables you to install the SLES operating system on multiple systems. For information about how to prepare an automated installation using AutoYaST, refer to the Novell SUSE documentation collection at:

        The following requirements must be met prior to performing the SLES installation from a PXE network book environment.


          You must have the following media available:


          SLES9-SP4 or SLES10-SP3 CD or DVD set (internal or external CD/DVD)

        SLES9-SP4 or SLES10-SP3 ISO DVD image or AutoYaST image (network repository)

        If you are using AutoYaST to perform the installation, you must:


          Create the AutoYast profile.

        Follow the AutoYaST installation instructions in the SUSE Linux Enterprise 9 or SUSE Linux Enterprise 10 documentation.


          To use PXE to boot the installation media over the network, you must:


          Configure the network (NFS, FTP, HTTP) server to export the installation tree.

        Configure the files on the TFTP server necessary for PXE booting.

        Configure the Sun Fire X4150, X4250, and X4450 servers MAC network port address to boot from the PXE configuration.

        Configure Dynamic Host Configuration Protocol (DHCP).

        To Install Linux Using PXE

        1. Ensure that the PXE network environment is properly set up and the SLES installation media is available for PXE boot.

        2. Reset the power on the server.


          From the ILOM web interface , select Remote Control —> Remote Power Control, then select the Power Cycle option from the Host action drop-down menu.

        From the local server, press the Power button (approximately 1 second) on the front panel of the server to power off the server, then press the Power button again to power on the server.

        From the ILOM CLI on the server SP, type: reset /SYS

        The BIOS screen appears.

        Note — The next events occur very quickly; therefore, focused attention is needed for these steps. Watch carefully for the messages, as they appear on the screen for a brief time.

        3. Press F8 to specify a temporary boot device.

        The Please Select Boot Device menu appears listing the available boot device.

        4. In the Boot Device menu, select the PXE installation boot device (physical port) that is configured to communicate with your network installation server.

        The network bootloader loads and a boot prompt appears. Wait for the five second time-out and the installation kernel will begin to load.

        5. Proceed with the installation as described in the OS documentation.


          Red Hat Enterprise Linux Installation Guide for the x86, Itanium, and AMD64 Architectures at http://www.redhat.com/docs/manuals/enterprise/

        SUSE Linux Enterprise Server Administration and Installation at http://www.novell.com/documentation/suse.html

        Note — When configuring a PXE installation using RHEL or OEL use the GigabitEthernet ports, Net 2 and Net 3. RHEL 4 drivers do not support ports Net 0 and Net 1.

        Installing Linux Using Remote KVMS Over IP With Virtual CD/DVD

        This method uses the RKVMS capability of the ILOM or ELOM to install the Linux OS on your server from a remote networked system. The CD/DVD drive of the remote system (virtual CD-ROM) is used to access the OS media, and all output of the server is displayed on the remote system (remote console).

        Additional information about the RKVMS can be found in the ELOM or ILOM documentation.

        Before You Begin

        Requirements for Remote KMVS (RKVMS) over IP installation include:


          Remote system connected to the network.

        One of the following browsers on the remote system: Internet Explorer, Mozilla, or Firefox.

        CD/DVD drive connected to the remote system.

        Media for installing the OS of your choice.

        SP of your server set up as instructed in the server installation guide.

        User must be logged into the remote system as root .

        To Install Linux Using Remote KVMS Over IP With Virtual CD/DVD

        1. On a remote system, open a browser, and enter the IP address of the service processor for the server on which you want to install the OS.

        The ILOM or ELOM login screen appears.

        2. At the login screen, enter the user name and password for an account with administrator privileges, and click Login.

        The web GUI main menu appears.

        3. Disable the session timeout:

        a. From the main menu, click the System Information tab, and then click the Session Time-Out submenu tab.

        The Session Time-Out screen appears.

        b. Click the Disable Timeout radio button, and then click Submit.

        4. From the main menu, click the Remote Control tab and select Redirection.

        The Screen appears with a Launch Redirection button.

        5. Click the Launch Redirection button to open a remote console window.

        A screen appears with a Launch button. It also identifies your current host name, IP address, and user name.

        7. Mount the OS CD/DVD or ISO file to be installed on the server onto the virtual CDROM.

        a. In the Devices menu, select the following:

        CD ROM if you are using a physical CD.

        CD ROM Image if you are using an ISO file.

        b. Depending on your selection, a dialog directs you to select either a CD/DVD drive, or a file.

        a. In the remote console screen, select Storage and then select Mount Devices.

        The Device Configuration screen appears.

        b. In the Storage 1 Source drop-down list, select the CD/DVD drive to be used for installing the OS.

        9. Reboot the system.

        The system will boot from the virtual CD.

        10. Proceed with the installation as described in the OS documentation.


          Red Hat Enterprise Linux Installation Guide for the x86, Itanium, and AMD64 Architectures at http://www.redhat.com/docs/manuals/enterprise/

        SUSE Linux Enterprise Server Administration and Installation at http://www.novell.com/documentation/suse.html

        A driver installation script is available on the Tools and Drivers CD. The CD is included with your server. You can also download the latest Tools and Drivers CD ISO image from one of the following locations:

        Note — The driver installation script also mounts a diagnostic partition. If a diagnostic partition is present and running, the script creates and mounts it on diagpart .

        You can use the methods described in the following sections to install system-specific drivers onto your server:

        For a system without a CD/DVD or monitor attached

        For a system that has a CD/DVD drive and monitor attached

        I nstalling the Drivers Using KVMS Over IP

        Before performing a remote installation, use the web GUI to disable the session timeout function. This allows the installation process to proceed without interruption.

        To Install the Drivers Using KVMS Over IP

        1. Mount the Tools and Drivers CD according to the instructions in Installing Linux Using Remote KVMS Over IP With Virtual CD/DVD.

        2. Change to the / mountpoint /drivers/linux/ operating_system directory.

        / mountpoint The directory where the CD is mounted.
        operating_system The type of Linux installed on the server ( red_hat or suse ).

        Note — If you have OEL installed on the server, use the drivers in the red_hat directory.

        3. Run the following command to install the drivers:

        Note — If the install.sh script detects the Sun StorageTek controller card, it automatically updates to the latest driver.

        4. Eject the CD after the driver installation is complete.

        5. Reboot the server.

        I nstalling Drivers Directly Onto the Server

        If your server has a CD/DVD drive, you can install the drivers directly onto the server, using the Tools and Drivers CD.

        To Install Drivers Directly Onto the Server

        1. Log in to the server as root (superuser).

        2. Insert the Tools and Drivers CD into the CD/DVD drive and enter:

        cd / mountpoint /drivers/linux/ operating_system

        /mountpoint is the directory to which the CD is mounted.
        operating_system is the type of Linux installed on the server ( red_hat or suse ).

Оцените статью