e-docs > WebLogic Server > Installation Guide > Installing WebLogic Server Using Console-Mode Installation |
Installation Guide |
Installing WebLogic Server Using Console-Mode Installation
The following sections describe how to install WebLogic Server using console-mode installation:
Before you start the WebLogic Server installation, please review the following information:
Starting Console-Mode Installation on Windows Systems
To start the installation in console mode on a Windows system, follow these steps:
serverXXX_win32.exe -mode=console (package installer file—WebLogic Server, WebLogic Workshop, and related samples)
net_platformXXX_win32.exe -mode=console (net installer file—WebLogic Platform)
where XXX is the version number of the software you are installing.
Note: By default, the net installer installs all or part of the WebLogic Platform, which includes WebLogic Server with WebLogic Workshop. See Web Distribution of WebLogic Server for more details.
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 -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.
serverXXX_win32 -mode=console
Starting Console-Mode Installation on UNIX Systems
The WebLogic Server installation program requires a Java run-time environment (JRE) to run. A Java 2 Software Development Kit (SDK), which includes a JRE, is bundled in the Windows installation program and in some UNIX installation programs (those with filenames ending in .bin). For other UNIX platforms, the WebLogic Server installation program does not include the Java 2 SDK in the installation program. Filenames for these installation programs end in .jar. To run the .jar installation programs, you must have the appropriate version of the Java 2 SDK installed on your system, and include the bin directory of the Java 2 SDK at the front of the PATH variable. It is important that you use an SDK because the installation process sets the JAVA_HOME and related variables to point to this directory.
Starting Console-Mode Installation for .bin Installation Files
To start the console-mode installation process for installation files ending in .bin, follow these steps:
chmod a+x filename.bin
./filename.bin -mode=console
./filename.bin -mode=console
where filename.bin is the name of the WebLogic Server installation program specific to your platform.
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.
PATH=$JAVA_HOME/bin:$PATH
export PATH
For each command, 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_platform700_generic.jar.
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 in response to any prompt. To review or change your selection, enter previous at the prompt.
Note: The sample console text and directory pathnames in this section use UNIX conventions (forward slashes) in pathnames, for example, /home1/bea/weblogic700. When entering pathnames on a Windows system, use the Windows convention (backslashes) for pathnames, for example C:\bea\weblogic700.
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.
The installation program displays the following prompt:
Choose BEA Home Directory:
Select Option:
1 - Create a new BEA Home
2 - Use an existing BEA Home [/home/bea]
Enter index number to select OR [Exit][Previous][Next]>
Whether you accept the existing BEA Home directory or choose to create a new BEA Home directory, you are prompted to confirm your selection, as shown in the following sample:
<-------- BEA Installer - WebLogic Platform 7.0.0.1 ----->
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.
Choose Install Type:
->1| Typical Installation (Install all software
components, including program files and examples.)
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]>
In a typical 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.
Note: When you choose the typical installation option, the Configuration Wizard is not invoked automatically as part of the installation. However, you can launch it manually after the installation is complete from the Start menu or with a command line script. See Configuring Domains, Servers, and Clusters with the Configuration Wizard.
Software components vary depending on the distribution method of the software:
CD-ROM or package installer: Installs WebLogic Server with WebLogic Workshop and all related examples.
Net installer: Installs all components of WebLogic Platform, which includes WebLogic Server with WebLogic Workshop as well as WebLogic Portal, WebLogic Integration, and all related examples.
Note: If you downloaded software using the net installer option and you want to install WebLogic Server without the additional WebLogic Platform components, select the Custom installation option and select only the components you want to install.
For more information about typical and custom installations, see Choosing the Type of Installation.
Choose Components:
Release 7.0
|-----WebLogic Server [0] x
| |-----Server [0.0] x
| |-----Workshop [0.1] x
| |-----Server Examples [0.2] x
=> Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next
By default, all components are selected as indicated by the x (UNIX systems), or check mark (Windows systems), 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.2 on the command line.
The word Installed is shown in brackets for any components you have already installed on your system.
Note: If you downloaded the software using the net installer option, you will see options for additional WebLogic Platform components. To install WebLogic Server with WebLogic Workshop only, deselect the additional WebLogic components. If you want to install other components of the WebLogic Platform, refer to the WebLogic Platform Installation Guide.
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.
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]>
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 accept the defaults presented, type next or press Enter. If you have not specified a download storage directory in a previous installation and you want to save the download files, you need to specify a directory before you can proceed with the installation. To specify a storage directory or modify any of the other options, do the following:
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. If the installation program cannot verify the integrity of the download, the following message is displayed:
The required installation files could not be verified.You
may download them from BEA or select different components.
When the verification is complete, the Choose Product Directory prompt is displayed.
The choices displayed in this section are as follows:
Choose Product Directory:
Product Directory= [/home/bea/weblogic700]
Select Option:
1 - Input new Product Directory
2 - Reset to default
Enter index number OR [Exit][Previous][Next]>
Choose Product Directory:
Product Directory = [/home1/bea/weblogic700]
Input new Product Directory OR [Exit][Previous][Next]>
Enter the full path to the directory in which you want to install WebLogic Platform software. For example:
/home3/weblogic700
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/weblogic700]
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.
At this point, the installation program installs the files to the directory you specified.
Run Configuration Wizard
->1 - Yes, run Configuration Wizard to create my application domain
2 - No, skip Configuration Wizard
Enter index number to select OR [Exit][Previous][Next]>
Press Enter or type 1 to launch the Configuration Wizard. Type 2 or next to skip the Configuration Wizard. You can launch it again after completing the installation.
You can use the Configuration Wizard to create and configure custom WebLogic domains. A WebLogic domain is an interrelated set of WebLogic Server resources that are managed as a unit. A domain includes one or more WebLogic Servers, and may also include WebLogic Server clusters.
For more information about the Configuration Wizard, see Configuring Domains, Servers, and Clusters with the Configuration Wizard.
After you have created your domains or typed 2 to skip the Configuration Wizard, the installation is complete.
To learn more about WebLogic Server 7.0, view the following files: