![]() |
![]() |
|
Installing WebLogic Server Using Silent Installation
The following sections describe how to install WebLogic Server using silent installation on both Windows and UNIX systems:
Silent installation reads the settings for your configuration from a text file that you create prior to beginning the installation. Manual intervention is not necessary during the installation process. Silent installation works on both Windows and UNIX systems.
Silent installation is a way of setting installation configurations only once and then using those configurations to duplicate the installation on many machines.
The following sections focus on using silent installation to install the WebLogic Server 6.0 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 6.0 base product may or may not have Service Packs already applied.
Note: Using silent installation implies your consent to the BEA License Agreement. You neither see a copy of the BEA Software License Agreement nor have any means to accept the terms of the agreement.
Do not install an upgraded version of WebLogic Server 6.0 on top of a non-upgraded version. For example, do not install WebLogic Server 6.0 with Service Pack 2 already applied on top of WebLogic Server 6.0 with Service Pack 1 already applied. In this example, either uninstall the WebLogic Server instance, as described in Uninstalling WebLogic Server, and then install the upgraded instance, or upgrade the WebLogic Server instance with Service Pack 2, as described in Installing and Uninstalling Service Packs on WebLogic Server.
Using Silent Installation: Main Steps
The silent installation process has two primary steps:
For the detailed procedure, see Creating a Template File. Two sample template files are provided in Windows Template File and UNIX Template File.
For the detailed procedure, see Invoking the Silent Installation Process on a Windows System and Invoking the Silent Installation Process on a UNIX System.
To create a template file for use in the silent installation process, follow these steps:
The mode of installation. The default is silent; do not modify this value. |
|
A language code determining the language displayed during the installation. Besides en for English, you can set this value to de for German (Deutsch), es for Spanish (Español), fr for French (Français), or ja (or ja_JP) for Japanese. |
|
The full pathname for the BEA Home directory of your choice. For details about the BEA Home directory, see BEA Home Directory. |
|
The full pathname for the WebLogic Server product directory of your choice. |
|
A domain name of your choice for the WebLogic Server default server. |
|
A server name of your choice for the WebLogic Server default server. |
|
A dedicated TCP/IP port number for the WebLogic Server default server. This number specifies the port at which the server listens for connections. The default is 7001. To accept the default, do not modify this value. |
|
A dedicated secure listen port number for the WebLogic Server default server. The secure listen port number is used for secure Web connections based on the secure sockets layer (SSL) protocol. The default is 7002. To accept the default, do not modify this value. |
|
Yes or no to installing the WebLogic Server default server as a Windows service. If you select yes, the default server starts as a service each time you boot your Windows system. The default is no: WebLogic Server is not installed as a service. To accept the default, do not modify this value. For more information about installing WebLogic Server as a service, see Understanding the WebLogic Server Windows Service. |
|
A password of your choice that contains at least eight characters but no more than 20 characters. You are prompted to enter this password to start the WebLogic Server default 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. |
|
The chosen installation set. The default is ServerExample, which instructs the installer program to install both program files and example files.You can set this value to either ServerExample or ServerOnly. If you want to install only the program files, set this value to ServerOnly. For a basic description of program files and examples files, see WebLogic Server Software Components. |
In the template files, comment lines are preceded by hash marks.
To install WebLogic Server as a Windows service, comment the INSTALL_NT_SERVICE=no line and uncomment the INSTALL_NT_SERVICE=yes line.
To specify the ServerOnly install set, comment the CHOSEN_INSTALL_SET=ServerExample line and uncomment the CHOSEN_INSTALL_SET=ServerOnly line.
Invoking the Silent Installation Process on a Windows System
Installing the software using silent installation takes the same amount of time as a standard installation. During silent installation, an initial installation program window appears briefly, indicating that the installation has started.
To invoke the silent installation process on a Windows system, follow these steps:
If you want to install WebLogic Server as a Windows service, you must have Administrator privileges. For information about installing WebLogic Server as a Windows service, see Understanding the WebLogic Server Windows Service.
filename.exe -f full_path\installer.properties
where filename is the name of the WebLogic Server installer, and full_path is the full pathname of the installer.properties file.
If installing WebLogic Server from the CD-ROM:
filename.exe -f full_path\installer.properties
where filename is the name of the WebLogic Server installer specific to your platform, and full_path is the full pathname of the installer.properties file.
Invoking the Silent Installation Process on a UNIX System
A WebLogic Server 6.0 installer for a UNIX platform takes one of two forms:
This section presents installation procedures for both types of installers.
Invoking the Silent Installation Process for filename.bin Installers
Installing the software using silent installation takes the same amount of time as a standard installation. During silent installation, a startup message appears, followed by an "Installing . . ." message, indicating that the installation has started.
To invoke the silent installation process for filename.bin installers, follow these steps:
sh filename.bin -f full_path/installer.properties
where filename is the name of the WebLogic Server installer, and full_path is the full pathname of the installer.properties file.
If installing WebLogic Server from the CD-ROM:
sh filename.bin -f full_path/installer.properties
where filename is the name of the WebLogic Server installer specific to your platform, and full_path is the full pathname of the installer.properties file.
Invoking the Silent Installation Process for filename.zip Installers
Installing the software using silent installation takes the same amount of time as a standard installation. During silent installation, a startup message appears, followed by an "Installing . . ." message, indicating that the installation has started.
To invoke the silent installation process for filename.zip installers, follow these steps:
PATH=full_path_to_jdk130/bin:$PATH
export PATH
Replace full_path_to_jdk130 with the full pathname to the JDK 1.3 directory.
java -cp filename.zip install -f full_path/installer.properties
where filename is the name of the WebLogic Server installer, and full_path is the full pathname of the installer.properties file.
If installing WebLogic Server from the CD-ROM:
java -cp filename.zip install -f full_path/installer.properties
where filename is the name of the WebLogic Server installer specific to your platform, and full_path is the full pathname of the installer.properties file.
This sample Windows template file applies to silent installation of WebLogic Server 6.0 with no Service Packs applied, WebLogic Server 6.0 with Service Packs already applied, and WebLogic Server 6.0 Service Packs.
###############################################
### Silent Installation Properties File
###############################################
INSTALLER_UI=silent
###############################################
### Locale
###############################################
USER_LOCALE=en
###############################################
### BEA Home Directory
### NOTE: backslashes must be escaped.
###############################################
BEAHOME=c:\\bea
###############################################
### Product Installation Directory
###############################################
USER_INSTALL_DIR=c:\\bea\\wlserver6.0
###############################################
### Default Domain
###############################################
C_domainName=mydomain
###############################################
### Default Server
###############################################
C_serverName=myserver
###############################################
### Default Listen Port
###############################################
C_serverListenPort=7001
###############################################
### Default SSL Listen Port
###############################################
C_serverSSLListenPort=7002
###############################################
### Install WebLogic Server as a Windows Service
###############################################
#INSTALL_NT_SERVICE=yes
INSTALL_NT_SERVICE=no
###############################################
### System Password
###############################################
C_password=abcd1234
###############################################
### Default Install Set
### Valid Values: ServerExample, ServerOnly
###############################################
CHOSEN_INSTALL_SET=ServerExample
#CHOSEN_INSTALL_SET=ServerOnly
This sample UNIX template file applies to silent installation of WebLogic Server 6.0 with no Service Packs applied, WebLogic Server 6.0 with Service Packs already applied, and WebLogic Server 6.0 Service Packs.
###############################################
### Silent Installation Properties File
###############################################
INSTALLER_UI=silent
###############################################
### Locale
###############################################
USER_LOCALE=en
###############################################
### BEA Home Directory
###############################################
BEAHOME=/home/beadev/rsmith/solaris/bea
###############################################
### Product Installation Directory
###############################################
USER_INSTALL_DIR=/home/beadev/rsmith/solaris/bea/wlserver6.0
###############################################
### Default Domain
###############################################
C_domainName=mydomain
###############################################
### Default Server
###############################################
C_serverName=myserver
###############################################
### Default Listen Port
###############################################
C_serverListenPort=7001
###############################################
### Default SSL Listen Port
###############################################
C_serverSSLListenPort=7002
###############################################
### System Password
###############################################
C_password=abcd1234
###############################################
### Default Install Set
### Valid Values: ServerExample, ServerOnly
###############################################
CHOSEN_INSTALL_SET=ServerExample
#CHOSEN_INSTALL_SET=ServerOnly
To learn more about WebLogic Server 6.0, view the following files:
Summarizes new features provided by this version of WebLogic Server and provides pointers to useful related information.
On a Windows system, access this file by using the About WebLogic Server 6.0(spx) shortcut (or the About WebLogic Server 6.0 shortcut for a WebLogic Server 6.0 installation with no Service Packs applied). On both Windows and UNIX systems, access the ABOUT_WLS.HTML file at wls_6.0_prod_dir/ABOUT_WLS.HTML, where wls_6.0_prod_dir represents the product directory in which you installed the WebLogic Server software.
A text-only version of the ABOUT_WLS.HTML file. Access the README.TXT file at wls_6.0_prod_dir/README.TXT, where wls_6.0_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 © 2000 BEA Systems, Inc. All rights reserved.
|