1.weblogic部署前准备
把weblogic的bin放到/home/zhuying下
1.1创建weblogic用户组
groupadd oinstall;
usermod -g oinstall zhuying;
passwd zhuying
1.2创建目录/home/zhuying/opt/bea,修改目录所有者权限
[zhuying@Test232 ~]$ pwd
/home/zhuying
[zhuying@Test232 ~]$ mkdir -p opt/bea/
[zhuying@Test232 ~]$ chown -Rf zhuying:oinstall ~/opt/bea/
2.安装weblogic10.3目录
2.1安装weblogic10.3目录
赋予.bin可执行权限:
[zhuying@Test232 ~]$ chmod u+x server103_linux32.bin
执行:
[zhuying@Test232 ~]$ ./server103_linux32.bin
2.1.1进入控制台安装的欢迎界面【里面主要是告诉你一些用法,使用Next或者回车来进行下一步】,键入[Next]继续
2.1.2选择BEA的家目录,回车就是默认,或者键入你选择的家目录,如:/home/zhuying/opt/bea,然后进入你所选择的家目录
2.1.3选择安装类型:complete或者custom【默认complete】
2.1.4选择产品安装目录,按Next【默认WebLogic Server: [/home/zhuying/opt/bea/wlserver_10.3]和Workshop: [/home/zhuying/opt/bea/workshop_10.3]都会被安装】
2.1.5确认Products and JDKs,按回车,安装jdk和域,安装完成后会在家目录下创建一个bea目录,里面有个beahomelist文件,内容就是你的bea的家目录路径,如:/home/zhuying/opt/bea
2.1.6 要点:安装过weblogic目录后,你可以到bea的家目录下查看一下registry.xml文件【这个注册表文件里面记录了一些版本信息,家目录路径,主机名及Javahome,另外还有已安装的组件名(这个可以在BEA_HOME/logs/log.txt中查看)等信息】
2.2 安装步骤如下:
[zhuying@Test232 opt]$ ./server103_linux32.bin
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.
<----------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------------------------->
Welcome:
--------
This installer will guide you through the installation of WebLogic Platform 10.3.0.0. 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 - WebLogic Platform 10.3.0.0 ----------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [Enter new value or use default "/home/zhuying/bea"]
Enter new BEA Home OR [Exit][Previous][Next]> /home/zhuying/opt/bea
<----------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [/home/zhuying/opt/bea]
Use above value or select another option:
1 - Enter new BEA Home
2 - Change to default [/home/zhuying/bea]
Enter option number to select OR [Exit][Previous][Next]> 1
<----------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------------------------->
Choose BEA Home Directory:
--------------------------
"BEA Home" = [/home/zhuying/opt/bea]
Enter new BEA Home OR [Exit][Previous][Next]> next
<----------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------------------------->
Choose Install Type:
--------------------
Select the type of installation you wish to perform.
->1|Complete
| Install the following software products and examples:
| - WebLogic Server
| - Workshop
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 - WebLogic Platform 10.3.0.0 ----------------------------------------->
Choose Product Installation Directories:
----------------------------------------
BEA Home Directory: [/home/zhuying/opt/bea]
Product Installation Directories: