Weblogic is a Java App container. Generally, large applications run in Weblogic. The system is CentOS6.2 64bit.
I. Installation
Weblogic 11g is installed here.
1. Download address:
Http://www.oracle.com/technetwork/cn/middleware/ias/downloads/wls-main-091116-zhs.html
64-bit version selection:
Oracle WebLogic Server 11gR1 (10.3.6) + Coherence-package installer
General purpose: 1 GB File1
Network Disk sharing address:
Wls1036_generic.jar
2. Install JDK
The general 64-bit Weblogic installation program itself contains JDK, so you must first download and install JDK.
For the installation process, see the previous article: Building a tomcat container using CentOS
3. Start installation
Console installation mode:
Java-jar wls1036_generic.jar-mode = console
1) input next
Extracting 0% ...................................... ........................................ ...................... 100%
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Welcome:
--------
This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt. if you want to change data entered previusly, type "Previous ". you may quit the installer at any time by typing "Exit ".
Enter [Exit] [Next]>
2) set the directory and enter next
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Choose Middleware Home Directory:
---------------------------------
"Middleware Home" = [Enter new value or use default "/root/Oracle/Middleware"]
Enter new Middleware Home OR [Exit] [Previous] [Next]>
3) Select 3 and set Receive Security Update to No.
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and to initiate configuration manager.
1 | Email: []
2 | Support Password: []
3 | Receive Security Update: [Yes]
Enter index number to select OR [Exit] [Previous] [Next]>
4) The installation is typical by default. Enter next
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Choose Install Type:
--------------------
Select the type of installation you wish to perform.
-> 1 | Typical
| Install the following product (s) and component (s ):
|-WebLogic Server
|-Oracle Coherence
2 | Custom
| Choose software products and components to install and perform optional
| Configuration.
Enter index number to select OR [Exit] [Previous] [Next]>
5) select JDK and enter next
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
JDK Selection (Any * indicates Oracle Supplied VM ):
---------------------------------------------------
JDK (s) chosen will be installed. Defaults will be used in script string-substitution if installed.
1 | Add Local Jdk
2 |/usr/java/jdk1.8.0 _ 45 [x]
* Estimated size of installation: 690.2 MB
Enter 1 to add or> = 2 to toggle selection OR [Exit] [Previous] [Next]>
6) select the product installation directory and enter next
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/root/Oracle/Middleware]
Product Installation Directories:
1 | WebLogic Server: [/root/Oracle/Middleware/wlserver_10.3]
2 | Oracle Coherence: [/root/Oracle/Middleware/coherence_3.7]
Enter index number to select OR [Exit] [Previous] [Next]>
7) input next
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
The following Products and JDKs will be installed:
--------------------------------------------------
WebLogic Platform 10.3.6.0
| _____ WebLogic Server
| _____ Core Application Server
| _____ Administration Console
| _____ Configuration Wizard and Upgrade Framework
| _____ Web 2.0 HTTP Pub-Sub Server
| _____ WebLogic SCA
| _____ WebLogic JDBC Drivers
| _____ Third Party JDBC Drivers
| _____ WebLogic Server Clients
| _____ WebLogic Web Server Plugins
| _____ UDDI and Xquery Support
| _____ Evaluation Database
| _____ Oracle Coherence
| _____ Coherence Product Files
* Estimated size of installation: 690.3 MB
Enter [Exit] [Previous] [Next]>
8) installation file
Jul 12,201 5 12:35:41 java. util. prefs. FileSystemPreferences $1 run
INFO: Created user preferences directory.
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Installing files ..
0% 25% 50% 75% 100%
[------------ | ------------]
[*************************************** * ***********]
Padding Ming String Substitutions...
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Processing OCM...
0% 25% 50% 75% 100%
[------------ | ------------]
[*************************************** * ***********]
Creating Domains...
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type [Exit]>
<------------------ Oracle Installer-WebLogic 10.3.6.0 ------------------->
Clean up process in progress...
9) The installation is complete.
2. Create a new Weblogic domain
Cd/root/Oracle/Middleware/wlserver_10.3/common/bin
./Config. sh-mode = console
1) input next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Welcome:
--------
Choose between creating and extending a domain. Based on your selection,
The Configuration Wizard guides you through the steps to generate a new or
Extend an existing domain.
-> 1 | Create a new WebLogic domain
| Create a WebLogic domain in your projects directory.
2 | Extend an existing WebLogic domain
| Use this option to add new components to an existing domain and modify
| Configuration settings.
Enter index number to select OR [Exit] [Next]>
2) input next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Select Domain Source:
---------------------
Select the source from which the domain will be created. You can create
Domain by selecting from the required components or by selecting from
List of existing domain templates.
-> 1 | Choose Weblogic Platform components
| You can choose the Weblogic component (s) that you want supported in
| Your domain.
2 | Choose custom template
| Choose this option if you want to use an existing template. This
| Cocould be a custom created template using the Template Builder.
Enter index number to select OR [Exit] [Previous] [Next]>
3) Select a template and enter next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Application Template Selection:
-------------------------------
Available Templates
| _____ Basic WebLogic Server Domain-10.3.6.0 [wlserver_10.3] x
| _____ Basic WebLogic SIP Server Domain-10.3.6.0 [wlserver_10.3] [2]
| _____ WebLogic Advanced Web Services for JAX-RPC Extension-10.3.6.0 [wlserver_10.3] [3]
| _____ WebLogic Advanced Web Services for JAX-WS Extension-10.3.6.0 [wlserver_10.3] [4]
Enter number exactly as it appears in brackets to toggle selection OR [Exit] [Previous] [Next]>
4) select the default Domain name and enter next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Edit Domain Information:
------------------------
| Name | Value |
_ | ________ | _____________ |
1 | * Name: | base_domain |
Enter value for "Name" OR [Exit] [Previous] [Next]>
5) select the Directory of the target domain, and enter next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Select the target domain directory for this domain:
---------------------------------------------------
"Target Location" = [Enter new value or use default
"/Root/Oracle/Middleware/user_projects/domains"]
Enter new Target Location OR [Exit] [Previous] [Next]>
6) Select 2 and 3 and set the password.
<----------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is
Default administrator used to start development mode servers.
| Name | Value |
_ | _________________________ | _________________________________________ |
1 | * Name: | weblogic |
2 | * User password: |
3 | * Confirm user password: |
4 | Description: | This user is the default administrator. |
Use abve value or select another option:
1-Modify "Name"
2-Modify "User password"
3-Modify "Confirm user password"
4-Modify "Description"
Enter option number to select OR [Exit] [Previous] [Next]>
================================, Input next ===============================
<----------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is
Default administrator used to start development mode servers.
| Name | Value |
_ | _________________________ | _________________________________________ |
1 | * Name: | weblogic |
2 | * User password: | ******** |
3 | * Confirm user password: | ********* |
4 | Description: | This user is the default administrator. |
Use abve value or select another option:
1-Modify "Name"
2-Modify "User password"
3-Modify "Confirm user password"
4-Modify "Description"
5-Discard Changes
Enter option number to select OR [Exit] [Previous] [Next]>
7) select the development environment or production environment and enter next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Domain Mode Configuration:
--------------------------
Enable Development or Production Mode for this domain.
-> 1 | Development Mode
2 | Production Mode
Enter index number to select OR [Exit] [Previous] [Next]>
8) select JDK and enter next
<----------------- Fusion Middleware Configuration Wizard ------------------>
Java SDK Selection:
-------------------
-> 1 | Sun SDK 1.8.0 _ 45 @/usr/java/jdk1.8.0 _ 45
2 | Other Java SDK
Enter index number to select OR [Exit] [Previous] [Next]>
9) other options are not selected here. Press Enter.
<----------------- Fusion Middleware Configuration Wizard ------------------>
Select Optional Configuration:
------------------------------
1 | Administration Server []
2 | Managed Servers, Clusters and Machines []
3 | RDBMS Security Store []
Enter index number to select OR [Exit] [Previous] [Next]>
10) start creating Domain
<----------------- Fusion Middleware Configuration Wizard ------------------>
Creating Domain...
0% 25% 50% 75% 100%
[------------ | ------------]
[*************************************** * ***********]
* *** Domain Created Successfully! ****
III. Start Weblogic
Cd/root/Oracle/Middleware/user_projects/domains/base_domain
Nohup./startWebLogic. sh &
Browser access: http: // ip: 7001/console. You can open the weblogic console.
Upload the Web App deployment and access the application http: // ip: 7001/XXXX
4. Disable Weblogic
Development Mode does not seem to have stopWebLogic. sh
Ps-ef | grep java
Ps-ef | grep Weblogic
Kill the process.
Production mode:
./StopWebLogic. sh user name and password