BEA Home | Events | Solutions | Partners | Products | Services | Download | Developer Center | WebSUPPORT
| WebLogic Server Doc Home | Installation | Previous Topic | Next Topic | Contents | Index | View as PDF

Installing WebLogic Server on UNIX Systems Using Console-Mode Installation

The following sections describe how to install WebLogic Server using console-mode installation:

- What Is Console-Mode Installation?

- Before You Start

- Starting Console-Mode Installation

- Running Console-Mode Installation

- What's Next?

What Is Console-Mode Installation?

Console-mode installation is the text-based method of executing the BEA Installation program. It can be run only on UNIX systems and is intended for UNIX systems with non-graphics consoles.

The following sections focus on using console-mode installation to install the WebLogic Server base product. Base product, as used here, implies a full installation of WebLogic Server, which includes the installation of the Java Development Kit (JDK). A WebLogic Server base product may or may not have Service Packs already applied.

Note: In a future release of WebLogic Server, the default mode of installation for UNIX systems will be console-mode installation. "Default" means that entering the installation command without any additional command line parameters (such as -i console) will result in console-mode installation.

Before You Start

As of WebLogic Server version 6.1, you cannot install WebLogic Server on top of a previously installed WebLogic Server 6.0 or 6.1 installation. You must first uninstall the WebLogic Server installation, as described in Uninstalling WebLogic Server.

Starting Console-Mode Installation

A WebLogic Server 6.1 installer for a UNIX platform takes one of two forms:

- A Java installer wrapped in a shell script bundled with JDK 1.3.1 and with a filename ending in .bin

- A pure Java installer having no JDK with a filename ending in .zip

This section presents installation procedures for both types of installers.

Starting Console-Mode Installation for filename.bin Installers

To start the console-mode installation process for filename.bin installers, follow these steps:

1. Log in to the target UNIX system.

2. Open a command-line shell.

3. If installing WebLogic Server by downloading from the BEA Web site:

   1. Go to http://commerce.beasys.com/downloads/weblogic_server.jsp and download the WebLogic Server installer that is specific to your platform.

   2. Go to the directory where you downloaded the installer and invoke the installation procedure by entering the following command:

      >     sh filename.bin -i console

      where filename is the name of the WebLogic Server installer.

      Note: You must have write permission in the directory where you launch the installer.

4. If installing WebLogic Server from the CD-ROM:

   1. Insert the WebLogic Server CD-ROM into the CD-ROM drive.

   2. Go to the CD-ROM directory.

   3. Invoke the installation procedure by entering the following command:

      >     sh filename.bin -i console

      where filename is the name of the WebLogic Server installer specific to your platform.

5. Proceed to Running Console-Mode Installation.

Starting Console-Mode Installation for filename.zip Installers

To start the console-mode installation process for filename.zip installers, follow these steps:

1. Log in to the target UNIX system.

2. Open a command-line shell.

3. Include the bin directory of JDK 1.3 (or higher) at the front of the PATH variable on the target system. For example:

   >     PATH=full_path_to_jdk131/bin:$PATH
   >     export PATH

   Replace full_path_to_jdk131 with the full pathname to the JDK 1.3.1 directory.

4. If installing WebLogic Server by downloading from the BEA Web site:

   1. Go to http://commerce.beasys.com/downloads/weblogic_server.jsp and download the WebLogic Server installer that is specific to your platform.

   2. Go to the directory where you downloaded the installer and invoke the installation procedure by entering the following command:

      >     java -cp filename.zip install -i console

      where filename is the name of the WebLogic Server installer.

5. If installing WebLogic Server from the CD-ROM:

   1. Insert the WebLogic Server CD-ROM into the CD-ROM drive.

   2. Go to the CD-ROM directory.

   3. Invoke the installation procedure by entering the following command:

      >     java -cp filename.zip install -i console

      where filename is the name of the WebLogic Server installer specific to your platform.

      Note: You must have write permission in the directory where you launch the installer.

6. Proceed to Running Console-Mode Installation.

Running Console-Mode Installation

To complete the console-mode installation process, respond to the prompts in each section by entering the number associated with your choice or by pressing Enter to accept the default. To exit the installation process, enter quit in response to any prompt. To review or change your selection, enter back at the prompt.

In this section . . . | Perform the following action . . .
--- | ---
> Choose Locale | Choose the language in which to display text during the installation by entering the number associated with that language.
>     =================================
>     Choose Locale...
>         1- Deutsch
>       ->2- English
>         3- Español
>         4- Français

>     CHOOSE LOCALE BY NUMBER:
>     =================================
For example, if you want text to be displayed in Spanish, enter 3 at the CHOOSE LOCALE BY NUMBER prompt. The default is English.
Introduction | Press Enter to continue with the installation process.
> License Agreement | Read the BEA Software License Agreement and indicate your acceptance or rejection of the terms of the agreement by entering Y or N, respectively, at the prompt. To review the entire agreement, you must press Enter several times. To proceed with the installation, you must enter Y to indicate your agreement with the terms of the license. If you enter N, the following warning appears:
>     Warning:
>     If you do not accept the licensing terms you will not be
>     allowed to continue with the install.

>     DO YOU AGREE WITH THE TERMS OF THE LICENSE? (Y/N):
If you enter N, the installation process terminates.
> Choose Install Set | Select the software you want to have installed on the target system. The following choices are displayed:
>     ====================================================
>     Choose Install Set
>     ------------------
>     Please Choose the Install Set to be installed by this
>     installer.
>       ->1- Server and Examples
>             2- Server Only
>     ENTER THE NUMBER FOR THE INSTALL SET, OR <ENTER> TO
>     ACCEPT THE DEFAULT:
>     ====================================================
Enter 1 to install the program files and the example files. Enter 2 to install only the program files. At the prompt, enter the number that indicates the files that you want to install. For a basic description of program files and examples files, see WebLogic Server Software Components.
> Choose BEA Home Directory | Specify the BEA Home directory that will serve as the central support directory for all BEA products installed on the target system. If you already have a BEA Home directory on your system, you can select that directory (recommended) or create a new BEA Home directory. If you choose to create a new directory, the WebLogic Server installer program automatically creates the directory for you. For details about the BEA Home directory, see BEA Home Directory. Enter 1 to create a new BEA Home directory or, if you already have a BEA Home directory on your system, enter 2 to select an existing BEA Home directory. Be sure to use the full pathname when specifying a new BEA Home directory. For example:
>     ====================================================
>     Choose BEA Home Directory
>     -------------------------
>            1- Create a New BEA Home
>            2- Use Existing BEA Home
>     Enter a number: 2
>            1- /home3/bea
>            2- /home2/beahome
>     Existing BEA Home: 1
>     ====================================================
>     Choose BEA Home Directory
>     -------------------------
In this example, you enter 2 to display the BEA Home directories that have already been created on this system. At the Existing BEA Home: prompt, you enter 1 to specify /home3/bea as the BEA Home directory for this installation. Make sure that you enter the number associated with the BEA Home directory instead of the directory name.
> Choose Product Directory | Specify the directory in which you want to install the WebLogic Server software. Select the default product directory (wlserver6.1) or create a new product directory. If you choose to create a new directory, the installer program automatically creates the directory for you. The initial default installs the product directory under the BEA Home directory you specified in the previous section. To accept this default, enter 2 at the prompt. The choices displayed in this section are as follows:
>     ===================================================
>     Choose Product Directory
>     ------------------------
>         1- Modify Current Selection (/home3/bea/wlserver6.1)
>         2- Use Current Selection (/home3/bea/wlserver6.1)
>     Enter a number:
>     ===================================================
Enter 1 to select an alternate directory. The following text appears: Specify Product Installation Directory: Specify a product directory using its full pathname. For example: /home3/weblogicserver6.1. When you press Enter, your modified selection appears as the default. 1- Modify Current Selection (/home3/weblogicserver6.1) 2- Use Current Selection (/home3/weblogicserver6.1) Enter 2 to accept the current selection. If you enter 2 at the initial prompt, you accept the default product directory (/home3/bea/wlserver6.1 in this example).
> Default Server Configuration | Define the configuration for the WebLogic Server default server by entering one of the following numbers: Enter 5 to accept the default values (shown in parentheses) for each entry. Enter 1 through 4 to modify the value of an individual entry. Note: If you are reinstalling WebLogic Server after changing these defaults in your previous configuration, the default values displayed in this section reflect your modifications. The installation program displays the following menu of choices.
>     =========================================
>     Default Server Configuration
>     -----------------------------------

>        1- Modify WebLogic Admin Domain Name (mydomain)
>        2- Modify Server Name (myserver)
>        3- Modify Listen Port (7001)
>        4- Modify Secure (SSL) Listen Port (7002)
>        5- Done Configuration

>     Enter a number:
>     =========================================
Enter 1 to modify the administrative domain name. Then enter the domain name of your choice at the WebLogic Admin Domain Name prompt. The initial default is mydomain. A domain is the unit of administration for a WebLogic Server installation. A WebLogic domain may consist of one or more WebLogic Servers. For additional information about WebLogic domains, see "Overview of WebLogic Server Management" in the Administration Guide. Enter 2 to modify the server name. Then enter a server name of your choice at the Server Name prompt. The initial default is myserver. Enter 3 to modify the Listen Port number. The Listen Port is a dedicated TCP/IP port at which the default server listens for connections. Enter the port number of your choice at the Listen Port prompt. The initial default is 7001. Enter 4 to modify the secure listen port number. The secure listen port number is used for secure Web connections based on the secure sockets layer (SSL) protocol. Enter the port number of your choice at the Secure (SSL) Listen Port prompt. The initial default is 7002. Enter 5 at the Enter a number: prompt when you have completed your server configuration.
Create System Password | Enter a password that contains at least 8 characters but no more than 20 characters. Press Enter to proceed to the next section. You are prompted to enter this password to start the WebLogic Server default server, examples server, and Pet Store server. You are prompted for the username system and this password to access the WebLogic Server Administration Console from a Web browser. The installer program creates the system account (username system having the password you specify here) during the installation.
Installing . . . | No user input is required here. The installer program is installing WebLogic Server in the user-specified product directory. Note: It is normal for the installation progress bar to stop for a fairly long time, especially at the end. The installer is still working when this occurs.
Install Complete | Press Enter to exit the installer program.

Congratulations! Your installation of the BEA WebLogic Server software is complete!

What's Next?

To learn more about WebLogic Server 6.1, view the following files:

- ABOUT_WLS.HTML

  Summarizes new features in this version of WebLogic Server and provides pointers to useful related information. Access the ABOUT_WLS.HTML file at wls_6.1_prod_dir/ABOUT_WLS.HTML, where wls_6.1_prod_dir represents the product directory in which you installed the WebLogic Server software.

- README.TXT

  A text-only version of the ABOUT_WLS.HTML file. Access the README.TXT file at wls_6.1_prod_dir/README.TXT, where wls_6.1_prod_dir represents the product directory in which you installed the WebLogic Server software.

To verify that your software is installed correctly, and to start the default server and console, see Performing Post-Installation Tasks.

Copyright © 2001 BEA Systems, Inc. All rights reserved. Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.