Linux环境下 01 Weblogic安装

1.下载weblogic

下载地址:
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
搜索
Linux x86 with 32-bit 即可
下载版本:
wls1036_linux32.bin

百度网盘:
https://pan.baidu.com/s/1wSFL0zV3L3BeOYHu7JHNgA
密码:qh6n

2.将下载文件上传到/weblogic/目录下

[root@localhost weblogic]# pwd
/weblogic
[root@localhost weblogic]# ls -la
total 850676
drwxr-xr-x.  2 weblogic weblogic        33 Jun  9 21:18 .
dr-xr-xr-x. 18 root     root           240 May 27 20:39 ..
-rw-r--r--.  1 root     root     871091023 Jun  9 21:18 wls1036_linux32.bin
[root@localhost weblogic]# 

3.设置账户权限

[root@localhost /]# chown -R weblogic:weblogic /weblogic/

/weblogic/目录下由weblogic去执行

4.设置weblogic的执行权限

[root@localhost weblogic]# chmod 700 wls1036_linux32.bin 
[root@localhost weblogic]# ls -la
total 850676
drwxr-xr-x.  2 weblogic weblogic        33 Jun  9 21:18 .
dr-xr-xr-x. 18 root     root           240 May 27 20:39 ..
-rwx------.  1 weblogic weblogic 871091023 Jun  9 21:18 wls1036_linux32.bin

5.提取文件内容

[root@localhost weblogic]# ./wls1036_linux32.bin 
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.





<--------------------------------------------------------------------------- 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 previously, type 
"Previous".  You may quit the installer at any time by typing "Exit".




Enter [Exit][Next]> 

6.正式安装

[root@localhost weblogic]# su weblogic
[weblogic@localhost weblogic]$ ls -la
total 850676
drwxr-xr-x.  2 weblogic weblogic        33 Jun  9 21:18 .
dr-xr-xr-x. 18 root     root           240 May 27 20:39 ..
-rwx------.  1 weblogic weblogic 871091023 Jun  9 21:18 wls1036_linux32.bin

切换weblogic账户去安装

[weblogic@localhost weblogic]$ ./wls1036_linux32.bin 
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.





<--------------------------------------------------------------------------- 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 previously, type 
"Previous".  You may quit the installer at any time by typing "Exit".




Enter [Exit][Next]> 

Next或直接回车即可,继续安装;Exit为退出当前安装

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [Enter new value or use default "/home/weblogic/Oracle/Middleware"]




Enter new Middleware Home OR [Exit][Previous][Next]> /weblogic/

weblogic安装的路径,默认为/home/weblogic/Oracle/Middleware,
如果需要重新定义,需要手动输入,我们这里定义安装在/weblogic/目录下

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [/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]> 

刚才我们自定义了weblogic安装目录/weblogic/,再次询问是否需要重新定义,直接回车,不用管

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Choose Middleware Home Directory:
---------------------------------

    Warning

/weblogic directory is not empty. Proceed with installation?




Enter [Exit][Previous][Next]> 

由于weblogic目录为非空目录,再次确认是否安装的/weblogic/目录下,直接回车即可

<--------------------------------------------------------------------------- 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]> 3

这三项我们都不选择,选择3,将其更改为No

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]



Enter [Yes][No]? No

上述更改为No完成,回车

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "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     

刚才我们设置了不需要安全提醒,所以这里再次提示,(存在重要的是配置问题更新)是否需要忽略安全更新,选择yes 忽略

<--------------------------------------------------------------------------- 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:[No]



Enter index number to select OR [Exit][Previous][Next]> 

上述更新设置成功

<--------------------------------------------------------------------------- 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:[No]



Enter index number to select OR [Exit][Previous][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]> 2

选择2,自定义安装组件

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Choose Products and Components:
-------------------------------

    Release 10.3.6.0
    |_____WebLogic Server [1] x
    |    |_____Core Application Server [1.1] x
    |    |_____Administration Console [1.2] x
    |    |_____Configuration Wizard and Upgrade Framework [1.3] x
    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    |    |_____WebLogic SCA [1.5] x
    |    |_____WebLogic JDBC Drivers [1.6] x
    |    |_____Third Party JDBC Drivers [1.7] x
    |    |_____WebLogic Server Clients [1.8] x
    |    |_____WebLogic Web Server Plugins [1.9] x
    |    |_____UDDI and Xquery Support [1.10] x
    |    |_____Server Examples [1.11] 
    |    |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2] x
         |_____Coherence Product Files [2.1] x
         |_____Coherence Examples [2.2] 

    *Estimated size of installation: 675.5 MB




Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][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|/weblogic/jdk160_29[x]*
   3|/weblogic/jrockit_160_29_D1.2.0-10[x]*



   *Estimated size of installation:  1,275.9 MB


Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> 

jdk安装,直接回车,这两个jdk我们都安装

<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/weblogic]

Product Installation Directories:


   1|WebLogic Server: [/weblogic/wlserver_10.3]
   2|Oracle Coherence: [/weblogic/coherence_3.7]




Enter index number to select OR [Exit][Previous][Next]> 

确认WebLogic Server和Oracle Coherence安装路径,直接回车

<--------------------------------------------------------------------------- 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
    |_____JDKs
         |_____SUN SDK 1.6.0_29
         |_____Oracle JRockit 1.6.0_29 SDK

    *Estimated size of installation: 1,276.0 MB




Enter [Exit][Previous][Next]> 

确认安装程序,默认,直接回车

Jun 9, 2018 10:03:19 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.





<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]




<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Installing JDK....

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions... 





<--------------------------------------------------------------------------- Oracle Installer - WebLogic 10.3.6.0 --------------------------------------------------------------------------->

Configuring 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]> Exit
[weblogic@localhost weblogic]$ 

退出即可

猜你喜欢

转载自blog.csdn.net/u014636209/article/details/82048181
今日推荐