3.2 Setting Up an Installation Source

This section covers how to get the media you need for an installation and how to set up installation sources for installing OES:

3.2.1 Preparing a Network Installation Source

This section contains the following information:

Requirements

To set up a network installation source, you need the following:

  • A server to act as the YaST Network Installation server:

    This server can be SLES 9, SLES 10, SUSE Linux 9.3 or later, OES 1 or OES 2, Windows, or NetWare 6.5.

  • A computer to become the new OES server

Both servers need to be connected to the network and able to communicate with each other.

If you have DHCP on your network, using DHCP works well to begin the initial network installation. During the installation, you are prompted to configure your OES server with a static IP address. The static IP address is required for the configuring OES network services on your server.

If you don't have DHCP on your network, you need to do a manual installation and configure your OES server with a static IP address, subnet mask, a default gateway, and a name server. You do not need to redo this network configuration later in the installation because it is already set up. The instructions for this come later in the installation procedure. (See Installing OES 2 SP2 As a New Installation.)

Procedure

To prepare a network installation source on a NetWare server, see Section C.0, Setting Up an Installation Source on NetWare.

To prepare a network installation source on a Linux or Window server, see Setting Up the Server Holding the Installation Sources in the SLES 10 SP3 Installation and Administration Guide and the following instructions.

  1. Download or copy the ISO image files to a directory of your choice. See Getting and Preparing OES 2 Software in the OES 2 SP2: Planning and Implementation Guide.

  2. Configure your Linux server to be a YaST installation server and select the location for the root of the network installation.

    The three protocol options to choose from for configuring the YaST installation server are NFS, FTP, and HTTP. For the protocol configuration procedures, see the following:

    FTP and HTTP do not allow you to serve the files without possible modifications to .conf files. NFS is the simplest protocol to configure and is recommended.

  3. Create a boot CD using the .iso image file for SUSE Linux Enterprise Server SP3 CD 1 and label it with that name.

    For information on creating this CD, see Preparing Physical Media for a New Server Installation or an Upgrade.

    This CD will be the network installation boot CD.

With these steps completed, you are ready to perform a new installation or upgrade using a network installation source. See Installing OES 2 SP2 As a New Installation or Upgrading to OES 2 SP2.

NFS Protocol Configuration

An NFS share can be shared easily from almost any location on your file system. Use the following procedure if you choose to use this protocol:

  1. At your network installation server, launch YaST.

  2. Select Network Services, then click NFS Server.

    You might be prompted to install the NFS server.

  3. On the NFS Server configuration screen, select Start in the NFS Server section, select Open Port in Firewall in the Firewall section, then click Next.

  4. In the Directories section, click Add Directory and specify or browse to the directory where you have created the install root (source directory), then click OK.

  5. Accept the defaults in the pop-up window for adding a Host.

    If you are experienced with NFS configurations, you can customize the configuration.

  6. Click Finish.

FTP Protocol Configuration

These instructions use pure ftpd and can be installed using YaST. Depending on the FTP server you use, the configuration might be different.

If you have created your install root (source directory) within your FTP root, you can forego the following procedure and simply start pure ftpd.

The default configuration of pure ftpd runs in chroot jail, so symlinks cannot be followed. In order to allow FTP access to the install root created outside of the FTP root, you must mount the install root directory inside of the FTP root.

If you have not created your install root within your FTP root and you choose to use this protocol:

  1. Create a directory inside of your FTP root.

  2. Run the following command:

    mount --bind /path_to_install_root /path_to_directory_in_ftp_root

    For example,

    mount --bind /tmp/OES /srv/ftp/OES

  3. (Optional) If you want to make this install root permanent, add this command to the /etc/fstab file.

  4. Start pure ftpd.

HTTP Protocol Configuration

These instructions use Apache2 as provided by SLES 10.

If you choose to use this protocol:

  1. Modify the default-server.conf file of your HTTP server to allow it to follow symlinks and create directory indexes.

    The default-server.conf file is located in the /etc/apache2 directory. In the Directory tag of the default-server.conf file, remove None if it is there, add FollowSymLinks and Indexes to the Options directive, then save the changes.

  2. (Conditional) If the install root is outside of the HTTP root, create a symbolic link to the install root with the following command:

    ln -s /path_to_install_root /path_to_link

    For example,

    ln -s /tmp/OES /srv/www/htdocs/OES

  3. Restart Apache.

3.2.2 Preparing Physical Media for a New Server Installation or an Upgrade

To prepare physical media for an installation or upgrade, you must first download ISO image files and then burn the CDs or DVDs that you need for your server. Detailed download instructions are available in Getting and Preparing OES 2 Software in the OES 2 SP2: Planning and Implementation Guide.

Table 3-1 lists the image files you need, depending on whether your server has a CD drive or a CD/DVD combo drive.

Table 3-1 Files to Download

Platform

Files needed

32-bit server with CD drive

  • SLES-10-SP3-CD-i386-GM-CD1.iso

  • SLES-10-SP3-CD-i386-GM-CD2.iso

  • SLES-10-SP3-CD-i386-GM-CD3.iso

  • SLES-10-SP3-CD-i386-GM-CD4.iso

  • OES2-SP2-i386-CD1.iso

32-bit server with CD/DVD drive

  • SLES-10-SP3-DVD-i386-GM-DVD1.iso

  • OES2-SP2-i386-CD1.iso

64-bit server with CD drive

  • SLES-10-SP3-CD-x86_64-GM-CD1.iso

  • SLES-10-SP3-CD-x86_64-GM-CD2.iso

  • SLES-10-SP3-CD-x86_64-GM-CD3.iso

  • SLES-10-SP3-CD-x86_64-GM-CD4.iso

  • OES2-SP2-x86_64-CD1.iso

64-bit server with CD/DVD drive

  • SLES-10-SP3-DVD-x86_64-GM-DVD1.iso

  • OES2-SP2-x86_64-CD1.iso

32-bit server with CD drive

  • SLES-10-SP3-CD-i386-GM-CD1.iso

  • SLES-10-SP3-CD-i386-GM-CD2.iso

  • SLES-10-SP3-CD-i386-GM-CD3.iso

  • SLES-10-SP3-CD-i386-GM-CD4.iso

  • OES2-SP2-i386-CD1.iso

IMPORTANT:You can download the OES 2 CD and the SLES 10 DVD ISO files listed in Table 3-1 from the <OES 2 SP2 download page>.

The SLES 10 SP3 CD ISO files listed in Table 3-1 are only available on the <SLES 10 SP3 download page>.

  1. Download the ISO files you need for your hardware capabilities.

  2. Insert a blank, writable CD or DVD into your CD or DVD burner.

  3. Select the option to create a CD or DVD from an image file.

  4. Select ISO as the file type.

  5. Select the first image file (see Table 3-1) from the location you downloaded it to.

  6. Complete the CD or DVD creation process.

  7. Label the disk.

  8. Repeat this process for each of the ISO image files you downloaded.