AIX安装Weblogic Server10.3 详细过程.doc_第1页
AIX安装Weblogic Server10.3 详细过程.doc_第2页
AIX安装Weblogic Server10.3 详细过程.doc_第3页
AIX安装Weblogic Server10.3 详细过程.doc_第4页
AIX安装Weblogic Server10.3 详细过程.doc_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

AIX上安装Weblogic Server10.3 详细过程1.下载IBM Java SDK 6.0 for AIX登陆/developerworks/java/jdk/aix/service.html在Where to get SDK base image and JRE一行,选择你需要下载的JDK版本和位数,我这里选择的是Java 6 64-bit,如图: 注意:在Where to get SDK base image and JRE一行选,不要选错了!点进去之后,接着出现一个IBM账户,输入你的IBM ID和密码,登陆成功后,勾选I agree选项,然后点击I confirm,进入下载页面,勾选64-bit Java 6 SDK user guide(sdkguide.aix64.htm)向导网页,可以不下载和Base SDK (required)Java6_64.sdk.tar或者ORJava6_64.sdk.tar.gz(真正的安装文件),接着用IBM的Java Applet下载这2个文件。注:以下操作请在root用户下操作,若要想使用普通用户,可以选择smitty installp命令来安装JDK1.6,不过操作过程中可能还需要root用户来改变某些文件的权限,所以推荐使用root用户,安装完成后,仍可用root用户来改变JDK的权限。2.下载WebLogic10.3 for AIX 64 bit的安装介质注:去/下载WebLogic Server10.3 for AIX5.3(server103_generic.jar), 想下载其他版本的WebLogic Server,请登陆MetaLink, 搜索BEA Release Archive即可找到。例如:WebLogic Server 10.0的:3.上传文件下载完后,先阅读sdkguide.aix64.htm中的说明,接下来使用root用户server103_generic.jar、Java6_64.sdk.tar或者Java6_64.sdk.tar.gz上传到AIX上.4.用root用户安装JDK(1)tar -xvf Java6.sdk.tar或者gunzip -c Java6.sdk.tar.gz | tar -xvf(根据你下载的文件压缩后缀),解压后得到Java6.sdk Install the SDK: #installp_r -a -Y -R / -d . Java6_64.sdk Remove the SDK: #installp_r -u -R / Java6_64.sdk 或者使用smitty installp来安装也可以.(2)smitty install 选择安装路径,此处不赘述了,ACCEPT new license agreements? 修改为yes,我当时浪费了许多时间在这里。vi /etc/environment 修改PATH变量,添加JAVA_HOME变量如下:PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5_64/jre/bin:/usr/java5_64/binJAVA_HOME=/usr/java5_64搞定!导入变量source /etc/environment(3)SMIT安装JDK使用smit安装# smit install_latest 在INPUT device / directory for software 后面的 内输入Java6_64.sdk 两个文件所在目录的位置如/tmp/javajdk(只输入目录即可),将ACCEPT new license agreements? 选为yes将光标移动到SOFTWARE to install 选项 按F4 列出目录下的文件,找到Java14_64.sdk ,Java14_64.license两个文件 按 esc 7选择文件。确定回车开始安装环境变量配置安装成功后编辑:environment# vi /etc/environment 找到以下一行,修改java安装路径,默认为java131,改成现在的版本路径PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin 添加以下一行JAVA_HOME=/usr/java14_64 ;与实际安装路径一致保存退出5.设置环境变量,安装WebLogic10.3#export PATH=$PATH:/bin注:这里不推荐将$PATH、$CLASSPATH、$JAVA_HOME 设置到用户环境变量文件(.bash_profile或者.profile,添加完用source /.bash_profile)或者全局环境变量文件中.Tomcat 也一样,安装完只需要将$JAVA_HOME加入到:/Tomcat_Home/bin/setclasspath.sh的# First clear out the user classpath上边位置即可。尽量使使需用java程序执行的程序不依赖于系统环境变量(如果在系统环境变量中设置了相关的变量,而别的程序也设置了本地环境变量,而且JDK版本不一致,就会造成那个程序启动时造成影响冲突)。6.安装weblogic server安装过程中,因为/tmp太小,造成无法安装。# cd /db2# 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.创建域java -jar -Xmx2048m server921_ccjk_generic.jar附注:如果以字符模式安装,加上参数 -mode=console下面的就不多说了。跟普通安装weblogic没有什么区别(可以参考6,已验证)。安装后,无需执行quickstart.sh,直接创建新的域吧/db2/weblogic/wlserver_10.3/common/bin/config.sh搞定!# 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

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论