1、安装这边
groupadd -g 900 weblogic
useradd -u 900 -g weblogic weblogic
mkdir /usr/local/weblogic
chown -R weblogic.weblogic /usr/local/weblogic/
yum install -y glibc.i686 libstdc++.so.6
2、安装weblogic
./oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-linux32.bin
Extracting 0%....................................................................................................100%
Unable to instantiate GUI,defaulting to console mode.
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
Welcome:
--------
This installer will guide you through the installation of Oracle Enterprise Pack for Eclipse. Type "Next" or enter to proceed to the next prompt. If you want to change data entered prevIoUsly,type "PrevIoUs". You may quit the installer at any time by typing
"Exit".
Enter [Exit][Next]> Next
Choose Middleware Home Directory:
---------------------------------
"Middleware Home" = [Enter new value or use default "/home/weblogic/Oracle/Middleware"]
Enter new Middleware Home OR [Exit][PrevIoUs][Next]> /usr/local/weblogic
"Middleware Home" = [/usr/local/weblogic]
Use above value or select another option:
1 - Enter new Middleware Home
2 - Change to default [/home/weblogic/Oracle/Middleware]
Enter option number to select OR [Exit][PrevIoUs][Next]> Next
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]> 3
"Receive Security Update:" = [Enter new value or use default "Yes"]
Enter [Yes][No]? No
"Receive Security Update:" = [Enter new value or use default "Yes"]
** Do you wish to bypass initiation of the configuration manager and
** remain uninformed of critical security issues in your configuration?
Enter [Yes][No]? Yes
3|Receive Security Update:[No]
Enter index number to select OR [Exit][PrevIoUs][Next]>
Enter index number to select OR [Exit][PrevIoUs][Next]> Next
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
| - Oracle Application Development Framework
| - Oracle Enterprise Pack for Eclipse
2|Custom
| Choose software products and components to install and perform optional configuration.
Enter index number to select OR [Exit][PrevIoUs][Next]> 1
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/usr/local/weblogic]
Product Installation Directories:
1|WebLogic Server: [/usr/local/weblogic/wlserver_10.3]
2|Oracle Coherence: [/usr/local/weblogic/coherence_3.7]
3|Oracle Enterprise Pack for Eclipse: [/usr/local/weblogic/oepe_11.1.1.8.0]
The following Products and JDKs will be installed:
--------------------------------------------------
Oracle Enterprise Pack for Eclipse 1.8.0.20111021
|_____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
|_____Oracle Application Development Framework
| |_____Application Development Framework Runtime
|_____Oracle Enterprise Pack for Eclipse
| |_____Common Files
|_____JDKs
|_____SUN SDK 1.6.0_29
*Estimated size of installation: 1,958.0 MB
Enter [Exit][PrevIoUs][Next]> Next
Aug 19,2017 2:37:12 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
Installing files..
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
Installing JDK....
[***************************************************]
Performing String Substitutions...
Configuring OCM...
Creating Domains...
Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type [Exit]>
3、创建域
cd /usr/local/weblogic/wlserver_10.3/common/bin/
./config.sh
<--------------------------------------------- Fusion Middleware Configuration Wizard --------------------------------------------->
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]> 1
Select Domain Source:
---------------------
Select the source from which the domain will be created. You can create the domain by selecting from the required components or
by selecting from a 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 could be a custom created template using the Template
|Builder.
Application Template Selection:
-------------------------------
Available Templates
|_____Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
|_____Oracle WSM Policy Manager - 11.1.1.0 [oracle_common] [2]
|_____Oracle JRF WebServices Asynchronous services - 11.1.1.0 [oracle_common] [3]
|_____Oracle JRF - 11.1.1.0 [oracle_common] [4]
|_____Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [5]
|_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [6]
|_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [7]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][PrevIoUs][Next]> Next
Edit Domain Information:
------------------------
| Name | Value |
_|________|_____________|
1| *Name: | base_domain |
Enter value for "Name" OR [Exit][PrevIoUs][Next]> Next
Select the target domain directory for this domain:
---------------------------------------------------
"Target Location" = [Enter new value or use default "/usr/local/weblogic/user_projects/domains"]
Enter new Target Location OR [Exit][PrevIoUs][Next]> Next
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the 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. |
1 - Modify "Name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
Enter option number to select OR [Exit][PrevIoUs][Next]> 2
"*User password:" = []
Enter new *User password: OR [Exit][Reset][Accept]>
2| *User password: | *********** |
4 - Modify "Description"
5 - Discard Changes
Enter option number to select OR [Exit][PrevIoUs][Next]> 3
"*Confirm user password:" = []
Enter new *Confirm user password: OR [Exit][Reset][Accept]>
3| *Confirm user password: | *********** |
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]> 2
Java SDK Selection:
-------------------
->1|Sun SDK 1.6.0_29 @ /usr/local/weblogic/jdk160_29
2|Other Java SDK
Select Optional Configuration:
1|Administration Server [ ]
2|Managed Servers,Clusters and Machines [ ]
3|RDBMS Security Store [ ]
1|Administration Server [x]
Configure the Administration Server:
------------------------------------
Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative
tasks.
| Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| *Listen address: | All Local Addresses |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
2 - Modify "Listen address"
3 - Modify "Listen port"
4 - Modify "SSL enabled"
Creating Domain...
**** Domain Created Successfully! ****
4、设置免密码启动
cd /usr/local/weblogic/user_projects/domains/base_domain/servers/AdminServer/
mkdir security
vim security/boot.properties
username=weblogic
password=weblogic123
5、启动
cd /usr/local/weblogic/user_projects/domains/base_domain/bin/
nohup ./startWebLogic.sh >/dev/null 2>&1 &