# Installation and Configuration Guide

# Uninstalling the Software

The following sections provide procedures for uninstalling the software:

- About the Uninstallation Program
- Uninstalling Your Software in Graphical Mode
- Uninstalling Your Software in Console Mode
- Deleting the ISO Image File
- Reinstalling Your Software

## About the Uninstallation Program

The following sections describe how to uninstall your BEA software on Windows and Linux systems. You can uninstall the software using graphical or console mode. To run the graphical-mode uninstallation program, your console must support a Java-based GUI. If the uninstallation program determines that your system cannot support a Java-based GUI, it automatically starts running in console mode.

The uninstallation program removes the WLS-VE product installation directory unless one of the following is true:

- The product installation directory contains user-created configuration or application files—the uninstallation program does not delete user-created configuration files, application files, or domains.
- The complete installation was not uninstalled. If an individual component is uninstalled, only the installation directory for that component is removed; the installation directories for other components are unaffected.
- The uninstallation program was invoked from within the product directory structure—specifically, from within the `uninstaller` directory.

The uninstallation program does not remove the BEA Home directory associated with the installation, the JDK that the WLS-VE utilities use, any user-created domains, or any ISO image files that you copied to the local disks of hypervisor hosts.

## Uninstalling Your Software in Graphical Mode

Use the following procedure to uninstall the complete product installation, or individual components, in graphical mode:

1. Shut down any servers that are running.
2. Start the uninstallation program as described in Table 9-1.

Table 9-1 Starting the Uninstallation Program in Graphical Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | From the Windows Start menu, choose StartProgramsBEA ProductsUninstall BEA Products. The BEA Products Uninstaller Welcome window is displayed. Proceed to step 3.
Linux | Go to the following directory: `WL_HOME``/uninstall` Here `WL_HOME` represents the directory in which you installed your WebLogic Server software. Enter `./uninstall.sh` at the prompt. The BEA Products Uninstaller Welcome window is displayed.
Note: | If your system supports a graphical user interface, the uninstallation program starts in graphical mode. If your system does not support a graphical user interface, the uninstallation program starts in console mode. If console mode is started, see Uninstalling Your Software in Console Mode for instructions.

3. Click Next to start the uninstall program.

The Choose Components window is displayed.

4. Select the components to uninstall by selecting or clearing the appropriate check boxes. Then click Next. By default, all installed components are selected, indicating that they will be removed.

The `Server` component contains the BEA WebLogic Configuration Wizard and Template Builder, the Domain Upgrade Wizard, the WebLogic Scripting Tool, and other files that are used to support the WLS-VE configuration, startup, licensing, and installation utilities.

The `ServerVE` component contains the WLS-VE configuration and startup utilities and the WLS-VE ISO image that the installer created (not any copies of the ISO image that you create after running the installer).

5. Optionally, click Details to view the log file that lists the uninstalled components.
6. Click Done in the Uninstalling BEA Products window to exit the uninstallation program.

## Uninstalling Your Software in Console Mode

Use the following procedure to uninstall the complete product installation, or individual components, using the command-line interface:

1. Shut down any servers that are running.
2. Start the uninstallation program as described in Table 9-2.

Table 9-2 Starting the Uninstallation Program in Console Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | Open a Command Prompt window and go to the following directory: `WL_HOME``\uninstall` Here `WL_HOME` represents the directory in which you installed your WebLogic Server software, typically`C:\bea\weblogic`<version>. Enter the following command at the prompt: `uninstall -mode=console` The Welcome text is displayed.
Linux | Go to the following directory: `WL_HOME``/uninstall` Here `WL_HOME` represents the directory in which you installed WebLogic Server. At the prompt, enter the following command: `sh ./uninstall.sh -mode=console` The Welcome text is displayed.

3. Press Enter or type `next` to proceed to the next panel of the uninstallation program.

Note: | Instead of typing complete words when you want to enter `[Exit]`, `[Previous]`, and `[Next]`, you can use the following one-letter shortcuts: `x`, `p`, and `n`, respectively.

The Choose Components to uninstall panel is displayed.

4. Select the components you want to uninstall. The available components are displayed as follows:

    Check the BEA Products components you want to uninstall.

    Release 9.2.1.0
        +----WebLogic Server [1] v
        |    +----Server [1.1] v
        |    +----ServerVE [1.2] v

    Enter number exactly as it appears in brackets to toggle selection OR
     [Exit][Previous][Next]>

The `Server` component contains the BEA WebLogic Configuration Wizard and Template Builder, the Domain Upgrade Wizard, the WebLogic Scripting Tool, and other files that are used to support the WLS-VE configuration, startup, licensing, and installation utilities.

The `ServerVE` component contains the WLS-VE configuration and startup utilities and the WLS-VE ISO image that the installer created (not any copies of the ISO image that you create after running the installer).

By default, all installed components are selected, indicating that they will be removed.

5. Press Enter or type `next` to proceed with the uninstallation process.
6. When the uninstallation process is complete, press Enter or type `exit` to complete the uninstallation and exit the uninstallation program.

## Deleting the ISO Image File

The WLS-VE ISO image contains the LiquidVM and WLS-VE classes that run on hypervisor software and host your applications. Each physical machine that hosts the hypervisor software on which you run WLS-VE either has its own copy of ISO on its local disk or else it accesses the ISO image from a SAN or NAS.

To delete the WLS-VE ISO image:

1. Shut down any instances of WLS-VE that are running.
2. Do any of the following:

- From VMware Virtual Infrastructure Client, browse or search datastores for the `wlsve.iso` file. Then use Virtual Infrastructure Client commands to delete the file.
- Use a secure FTP (`sftp`) client to establish a session with each hypervisor's host machine. Then use the `sftp` `rm` command to delete the `wlsve.iso` file.
- Use a secure shell (`ssh`) client to establish a session with each hypervisor's host machine. Then use the `ssh` `rm` command to delete the `wlsve.iso` file.

For example:

`ssh root@myESXHost
root@myESXHost's password:
...
myESXHost:home/pat/>rm /vmfs/volumes/storage1/myCDs/wlsve.iso`

The Linux operating system includes an `sftp` and `ssh` client. For Windows, you can install (or download for free) third-party utilities that include the clients.

## Reinstalling Your Software

You cannot reinstall the same version of any BEA product on top of a previously installed version of the same product—in the same BEA Home directory or in the same file location. You can, however, add products and product components to an existing installation.

To reinstall the same version of one of the product components or the entire BEA Products distribution in the same location, you must first uninstall the previous installation.