Java Desktop System Release 3 Installation Guide

Chapter 2 Installing the Java Desktop System on Linux Systems

This chapter describes the installation procedure for installing the Java Desktop System Release 3 on Linux systems.

Installing From CD

This section describes how to install the Java Desktop System using the CDs included with your Java Desktop System installation package.

Perform the following steps:

  1. Insert CD 1 into the CD drive.

    The system starts to boot and displays the following list of options:

    • Boot from Hard Disk

    • Installation

    • Installation — ACPI Disabled

    • Installation — Safe Settings

    • Manual Installation

    • Rescue System

    • Memory Test

  2. To perform a new installation of the Java Desktop System, use the arrow keys to highlight the Installation option, then press Enter.

  3. The Configurator presents a Software License Agreement dialog. Click on I Agree to continue with the installation. You cannot continue with the installation if you do not click on I Agree.

  4. From the Select your language dialog, use the arrow keys to highlight the language that you want, then click on Accept.

  5. The Configurator analyzes your system. If Linux is not installed on your system, the Configurator displays the installation settings of your hardware, as shown in the example in Step 7.

    However, if the Configurator detects that Linux is installed on your system, you are presented with the following options:

    • New installation

      Select this option if Linux is not installed on your system or if you want to replace an installed version of Linux.

    • Update an existing system

      Select this option if you want to upgrade an installed version of Linux. This option preserves configuration settings from your existing system whenever possible. However, your panel configuaration is not preserved. You must manually configure the default panel configuration if you want to revert to your previous panel configuration.


      Note –

      Java Desktop System Release 3 on Linux systems supports Install Update for previous releases of the Java Desktop System. If you are installing Java Desktop System Release 3 on Linux systems from previous releases of Java Desktop System, you must use the Java Desktop System Release 3 installer to update your system. Java Desktop System Release 3 contains the 2.6 Linux kernel. Any additional kernel modules that you installed on previous releases of Java Desktop System are lost during the update. You must re-install the additional kernel modules after updating to Java Desktop System Release 3.


    • Repair installed system

      Select this option if you have an installed version of Linux that you want to repair.

    • Boot installed system

      Select this option if you have an installed version of Linux that you cannot reboot. You can use this option to try to fix the reboot problem manually.

    • Abort Installation

      Select this option if you want to abort the installation.

  6. Select New installation and click OK.

  7. Next, you are presented with the Installation settings for your system.

    For example:

    • System — Processor: Pentium 111 (Katmai)

    • Mode — New Installation

    • Keyboard Layout — English US

    • Mouse — PS/2 Mouse (Aux-port)

    • Partitioning — Format partition /dev/hda6 9.3 GB with reiser and Format partition /dev/hda5 196 MB for swap

      If you click on Partitioning to modify the default settings, the Configurator checks your hard disk and displays the following options:

      • Accept proposal as-is

      • Base partition setup on this proposal

      • Create custom partition setup

      Select Accept Proposal as is and click on Next.


      Note –

      If you want to create a dual boot system, partitioning is an essential part of the installation procedure. Please see Guidelines for Partitioning for more information.


    • Software

      • Default system with StarOffice

      If you click on Software, the Configurator displays the following software options:

      Default system with StarOffice

      Default system with StarSuite

      Select the appropriate option and click on Accept.


      Note –

      The Configurator supports grouping software packages together in Selections. If you want to install additional software packages, click on Detailed selection to display a package manager dialog. For example, if you want to install NetBeans, do the following:

      • From the package manager dialog, select Package Groups from the Filter drop-down list.

      • Select Applications in the package tree.

      • Select the following packages in the right pane:

        • sun-netbans-ide
        • sun-netbans-ide4-modules
        • sun-netbeans-mobility
        • sun-netbeans-platform4

      • Click on Accept.

      For more information about Net Beans, see http://www.netbeans.org/kb/index.html.


    • Booting — Boot loader type: GRUB

      If you click on Booting, the Configurator displays the Boot Loader Setup dialog from where you can edit boot loader configuration manually.

      Accept the booting option proposed by the configurator.

    • Time Zone — For example, Europe/Ireland

    • Language — For example, English (US)

    • Default Runlevel — For example, 5: Full multiuser with network and xdn


    Note –

    You have the following courses of action available at this stage in the installation procedure:

    • Click on Accept to continue with the installation.

    • Click on Change to modify the installation settings before you proceed with the installation.

    • Click on Abort Installation to abort the installation.


  8. Click on Accept to continue with the installation.

  9. Click on Yes, install to commit the installation and all the choices made so far.

    A message informs you that the Configurator is preparing your hard disk. When the installation begins, a screen is displayed with the following panes:

    • Current Package

      Displays the name, description and size of the installation package and a status bar showing percentage completion of the installation.

    • Installation

      Displays the status of the percentage download completed from the CD and the estimated time remaining to complete the download.

    • Installation Log (Extract)

      Displays a log of activity for all the packages currently being installed on your system. When the packages from CD 1 are installed, a dialog requests you to insert CD 2.

  10. Insert CD 2 and click OK.

    When the packages from CD 2 are installed, a dialog requests you to insert CD 3.

  11. Insert CD 3 and click OK.

    When the packages from CD 3 are installed, a dialog requests you to insert CD 4.

  12. Insert CD 4 and click OK.

    When the packages from CD 4 are installed, a dialog requests you to insert CD 5.

  13. Insert CD 5 and click OK.

    When all the packages from CD 5 are successfully installed, the Configurator prompts you to enter a password for the root user.

  14. Enter a password for the root user.

  15. Reenter the password for verification and click on Next.


    Note –

    Make a note of the root password for future references. You only need to log in as root for system administration purposes.


  16. The Configurator displays the Network Configuration for the following hardware devices:

    • Network Interfaces

    • DSL Connections

    • ISDN Adapters

    • Modems

    • Proxy

    • VNC Remote Administration

  17. You can choose to skip or accept the network configuration. To change any of the Network Configuration settings, click on Change. Click on Next to accept the settings.

  18. The Configurator displays the User Authentication Method dialog.

    Select from one of the following authentication methods and click on Next to continue:

    • NIS

    • LDAP

    • Local (/etc/passwd)

    The Configurator displays the Add a New Local User dialog.

  19. Enter the Full User Name, User Login, and Password for the user you want to add and click on Next. A new user account is created with the details you enter.

  20. The Configurator displays the location for the Java Desktop System Release Notes. Click on Next to continue.

  21. The Configurator displays the Hardware Configuration as follows.

    • Graphics Card

    • Printers

    • Sound

    Select from one of the following and click on Next:

    • Skip Configuration

    • Use Following Configuration

    A message is displayed informing you that the installation is complete.

  22. Click on the Finish button to display the Sun Java Desktop System Registration.

  23. Eject CD 5.

  24. At the login screen, log in with the username and password that you set up for the new user.

You can now use the Java Desktop System.

Refer to the Java Desktop System Release 3 User Guide for help to get you started using the Java Desktop System.

Updating an Existing System From CD

If the Configurator detects that Linux is installed on your system, you are presented with the following options:

If you want to upgrade an installed version of Linux, perform the following steps:

  1. Select Update an existing system

    This option preserves configuration settings from your existing system whenever possible.

  2. Select Create a backup if you want to make a backup of your existing system.

  3. Click Next.

  4. You are prompted to choose the type of upgrade you require.

  5. Follow the online instructions to complete the update of your existing system as described in Installing From CD.

Installing From the Network

You can perform a network installation of your Java Desktop System on Linux platforms. Ensure you have access to an NFS shared directory that has approximately 3GB of free space.

Setting up a Network Installation Image

The following sample procedure describes how to set up an installation image for the Java Desktop System on Linux installation via a Network File System (NFS).

  1. Log in as the root user and copy the CDs into a special directory structure. Go to a directory of your choice and execute the following commands in steps 2 to 15:

  2. mkdir -p installroot/sles9/CD1

    Copy the contents of JDS CD1 into this directory.

  3. mkdir -p installroot/core9/CD1

    Copy the contents of JDS CD2 into this directory.

  4. mkdir -p installroot/core9/CD2

    Copy the contents of JDS CD3 into this directory.

  5. mkdir -p installroot/core9/CD3

    Copy the contents of JDS CD4 into this directory.

  6. mkdir -p installroot/core9/CD4

    Copy the contents of JDS CD5 into this directory.

  7. ln -s sles9/CD1/boot boot

  8. ln -s sles9/CD1/content content

  9. ln -s sles9/CD1/control.xml control.xml

  10. ln -s sles9/CD1/media.1 media.1

  11. mkdir -p installroot/yast

  12. echo "/sles9/CD1 /sles9/CD1" > yast/instorder

  13. echo "/core9/CD1 /core9/CD1" >> yast/instorder

  14. echo "/sles9/CD1 /sles9/CD1" > yast/order

  15. echo "/core9/CD1 /core9/CD1" >> yast/order

Setting up a MS Windows System as an Installation Server

To set up a MS windows system as an installation server, perform the following steps:

  1. Go to the directory dosutils/install.

  2. Copy the instorder file to \suseinstall\yast.

  3. Replace the UserAccount, PASSword, and IP-Number variables with the respective values of your MS windows machine.

  4. Copy the order file to \suseinstall\yast.

  5. Run the install.bat script to create the structure and to prompt you for the CDs.


    Note –

    During the installation process you need only to specify the share suseinstall.


Before You Begin a Network Installation

Before you begin installing the Java Desktop System from the network, you need to have the following:

Boot Disk Locations

The boot disks are available from the following locations:

The boot disk subfolders are named as follows:

Use the following command to make other disks, if required:

dd if=/export/suseimage/boot/bootdisk of=/dev/fd0


Note –

You may need additional disks depending on your hardware, for example, SCSI controllers and USB drives.


Network File System Installation Procedure

The following procedure describes how to perform a NFS installation on Linux systems.

  1. Insert JDS CD1 in your drive.

    The system starts to boot.

  2. From the JDS CD1 boot screen, press the F3 button.

  3. Select NFS.

  4. Enter the following information:

    The IP address of the install server

    The location of the install image

  5. Press Return.

  6. Select Installation, then press Return.

  7. Follow the remaining online installation instructions to complete the Java Desktop System network installation procedures. For more information, see Installing From CD.

Guidelines for Partitioning

The following table contains recommended guidelines for partitioning your disk:

Table 2–1 Guidelines for Partitioning

Partition 

Size 

Type 

Notes 

6 GB, 4 GB minimum 

Primary 

Install the entire Java Desktop System operating system onto a single partition. This method provides sufficient space for you to install a later releases of the Java Desktop System without the need to repartition the disk.

swap 

Double the size of RAM 256 MB minimum 

swap 

You can increase or reduce the size of the swap partition as necessary. 

Resizing Your Partition

The Configurator presents the following options when resizing your partition:

Perform the following steps to resize a partition:

  1. From the Installation Settings dialog, select Partitioning, select Base partition setup on this proposal option, then click on Next.

  2. Highlight the partition that you want to resize, then click on Resize.

  3. Use the slider to set how much space you want to allocate to your Windows partition and your Linux partition, then click OK.


    Note –

    The minimum allocation of space for Linux is 3024 MB.


  4. Click on Next to save the partition table and return to the Installation Settings dialog.

Creating a Custom Partition Table

If the partition recommended by the Configurator is unsuitable for the Java Desktop System installation, you might need to create a custom partition table.

Perform the following steps to create a custom partition table:

  1. Back up any files you want to keep. This procedure overwrites your existing Windows partition.

  2. From the Installation Settings dialog, select Partitioning, select Create custom partition option, then click Next.

  3. Select Custom partitioning, for experts option, then click Next to display the Expert Partitioner dialog.

  4. Select the device that refers to the disk where you want to install the application, for example /dev/hda, then click Delete to erase all partitions on that disk.

  5. Click Create to create a new partition and select the Primary option.

  6. In the popup window, set the Start Cylinder size to 0, set the End Cylinder size to + 5 GB and set the Mount Point to / .

  7. Click Create to create a new partition and select the Extended option.

    The popup window must contain all the correct settings. For example, the Start Cylinder value must be one more than the End Cylinder value of hda1 and the End Cylinder value can be the same as the End Cylinder value for /dev/hda.

    Creating an extended partition that covers the remainder of the disk forces all other partitions to be created within that extended partition.

  8. Click Create to create a new partition.

  9. Select Swap from the menu beneath the Format option.

  10. Specify the size of the swap partition using the + syntax in the End field. For example, if your system has 256 MB RAM, you would have 512 MB of swap memory, which is expressed as + 512 MB.

  11. Click Create to create a new partition. A new partition to occupy the remainder of the disk is configured. Set the Mount Point to /usr.

  12. Click Next to save the partition table and return to the Installation Settings dialog.