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
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
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
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
Choose Middleware Home Directory:
---------------------------------
"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
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and to initiate configuration manager.
Enter index number to select OR [Exit][Previous][Next]> Next
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
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
<-------------------------------------- Oracle Installer - Oracle Enterprise Pack for Eclipse ------------------------------------->
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.
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.
Enter index number to select OR [Exit][Previous][Next]> 1
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. |
Use above 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]> 2
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. |
Use above 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]> 3
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. |
Use above 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]> Next
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 &