Installing WebLogic Server Using Console-Mode Installation

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

 


Before You Start

Before you start the WebLogic Server installation, please review the following information:

  • Make sure you are installing the product on a certified platform. A complete list of certified platforms can be found at http://e-docs.bea.com/wls/certifications/certs_810/index.html.

  • Read Preparing to Install WebLogic Server, especially the following sections:

  • You cannot re-install WebLogic Server in the same BEA Home as an existing installation of the same version of the product. Also, you cannot re-install WebLogic Server in the same physical location (directory) as an existing installation of any version of the product. You must first uninstall WebLogic Server, as described in Uninstalling WebLogic Server, or install in another BEA Home or physical location. You can, however, install additional Weblogic Platform components, such as Server Examples, in the same location without uninstalling existing components.

  • All WebLogic Platform components installed in a BEA product directory (for example, /bea/weblogic81) must be at the same version level. If you attempt to install additional components at a higher version than those that are already installed in that directory, the installation program prompts you to upgrade your existing components before you can proceed with the installation. For example, if you installed WebLogic Server 8.1, and later attempt to install WebLogic Workshop 8.1 Service Pack 1, upgrade WebLogic Server to Service Pack 1 before you can install WebLogic Workshop. For details on upgrading your installation, see Installing WebLogic Server Service Packs and Rolling Patches.

 


Starting Console-Mode Installation on Windows Systems

To start the installation in console mode on a Windows system, follow these steps:

  1. Log in to the Windows system.

  2. Open an MS-DOS command prompt window.

  3. If you are installing WebLogic Server from CD-ROM, go to step 4. If installing WebLogic Server by downloading from the BEA Web site:

    1. Go to http://commerce.bea.com and download the WebLogic Server installation file for your platform. See Web Distribution of WebLogic Server for information about download options.

    2. Go to the directory where you downloaded the installation program and invoke the installation procedure by entering one of the following commands:

      serverXXX_win32.exe -mode=console (package installer file)

      net_platformXXX_win32.exe -mode=console (net installer file)

      where XXX is the version number of the software you are installing.

      Note: To create a verbose log file during installation, include the -log=/full_path_to_log_file option in the command line. For example:

      serverXXX_win32.exe -mode=console -log=d:\logs\weblogic_install.log

      The path must be to a file. All folders in the path must exist before you execute the command or the installation program will not create the log file. For more information, see Generating a Verbose Installation Log.

      The installation program begins to install WebLogic Server.

    3. Proceed to Running Console-Mode Installation.

  4. If installing WebLogic Server from CD-ROM:

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

    2. Open an MS-DOS command prompt window.

    3. Go to the CD-ROM directory.

    4. Invoke the installation procedure by entering the following command:
      serverXXX_win32.exe -mode=console
      

      where XXX is the version number of the software you are installing.

      Note: To create a verbose log file during installation, include the -log=/full_path_to_log_file option in the command line. For example:

      serverXXX_win32.exe -mode=console -log=d:\logs\weblogic_install.log

      The path must be to a file. All folders in the path must exist before you execute the command or the installation program will not create the log file. See Generating a Verbose Installation Log for more information.

    5. Proceed to Running Console-Mode Installation.

 


Starting Console-Mode Installation on UNIX Systems

The WebLogic Server installation program requires a Java run-time environment (JRE) to run. A JRE is bundled in the WebLogic Server installation program for some UNIX platforms (installers with filenames ending in .bin). For other UNIX platforms, the WebLogic Server installation program does not include a JRE. Filenames for these installation programs end in .jar. To run the .jar installation programs, have an appropriate version of a Java 2 SDK installed on your system, and include the bin directory of the Java 2 SDK at the front of the PATH system variable.

Note: It is important that you use an SDK because the installation process sets the JAVA_HOME and related variables to point to this directory. All scripts installed with WebLogic Server will use this SDK by default, including scripts to start sample applications, the Configuration Wizard, and other WebLogic development tools.

 

Starting Console-Mode Installation for .bin Installation Files

To start the console-mode installation process for installation files ending in .bin, follow these steps:

  1. Log in to the target UNIX system.

  2. Open a command-line shell.

  3. If you are installing WebLogic Server from CD-ROM, go to step 4. If installing WebLogic Server by downloading from the BEA Web site:

    1. Go to http://commerce.bea.com and download the WebLogic Server installation file for your platform. See Web Distribution of WebLogic Server for information about download options.

    2. Go to the directory where you downloaded the installation program and invoke the installation procedure by entering the following commands:
      chmod a+x filename.bin
      ./filename.bin -mode=console
      

      where filename.bin is the name of the WebLogic Server installation file (net installer or package installer).

      Note: To create a verbose log file during installation, include the -log=/full_path_to_log_file option in the command line. For example:

      ./serverXXX_solaris.bin -mode=console
      -log=/nfs/home1/logs/wls_install.log

      The path must be to a file. All folders in the path must exist before you execute the command or the installation program will not create the log file.

    3. Proceed to Running Console-Mode Installation.

  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, and navigate to the folder for the installation program for your hardware platform.

    3. Invoke the installation procedure by entering the following command:
      ./filename.bin -mode=console
      

      where filename.bin is the name of the WebLogic Server installation program specific to your platform.

      Note: To create a verbose log file during installation, include the -log=/full_path_to_log_file option in the command line. For example:

      ./serverXXX_solaris.bin -mode=console
      -log=/nfs/home1/logs/wls_install.log

      The path must be to a file. All folders in the path must exist before you execute the command or the installation program will not create the log file.

    4. Proceed to Running Console-Mode Installation.

 

Starting Console-Mode Installation for .jar Installation Files

To start the console-mode installation process for installation files ending in .jar, follow these steps.

Note: If you are installing WebLogic Server on a hardware platform other than Windows, Solaris, HP-UX, or IBM AIX, there may be special installation instructions that apply to your hardware platform. Check your hardware platform listing on the Supported Configurations page before you run the installation program.

  1. Log in to the target UNIX system.

  2. Open a command-line shell.

  3. Include the bin directory of an appropriate Java 2 SDK at the beginning of the PATH system variable on the target system. For example:
    PATH=$JAVA_HOME/bin:$PATH
    
    
    
    export PATH

    Where JAVA_HOME is the full path to the Java 2 SDK directory.

  4. Do one of the following:

  5. Go to the directory that contains the installation file and invoke the installation procedure with the following command:

    java -jar filename.jar -mode=console

    Where filename.jar is the name of the WebLogic Server installation file, for example pj_serverXXX_generic.jar. Filenames for the net installer are preceded by net_, for example, net_pj_platformXXX_generic.jar.

    Note: To create a verbose log file during installation, include the -log=/full_path_to_log_file option in the command line. For example:

    java -jar filename.jar -mode=console
    -log=/nfs/home1/logs/wls_install.log

    The path must be to a file. All folders in the path must exist before you execute the command or the installation program will not create the log file.

  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 exit or x in response to any prompt. To review or change your selection, enter previous or p at the prompt. To proceed to the following window, enter next or n. Note that the sample console text and directory pathnames in this section use UNIX conventions (forward slashes) in pathnames, for example, /home1/bea/weblogicXXX. When entering pathnames on a Windows system, use the Windows convention (backslashes) for pathnames, for example C:\bea\weblogicXXX.

The following procedure steps you through the installation program. Use this procedure after you have started the installation program in console mode as described in the previous sections.

  1. At the Welcome prompt, type next or press Enter to continue with the installation process.

    The License Agreement prompt is displayed.

  2. Read the BEA Software License Agreement and indicate your acceptance or rejection of the terms of the agreement by typing yes or no, respectively, at the prompt. To review the entire agreement, press Enter or type more several times. If you type no, the installation process terminates. To proceed with the installation, type yes to indicate your agreement with the terms of the license.

    The Choose BEA Home directory prompt is displayed.

  3. Specify the BEA Home directory that will serve as the central support directory for all BEA products installed on the target system. For details about the BEA Home directory, see BEA Home Directory.

    The installation program displays the following prompt:

    Choose BEA Home Directory:
        "BEA Home" = [/nfs/home/bea]
    Input new BEA Home OR [Exit][Previous][Next]>
    

    Do one of the following:

    • To accept the default BEA Home directory, type next or press Enter.

    • To specify a different location for the BEA Home directory, at the prompt, enter the full path to the directory, for example /home/beahome. If you specify a directory that does not exist, the installation program creates it for you.

    Whether you accept the default BEA Home directory or specify a different directory, you are prompted to confirm your selection, as shown in the following sample:

    Choose BEA Home Directory:
    
     ->1¦ Yes, Use this BEA home directory [/home/bea]
    
       2¦ No, return to BEA home directory selection
    
    Enter index number to select OR [Exit][Previous][Next]>
    

    On the command line, type 1 or press Enter to accept your selection. Otherwise, type 2 to return to the Choose BEA Home Directory panel where you can modify your entry.

    After you have selected your BEA Home directory and confirmed your selection, the Choose Install Type prompt is displayed.

  4. Specify the type of installation you want to perform by entering the number associated with the install type, as shown in the following text:
    Choose Install Type:
    
     ->1¦Complete Installation
    
      ¦Install the complete BEA WebLogic Platform.
    
       2¦Custom Installation
    
      ¦Choose software components to install and optionally create custom
    
      ¦application domains. Recommended for advanced users.
    
    Enter index number to select OR [Exit][Previous][Next]> 2
    

    Do one of the following:

    • Type 1 or press Enter to choose a Complete installation.

      In a complete installation, all software components provided with WebLogic Server, including sample files, are installed on your system. Sample domains are preconfigured for use with the PointBase database during installation allowing you to execute the samples when the installation is complete.

      If you are installing from CD-ROM or using the package installer, the Choose Product Directory prompt is displayed. Go to step 7.

      If you are using the net installer, the Specify Download Options prompt is displayed. Go to step 6.

    • Type 2 to choose a Custom installation. In a custom installation, you can select the software components you want to install and optionally install the Weblogic Server Node Manager as a Windows service (Windows only).

      The Choose Components prompt is displayed.

    For more information about complete and custom installations, see Choosing the Type of Installation.

  5. (Custom installation only) Select the components you want to install. The available components are displayed as follows:
    Choose Components to install:
    
        Release 8.1.1.0
    
      +----WebLogic Server [0] x
      ¦    +----Server [0.0] x
      ¦    +----Server Examples [0.1] x
      +----WebLogic Workshop [1] x
           +----Workshop Runtime Framework [1.0] x
           +----WebLogic Workshop Application Developer Edition [1.1] x
           +----Workshop Samples [1.2] x
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
    

    By default, all components are selected as indicated by the x at the end of each line. To deselect a component, type the numeric code for the component on the command line exactly as it appears within the brackets. For example, if you do not want to install the Server Examples for WebLogic Server, type 0.1 on the command line.

    The word Installed is shown in brackets for any components you have already installed on your system.

    Note: WebLogic Workshop is only available on Windows platforms. If you are installing on a UNIX or Linux platform, the list of components to install will not include WebLogic Workshop.

    When you are finished selecting components, press Enter or type next. You are prompted to confirm your selection. On the command line, type 1 or press Enter to accept your selection. Otherwise, type 2 to return to the Choose Components panel where you can modify your selections.

    Note: When you select or deselect components to install, the installation program checks for dependencies between components and automatically modifies the list of selected components.

    If you are installing from CD-ROM or using the package installer, the Choose Product Directory prompt is displayed. Go to step 7.

    If you are using the net installer (installation program filenames beginning with net_), the Specify Download Options prompt is displayed.

  6. (Net installer only) Indicate your preferences for downloading the software. The installation program presents the following options:
    SPECIFY DOWNLOAD OPTIONS
    
    1- Modify Storage directory  (none)
    2- Modify Remove download files after installation (No)
    3- Modify Proxy Host (none)
    4- Modify Proxy Port (none)
    Enter a number or [Exit][Previous][Next]>          
    

    You must specify a storage directory to store the archive files that the installation program downloads (see Web Distribution of WebLogic Server for more information about how the storage directory is used). If you have previously installed WebLogic Server and specified a storage directory during the installation process, the full pathname for that directory is displayed as the default.

    To specify a storage directory or modify any of the other options, do the following:

    • Type 1 to specify a storage directory to which you want to download the software components. When prompted, type the full pathname for the desired directory.

    • Type 2 if you want the installer to delete the downloaded files after the installation is complete. If you accept the default for this option (No), the downloaded files are saved to the storage directory you specified.

    • Indicate if you want to use an HTTP proxy server for the download by providing values for the Modify Host and Modify Port options as follows:

      Type 3 to specify a host. At the prompt, enter the name or IP address of the proxy server.

      Type 4 to specify a port. At the prompt, enter the port number of the proxy server.

    For additional information about downloading the software, see Web Distribution of WebLogic Server.

    After you have indicated your preferences, the files begin downloading to the storage directory you specified. When the download is complete, the installation program verifies that the component archive files downloaded successfully. When the verification is complete, the Choose Product Directory prompt is displayed.

  7. Specify the directory in which you want to install the WebLogic Server software. Select the default product directory (bea_home/weblogicXX) or specify a different product directory. If you specify a new directory, the installation program automatically creates the directory for you.

    The choices displayed in this section are as follows:

    Choose Product Directory:
    
        Product Installation Directory = [/homes/bea/weblogicXX]
    
    Input new Product Installation Directory OR [Exit][Previous][Next]>
    

    Do one of the following:

    • Press Enter or type next to accept the default product directory.

    • Enter the full path to the directory in which you want to install WebLogic Server software.

      When you press Enter, the pathname you entered is displayed as the product directory. Press Enter or type next. The following text is displayed:

      Choose Product Directory:
      
       ->1| Yes, use this product directory [/home3/weblogicXX]
         2| No, select another product directory
      
      Enter index numbers to select OR [Exit][Previous][Next]>
      

      Verify that your entry is correct, then type 1 or press Enter to proceed with the installation. Otherwise, type 2 to return to the Choose Product Directory panel where you can modify your entry.

  8. (Custom installation only) If you are installing on a Windows platform and you have not previously installed a Node Manager as a Windows service, the Install Node Manager as a Windows Service panel is displayed. The Node Manager is used to monitor and start and stop managed servers in a domain.

    The following text is displayed:

    Install Node Manager as a Windows Service
    
    ->1 - Yes, install now.
    
      2 - No, do not install now. See product documentation for 
          post-install registration of Node Manager as a Windows
          Service.
    
    Enter a number or [Exit][Previous][Next]>
    

    Enter 1 or press Enter to install the Node Manager as a Windows Service. See Installing the Node Manager as a Windows Service for more information. Enter 2 if you do not want to install the Node Manager as a Windows service.

    At this point, the installation program installs the files to the directory you specified.

    Note: It is normal for the installation program to stop for a fairly long time, especially at the end. The installation program is still working when this occurs.

  9. If you are installing on a Windows platform, when the WebLogic Server installation is complete, you are prompted to install XML Spy, as shown in the following text:
    Would you like to install XML Spy?
    
    ->1 - Install XML Spy
      2 - Continue
    Enter a number or [Exit][Previous][Next]>
    

    Do one of the following:

    • To install XML Spy, press Enter or type 1. The graphical-mode XML Spy installation wizard is launched. For more information, see Installing XML Spy.

    • To exit the installation program, type 2.

 


What's Next?

To learn more about WebLogic Server, see the About WebLogic Server page (about_wls.html). This page summarizes new features in the current version of WebLogic Server and provides pointers to useful related information. You can access this file from WebLogic QuickStart (click Read more about WebLogic Server) or directly in the following location: WL_HOME\server\about_wls.html, where WL_HOME represents the installation directory for the WebLogic Server software.

Skip navigation bar  Back to Top Previous Next