mkdir /ait/install
mkdir /ait/weblogic
把weblogic的安装包放在 /ait/install里,解压出来的包名是fmw_12.2.1.2.0_wls.jar
cd /ait/install
vi /ait/install/oraInst.loc
inventory_loc=/ait/oraInventory
#产品清单目录;注意不能放在 weblogic安装目录下,要保证安装目录为空
inst_group=weblogic
#用户的组名称,根据实际的修改,注意用什么用户安装weblogic这里就写什么用户组名,我用的是weblogic用户组安装的。
2.创建响应文件
vi /ait/install/wls.rsp
[ENGINE]
#DO NOT CHANGE THIS
Response File Version=1.0.0.0.0
[GENERIC]
#weblogic的安装路径
ORACLE_HOME=/ait/weblogic
#Set this variable value to the Installation Type selected.e.g.WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server
DECLINE_SECURITY_UPDATES=true

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
3.安装
java -jar fmw_12.2.1.2.0_wls.jar -silent -responseFile /ait/install/wls.rsp -invPtrLoc /ait/install/oraInst.loc
注意:初始化文件和响应文件一定要是全路径,(自定义的)。
安装中耐心等待,出现Percent Complete : 100时安装完成安装信息如下
[weblogic@mcl install]$ java -jar fmw_12.2.1.2.0_wls.jar -silent -responseFile /ait/install/wls.rsp -invPtrLoc /ait/install/oraInst.loc
Launcher log file is/tmp/OraInstall2017-09-01_03-19-37PM/launcher2017-09-01_03-19-37PM.log.
Extracting the installer … … … … … … … … .… … … … … … … … … … … … … .… … … … Done
Checking if CPU speed is above 300 MHz. Actual 2711.997MHz Passed
Checking swap space: must be greater than 512 MB. Actual 2047MB Passed
Checking if this platform requires a 64-bit JVM. Actual64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 11672MB Passed
Preparing to launch the Oracle Universal Installer from/tmp/OraInstall2017-09-01_03-19-37PM
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-55634-2.html
都是这样的状态
超市有个破了的包装袋太正常了