Install WebLogic Server 8.1
Procedure
- Verify platform is certified.
- Review Preparing to Install WebLogic Server
- Download software
Download the package installer version.
- Browse weblogic.support.install
- Create an OS-level "weblogic" user
- Ensure there is enough tmp space to install
- The default evaluation license allows access for up to 5 client connections and 15 database connections, and is good for a year. Non-expiring developer licenses are available . Production licenses must be purchased.
- To use
128-bit encryption, configure a128-bit encryption license in the license.bea file, before installing the WLS software. WLS licenses come with 56-bit encryption enabled by default.- Decide the directory locations for $BEA_HOME and $WL_HOME For example:
BEA_HOME=/usr/local/bea
WL_HOME=/usr/local/weblogicYou do not have to create these directories now. We just want to establish these settings now, before we are asked during the install, so we are ready with a confident answer.
- Decide which SDK to use. WLS installs both the JRockit SDK and the Sun Java 2 SDK .
- Install the software using console mode,...
chmod 777 server810_linux32.bin
./server810_linux32.bin
- Include $SDK_NAME/bin in your PATH.
SDK_NAME=/path/to/SDK
PATH=$SDK_NAME/bin:$PATH
export PATH
BEA Home Directory
During installation you are prompted to specify a BEA Home directory (BEA_HOME), which is a repository for common files that are used by multiple BEA products installed on the same machine.
The directories and files within $BEA_HOME include:
Component Description jdk141_XX/ Sun Java 2 SDK 1.4.1. Provides the Java run-time environment (JRE) and compilation tools jrockit81_141_XX/ JRockit Java 2 SDK 1.4.1. Provides the Java run-time environment (JRE) and compilation tools logs/ Logging info utils/ Installation utilities. The utils.jar file contains code that supports the UpdateLicense utility. user_projects/ Used for managing domains weblogic81/ Program files and examples license.bea XML-format license file that contains the license keys for all BEA WebLogic Platform products installed on a machine. Pre-WLS 8.1 licenses must be converted. To add new licenses to license.bea, use the UpdateLicense utility. registry.xml Record of all installed BEA products on the machine. Includes version number, Service Pack number, and installation directory. Do not edit manually. UpdateLicens.sh Shell script that updates the current license.bea file with new license sections. The result is a merged license that contains both the existing and new license sections.
Product Installation Directory
The product installation directory contains all the software components that you choose to install on your system, including program files and examples. During installation, you are prompted to choose a product installation directory. If you accept the default, the WLS software is installed in the following directory:
$BEA_HOME/weblogic81The installer uses the product installation directory as the $WL_HOME directory and installs the software components under this directory.
Ensure there is enough tmp space to install
large tmp directory in which to uncompress the JRE. If, when trying to install, you get an error message about there not being enough space to do an extraction, verify your /tmp directory has enough space. You'll need at least 100MB, though I'm not absolutely certain about that number.You can enter the following option on the commandline to specify an alternate tmp directory...
-Djava.io.tmpdir=tmpdirpathI've gotten around too small /tmp directories by removing the existing /tmp and creating a soft link to a file system with more space.
This procedure will not work if /tmp is mounted as its own file system, or if critical processes are currently using /tmp. But if neither of those gotchas is in place, the above should work just fine.
Here is an example of what I am talking about:
rm /tmp
mkdir /usr/tmp
ln -s /tmp /usr/tmp
ln -s /var/tmp /usr/tmpThe last command is just for luck. Not sure if WLS uses /var/tmp or not.
After you are done, you might want to remove the soft-linked /tmp and recreate a real /tmp:
rm /tmp
mkdir /tmp