




已阅读5页,还剩14页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AIX上安装Weblogic Server10.3 详细过程首先将需要的安装包从官网下载下来:一、检查系统 #oslevel(aix版本)# prtconf c(cpu位数)CPU Type: 64-bit因此,系统需要安装64位的jdk (如果是32-bit,就安装32位的jdk)二、上传&解压安装jdk需要以root用户安装:将Java6_64.sdk.tar上传到Aix系统,目录为/home。(以root用户上传)解压:tar xvf Java6_64.sdk.tar,在/home下多了一个Java6_64.sdk三、安装输入#smit选择“Software Installation and Maintenance”,Enter下一步,选择“Install and Update Software”,Enter下一步,选择“Install Software”,Enter下一步,在“INPUT device / directory for software”后面,写上要安装软件的路径:/home/oracle/Java6_64.sdk,Enter下一步,“accept new license agreements”把对应的no设置成“yes”(按Tab键)下一步,确认界面,Enter稍等片刻之后,系统提示安装SUCCESS四、 安装完成后,默认在/usr下多了两个文件夹,java6和java6_64,五:如果安装失败,那么需要卸载重新安装,则使用以下命令卸载jdk:#smit remove 或者installp u(我这里用的是前面一个)smit remove-software name安装软件的名字,比如:java6_64.sdk-PREVIEW only?(remove operation will NOT occur)选择no-enter-enter注:如果不卸载,那么重新安装会报错六、修改系统变量安装完jdk后,需要以普通用户(weblogic)登录服务器,然后配置jdk的环境变量在weblogic用户的.profile文件中做如下配置:PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.export PATHif -s $MAIL # This is at Shell startup. In normalthen echo $MAILMSG # operation, the Shell checksfi # periodically.# JDK #export JAVA_HOME=/usr/java5export PATH=$PATH:$JAVA_HOME/jre/bin:$JAVA_HOME/binexport CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar配置完,为使文件生效,执行以下命令:#. /././.profile(具体根据自己的路径)即使其生效的命令是: .profile七、检查JDK是否安装成功Java -version# lslpp -l | grep Java(查看安装了的JDK)# lslpp -l |grep Java8.安装weblogic server(以普通用户上传(root用户上传没试过,不清楚)安装过程中,因为/tmp太小,造成无法安装。(这是在无法安装的时候看的,若能安装,直接跳过,并且,不要随意删自己不认识的文件,那样可能造成系统损坏)# cd /db2 自己的是app下# ls10gr2_aix5l64_database.cpio IAS lost+found weblogic wls1033_generic.jarDisk1 aixv538 pc wls1033_generic xlc# java -jar wls1033_generic.jarUnable to instantiate GUI, defaulting to console mode.Extracting 0%.Fatal error encoutered during self-extraction. Click Yes to exit, No to continue as a Net installation.There is not enough space in the file system.# df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 262144 19008 93% 13469 70% /dev/hd2 3407872 899272 74% 48175 18% /usr/dev/hd9var 524288 2720 100% 7215 80% /var/dev/hd3 262144 3172 99% 36 2% /tmp/dev/fwdump 786432 785984 1% 4 1% /var/adm/ras/platform/dev/hd1 262144 255684 3% 21 1% /home/dev/hd11admin 262144 261760 1% 5 1% /admin/proc - - - - - /proc/dev/hd10opt 524288 237508 55% 8450 14% /opt/dev/livedump 262144 261776 1% 4 1% /var/adm/ras/livedump/dev/fslv00 15466496 5979588 62% 15512 2% /db2# cd /tmp # ls.X11-unix .com_ibm_tools_attach .oslevel.datafiles .strload.mutex bea1066257007782166775.tmp# rm -rf *# ls.X11-unix .com_ibm_tools_attach .oslevel.datafiles .strload.mutex# ls -ltotal 0drwxrwxrwt 2 root system 256 Dec 16 10:16 .X11-unixdrwxrwxrwt 4 root system 256 Dec 16 10:58 .com_ibm_tools_attachdrwxr-xr-x 2 root system 256 Dec 13 15:22 .oslevel.datafiles-rw- 1 root system 0 Dec 12 14:38 .strload.mutex# df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 262144 18952 93% 13469 70% /dev/hd2 3407872 899272 74% 48175 18% /usr/dev/hd9var 524288 2048 100% 7214 82% /var/dev/hd3 262144 260548 1% 22 1% /tmp/dev/fwdump 786432 785984 1% 4 1% /var/adm/ras/platform/dev/hd1 262144 255684 3% 21 1% /home/dev/hd11admin 262144 261760 1% 5 1% /admin/proc - - - - - /proc/dev/hd10opt 524288 237508 55% 8450 14% /opt/dev/livedump 262144 261776 1% 4 1% /var/adm/ras/livedump/dev/fslv00 15466496 5973080 62% 15512 2% /db2# cd /db2# ls10gr2_aix5l64_database.cpio IAS lost+found weblogic wls1033_generic.jarDisk1 aixv538 pc wls1033_generic xlc# mkdir tmp# ls10gr2_aix5l64_database.cpio IAS lost+found tmp wls1033_generic xlcDisk1 aixv538 pc weblogic wls1033_generic.jar# mount /db2/tmp /tmp# df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 262144 18940 93% 13469 70% /dev/hd2 3407872 899272 74% 48175 18% /usr/dev/hd9var 524288 1936 100% 7214 82% /var/dev/hd3 15466496 5966260 62% 15513 2% /tmp/dev/fwdump 786432 785984 1% 4 1% /var/adm/ras/platform/dev/hd1 262144 255684 3% 21 1% /home/dev/hd11admin 262144 261760 1% 5 1% /admin/proc - - - - - /proc/dev/hd10opt 524288 237508 55% 8450 14% /opt/dev/livedump 262144 261776 1% 4 1% /var/adm/ras/livedump/dev/fslv00 15466496 5966260 62% 15513 2% /db2/db2/tmp 15466496 5966260 62% 15513 2% /tmp# ls /tmols: 0653-341 The file /tmo does not exist.# ls /tmp# ls10gr2_aix5l64_database.cpio IAS lost+found tmp wls1033_generic xlcDisk1 aixv538 pc weblogic wls1033_generic.jar# cd /tmp# ls# cd /db2# ls10gr2_aix5l64_database.cpio IAS lost+found tmp wls1033_generic xlcDisk1 aixv538 pc weblogic wls1033_generic.jar# java -jar wls1033_generic.jar (从这开始)Unable to instantiate GUI, defaulting to console mode.Extracting 0%.100%Welcome:-This installer will guide you through the installation of WebLogic . 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 ExitNext NextChoose Middleware Home Directory:- Middleware Home = Enter new value or use default /usr/local/Oracle/Middleware输入安装目录:Enter new Middleware Home OR ExitPreviousNext /db2/weblogicChoose Middleware Home Directory:- Middleware Home = /db2/weblogicUse above value or select another option: 1 - Enter new Middleware Home 2 - Change to default /usr/local/Oracle/Middleware下一步:Enter option number to select OR ExitPreviousNext NextChoose Middleware Home Directory:- Warning/db2/weblogic directory is not empty. Proceed with installation?Enter ExitPreviousNext NextRegister for Security Updates:-Provide your email address to be informed of security issues, install the product, and initiate configuration manager. /support/policies.html 1|Email: 2|My Oracle Support Password: 3|Receive Security Update:Yes不注册:Enter index number to select OR ExitPreviousNext 3Register for Security Updates:-Provide your email address to be informed of security issues, install the product, and initiate configuration manager. /support/policies.html Receive Security Update: = Enter new value or use default Yes选择不注册:Enter YesNo? NoRegister for Security Updates:-Provide your email address to be informed of security issues, install the product, and initiate configuration manager. /support/policies.html 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 YesNo? YesRegister for Security Updates:-Provide your email address to be informed of security issues, install the product, and initiate configuration manager. /support/policies.html 1|Email: 2|My Oracle Support Password: 3|Receive Security Update:No下一步:Enter index number to select OR ExitPreviousNext NextChoose 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 ExitPreviousNext 1JDK Selection (Any * indicates Oracle Supplied VM):-JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution. 1|Add Local Jdk 2|/usr/java6_64x *Estimated size of installation: 773.2 MB选择jdk,2是已安装好的jdk,默认,下一步:Enter 1 to add or = 2 to toggle selection OR ExitPreviousNext NextChoose Product Installation Directories:-Middleware Home Directory: /db2/weblogicProduct Installation Directories: 1|WebLogic Server: /db2/weblogic/wlserver_10.3 2|Oracle Coherence: /db2/weblogic/coherence_3.5Enter index number to select OR ExitPreviousNext 1Choose Product Installation Directories:- WebLogic Server = Enter new value or use default /db2/weblogic/wlserver_10.3Enter new WebLogic Server OR ExitPreviousNext NextChoose Product Installation Directories:-Middleware Home Directory: /db2/weblogicProduct Installation Directories: 1|WebLogic Server: /db2/weblogic/wlserver_10.3 2|Oracle Coherence: /db2/weblogic/coherence_3.5Enter index number to select OR ExitPreviousNext NextThe following Products and JDKs will be installed:-Weblogic功能安装列表: WebLogic Platform |_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 *Estimated size of installation: 773.3 MB下一步,开始进行安装:Enter ExitPreviousNext NextInstalling files.0% 25% 50% 75% 100%-|-|-|-*Performing String Substitutions. Configuring OCM.0% 25% 50% 75% 100%-|-|-|-*Creating Domains.Installation CompleteCongratulations! Installation is complete.Press Enter to continue or type Exit Clean up process in progress .7.创建域# cd /db2/weblogic/wlserver_10.3/common/bin(根据自己的安装路径)# lscommEnv.sh config_builder.sh setPatchEnv.sh startManagedWebLogic.sh unpack.sh wlscontrol.sh wlst.shconfig.sh pack.sh startDerby.sh stopDerby.sh upgrade.sh wlsifconfig.sh# ./config.shUnable to instantiate GUI, defaulting to console mode.Welcome:-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. 选择新建一个weblogic域,默认,下一步:Enter index number to select OR ExitNext NextSelect 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. Enter index number to select OR ExitPreviousNext NextApplication Template Selection:- Available Templates |_Basic WebLogic Server Domain - wlserver_10.3 1 |_WebLogic Advanced Web Services for JAX-RPC Extension - wlserver_10.3 2 |_WebLogic Advanced Web Services for JAX-WS Extension - wlserver_10.3 3 Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext 1Application Template Selection:- Available Templates |_Basic WebLogic Server Domain - wlserver_10.3 1 x |_WebLogic Advanced Web Services for JAX-RPC Extension - wlserver_10.3 2 |_WebLogic Advanced Web Services for JAX-WS Extension - wlserver_10.3 3 Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext NextEdit Domain Information:- | Name | Value | _|_|_| 1| *Name: | base_domain |输入weblogic域的名称:Enter value for Name OR ExitPreviousNext basedomainEdit Domain Information:- | Name | Value | _|_|_| 1| *Name: | basedomain |Use above value or select another option: 1 - Modify N
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 第Ⅲ课时 高考研究课-把握命题导向发展思维品质领悟创新性考法2026年高考历史第一轮总复习
- 大学计算机vb考试试题及答案
- 方程应用题的考试内容及答案
- 进贤一中考试试卷及答案
- 实操人工智能考试题及答案
- 2025年重症医学科初级职称第二部分相关知识试题(附答案)
- 2025年教师资格考试教育心理学考试试题(附答案)
- 四川护理高考试卷及答案
- 2025工地临时彩钢活动板房安装签订的安拆合同以及安全协议书
- 2025年商法概要及应用考试试卷及答案
- (高清版)JTGT 3365-02-2020 公路涵洞设计规范
- 2024年注册安全工程师考试题库及参考答案【完整版】
- 新制度经济学课件
- 智能硬件简介演示
- 旅游景区旅游安全管理制度
- 药物发展简史
- 生猪屠宰厂员工培训方案
- 幼儿园分餐培训课件
- 仓库安全管理培训内容
- 医院感染质控员培训课件
- 沁园春 长沙综合练习(含答案)统编版必修上册
评论
0/150
提交评论