AIX5.3 SDK和weblogic安装配置

合集下载

WebLogic安装配置说明

WebLogic安装配置说明

WebLogic安装及配置说明1.weblogic安装1.双击安装图标,需要一段准备时间,选择“Next”2.若是首次安装,勾选“Create a new BEA Home”,若以前安装过,可以选择“Usean exiting BEA Home”。

这里勾选“Create a new BEA Home”,选择“Next”继续安装3.勾选“complete”,选择“Next”继续安装4.选择“Next”,继续安装5.勾选“All Users start Menu folder”,选择“Next”继续安装6.选择“Next”,开始安装,需要等待一段时间7.选择“Done”,完成安装2.weblogic配置1.配置域:1)依次选择“开始”——>“程序”——>“Oracle Weblogic”——>“Webogic Server 10gR3”——>“Tools”——>“Configuration Wizard”,出现如下界面:2)选择“Next”,进入如下界面:3)继续选择“Next”,进入如下界面:User name :weblogicUser password:weblogicConfirm user password:weblogic4)选择“Next”,显示界面如下:其中“Available JDKs”选择上面的一项。

5)选择“Next”,进入如下界面:6)每个域对应一个端口号,多个域共用一个端口号会导致冲突,当存在多个域时,我们勾选“Y es”进行进一步的设置,否则勾选“No”,这里我们勾选“No”,选择“Next”,显示界面如下:7)修改Domain name为sale_domain,选择“Create”,当出现下图且progress 条为“100%”时,选择“Done”,完成域的创建。

2.启动服务器:依次选择“开始”——>“程序”——>“Oracle Weblogic”——>“user projece”——>“sale_domain”——>“start Admin server for weblogic server domain”来启动服务器,当命令行界面下出现“Running”和“Running Mode”时表示服务器启动成功。

AIX上安装WEBLOGIC

AIX上安装WEBLOGIC

作者:border88(姚) 2007-5-10邮箱:border1982@硬件要求:空间:不小于1G内存:不小于1G 最好2-4G之间CPU:不低于1.5GHz1.先确认安装的环境是不是AIX 5。

3[root@yaoxj ~]# oslevel5.3.0.02.创建组weblogicgroupadd weblogic --增加组cat /etc/group --查看是否增加这个组命令:adduser -g weblogic -p weblogic weblogic --增加用户3.从4./developerworks/java/jdk/aix/service.html可以从网上下载,但最好用192.168.5.188下的/data/weblogic/sdk目录和/data/weblogic/license目录因为网上要下好几个包,且要使用smit installp安装(我是从oracle里面把oracle 安装的java考过来用的,只需要bin和lib这两个文件夹就可以了)5.使用tar -xvf ibmjdk5.0.tar解开包6.配置weblogic 的JAVA 环境变在.profile 文件中增加如下几行PATH=$PATH:/data/weblogic/sdk/bin:/data/weblogic/sdk/jre/bin--注意和自己的JDK目录相同export PATHJAVA_HOME=/data/weblogic/sdk/ --注意和自己的JDK目录相同export JAVA_HOME保存退出7.退出使用weblogic 用户登陆执行java –versionjava version "1.5.0"Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20070201(SR4))IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20070201 (JIT enabled)J9VM - 20070131_11312_BHdSMrJIT - 20070109_1805ifx1_r8GC - 200701_09)JCL - 20070126放入BEA-ESB AIX光盘(或将相应安装文件传到AIX上) 使用MOUNT命令挂上光驱进入光盘相应目录如:/media/cdrom8.执行java -jar alsb250_wls920_generic.jar -mode=console -Xmx=1024m-Djava.io.tmpdir=/data/weblogic/tmp –log=/data/weblogic/log64.log出现下面字符:Extracting 0%....................................................................................................100% ################################################################之后,出现下面字符:输入Next################################################################ <------------------------ BEA Installer - BEA Products ----------------------->Welcome:--------This installer will guide you through the installation of BEA Products. Type"Next" or enter to proceed to the next prompt. If you want to change dataentered previously, type "Previous". You may quit the installer at any time by typing "Exit".Enter [Exit][Next]>Next################################################################之后,出现下面字符:输入1################################################################ <------------------------ BEA Installer - BEA Products ----------------------->BEA Systems License Agreement:------------------------------BEA SYSTEMS, INC. SOFTWARE LICENSE AGREEMENTUSE OF SOFTWARE ORDERED FROM BEA SYSTEMS, INC. ("BEA") IS PROVIDED ONLY UNDERLICENSE FROM BEA. PLEASE READ THE FOLLOWING LICENSE CAREFULLY AND INDICATE YOUR ACCEPTANCE BY CLICKING THE ACCEPTANCE BOX. CERTAIN CAPITALIZED TERMS AREDEFINED IN SECTION 11.1. LICENSE TERMSa. WebLogic SDK Use. The terms of this Section 1(a) are applicable to you ifyou have registered as a WebLogic SDK customer. Subject to the terms of thisAgreement, BEA grants to you a non-exclusive, non-transferable, royalty-freelicense to use WebLogic SDK solely for Development Use and Scale-Limited Personal Use for the number of users and/or developers and the number of CPU's, Servers and/or at the Sites, as specified at the time of registration. Third party software products or modules supplied by BEA, if any, may be used solely with the Software. All rights not specifically granted to you herein areretained by BEA.b. WebLogic SDK Pro Use. The terms of this Section 1(b) are applicable to youif you have registered as a WebLogic SDK Pro customer. Subject to the terms of this Agreement, BEA grants to you a non-exclusive, non-transferable,Use above value or select another option:1 - Yes, I agree with the terms of the license2 - No, I do not agree with the terms of the licenseEnter option number to select OR [Down][Exit][Previous]>1################################################################之后,出现下面字符:输入Next [输入安装路径,这里使用默认的所以输入Next]################################################################ <------------------------ BEA Installer - BEA Products ----------------------->Choose BEA Home Directory:--------------------------"BEA Home" = [Enter new value or use default "/data/weblogic/bea"] ################################################################之后,出现下面字符:输入1 [完全安装Complete]################################################################ <------------------------ BEA Installer - BEA Products ----------------------->Choose Install Type:--------------------Select the type of installation you wish to perform.->1|Complete| Install the following software components and examples:| - WebLogic Server| - Workshop for WebLogic Platform| - AquaLogic Service Bus2|Custom| Choose software components to install and perform optional configuration.Enter index number to select OR [Exit][Previous][Next]> 1################################################################之后,出现下面字符:输入1 [完全默认的产品]################################################################ <------------------------ BEA Installer - BEA Products ----------------------->Choose Product Installation Directories:----------------------------------------BEA Home Directory: [/data/weblogic/bea]Product Installation Directories:1|Default Product Home: [/data/weblogic/bea/weblogic92]2|Workshop for WebLogic Platform: [/data/weblogic/bea/workshop92]Enter index number to select OR [Exit][Previous][Next]> 1################################################################之后,出现下面字符:输入Next [完全默认的产品路径]################################################################ <------------------------ BEA Installer - BEA Products ----------------------->Choose Product Installation Directories:----------------------------------------"Default Product Home" = [Enter new value or use default "/data/weblogic/bea/weblogic92"]Enter new Default Product Home OR [Exit][Previous][Next]>Next################################################################开始安装,如下图################################################################<------------------------ BEA Installer - BEA Products ----------------------->Installing files..0% 25% 50% 75% 100%[------------|------------|------------|------------][**********************************]Performing String Substitutions...Creating Domains...################################################################执行:/data/weblogic/bea/weblogic92/common/bin/config.sh[和你的weblogic安装路径一样]################################################################ Unable to instantiate GUI, defaulting to console mode.<--------------------- BEA WebLogic Configuration Wizard ---------------------> Welcome:--------Choose between creating and extending a domain. Based on your selection,the Configuration Wizard guides you through the steps to generate a new orextend an existing domain.->1|Create a new WebLogic domain| Create a WebLogic domain in your projects directory.2|Extend an existing WebLogic domain| Extend an existing WebLogic domain. Use this option to add|applications and services, or to override existing database access (JDBC)|and messaging (JMS) settings. You can also incorporate additional|functionality in your domain, for example, by including AquaLogic Service|Bus.################################################################之后,出现下面字符:输入1################################################################ Enter index number to select OR [Exit][Next]> 1<--------------------- BEA WebLogic Configuration Wizard ---------------------> Select Domain Source:---------------------Select the source from which the domain will be created. You can create thedomain by selecting from the required components or by selecting from alist 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 [Exit][Next]> 1################################################################之后,出现下面字符:输入1################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Select 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 alist 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 [Exit][Previous][Next]> 1################################################################之后,出现下面字符:输入Next################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Application Template Selection:-------------------------------Available Templates|_____WebLogic Server (Required)x|_____Workshop for WebLogic Platform [2]|_____AquaLogic Service Bus [3]Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>3################################################################之后,出现下面字符:输入Next################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Application Template Selection:-------------------------------Available Templates|_____WebLogic Server (Required)x|_____Workshop for WebLogic Platform [2]|_____AquaLogic Service Bus [x]Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>Next################################################################之后,出现下面字符:输入2################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Administrator Username and Password:----------------------------------------------Create a user to be assigned to the Administrator role. This user is thedefault administrator used to start development mode servers.| Name | Value|_|_________________________|_________________________________________| 1| *User name: | weblogic|2| *User password: ||3| *Confirm user password: ||4| Description: | This user is the default administrator. | Use above value or select another option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"Enter option number to select OR [Exit][Previous][Next]> 2################################################################之后,出现下面字符:输入用户的密码weblogic################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Administrator Username and Password:----------------------------------------------Create a user to be assigned to the Administrator role. This user is thedefault administrator used to start development mode servers."*User password:" = []Enter new *User password: OR [Exit][Reset][Accept]> weblogic################################################################之后,出现下面字符:输入3 [确认用户密码]################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Administrator Username and Password:----------------------------------------------Create a user to be assigned to the Administrator role. This user is thedefault administrator used to start development mode servers.| Name | Value|_|_________________________|_________________________________________| 1| *User name: | weblogic|2| *User password: | ********|3| *Confirm user password: ||4| Description: | This user is the default administrator. | Use above value or select another option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> 3################################################################之后,出现下面字符:输入用户的确认密码weblogic################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Administrator Username and Password:----------------------------------------------Create a user to be assigned to the Administrator role. This user is thedefault administrator used to start development mode servers."*Confirm user password:" = []Enter new *Confirm user password: OR [Exit][Reset][Accept]> weblogic<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Administrator Username and Password:----------------------------------------------Create a user to be assigned to the Administrator role. This user is thedefault administrator used to start development mode servers.| Name | Value|_|_________________________|_________________________________________| 1| *User name: | weblogic|2| *User password: | ********|3| *Confirm user password: | ********|4| Description: | This user is the default administrator. | Use above value or select another option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard Changes################################################################之后,出现下面字符:输入Next################################################################ Enter option number to select OR [Exit][Previous][Next]> Next################################################################之后,出现下面字符:输入1 [开发模式,如果是现场则输入2 产品模式################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Domain Mode Configuration:--------------------------Enable Development or Production Mode for this domain.->1|Development Mode2|Production ModeEnter index number to select OR [Exit][Previous][Next]> 1################################################################之后,出现下面字符:输入1 [选择JDK]################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Java SDK Selection:-------------------->1|Unknown SDK 6.0 @ /data/weblogic/sdk2|Other Java SDKEnter index number to select OR [Exit][Previous][Next]>1################################################################之后,出现下面字符:输入Yes################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Choose Configuration Option:----------------------------*Do you want to modify any of the preconfigured settings or defaults in*your template?**To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected.1|Yes->2|NoEnter index number to select OR [Exit][Previous][Next]> Yes################################################################之后,出现下面字符:输入Next################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Choose Configuration Option:----------------------------*Do you want to modify any of the preconfigured settings or defaults in*your template?**To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected.1|Yes->2|No** Invalid input, only integer selection or page movement command are** accepted: YesEnter index number to select OR [Exit][Previous][Next]>1<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure the Administration Server:------------------------------------Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts theAdministration Console which is used to perform administrative tasks.| Name | Value |_|__________________|_____________________|1| *Name: | AdminServer |2| Listen address: | All Local Addresses |3| Listen port: | 7001 |4| SSL listen port: | N/A |5| SSL enabled: | false |Use above value or select another option:1 - Modify "Name"2 - Modify "Listen address"3 - Modify "Listen port"4 - Modify "SSL enabled"Enter option number to select OR [Exit][Previous][Next]> Next################################################################之后,出现下面字符:输入Next################################################################ <--------------------- BEA WebLogic Configuration Wizard --------------------->Configure Managed Servers:--------------------------Add or delete configuration information for Managed Servers. A typicalproduction environment has one or more Managed Servers. Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address | Listen port | SSL listen port | SSL enabled |_|_______|________________|_____________|_________________|_____________ |Enter name for a new OR [Exit][Previous][Next]> Next################################################################之后,出现下面字符:输入Next################################################################ <--------------------- BEA WebLogic Configuration Wizard --------------------->Configure Clusters:-------------------Add or delete configuration information for clusters. A cluster containsmultiple WebLogic Server instances that run simultaneously and worktogether to provide increased scalability and reliability. A clusterappears to be a single WebLogic Server instance to clients.| Name* | Multicast address | Multicast port | Cluster address |_|_______|___________________|________________|_________________| Enter name for a new Cluster OR [Exit][Previous][Next]>Next################################################################之后,出现下面字符:输入Next################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Unix Machines:------------------------Add or delete configuration information for machines. A machine is thelogical representation of the system that hosts one or more WebLogic Server instances. The Administration Server and Node Manager application use themachine definition to start remote servers.| Name |_|______|Enter name for a new Cluster OR [Exit][Previous][Next]>Next################################################################之后,出现下面字符:输入Next################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Clusters:-------------------Add or delete configuration information for clusters. A cluster containsmultiple WebLogic Server instances that run simultaneously and worktogether to provide increased scalability and reliability. A clusterappears to be a single WebLogic Server instance to clients.| Name* | Multicast address | Multicast port | Cluster address |_|_______|___________________|________________|_________________| Enter name for a new Cluster OR [Exit][Previous][Next]> Next################################################################之后,出现下面字符:输入Next################################################################<--------------------- BEA WebLogic Configuration Wizard ---------------------> Configure Machines:-------------------Add or delete configuration information for machines. A machine is thelogical representation of the system that hosts one or more WebLogic Server instances. The Administration Server and Node Manager application use themachine definition to start remote servers.| Name* | Node manager listen address | Node manager listen port |_|_______|_____________________________|__________________________| Enter name for a new Machine OR [Exit][Previous][Next]> Next################################################################之后,出现下面字符:输入Next################################################################ <--------------------- BEA WebLogic Configuration Wizard ---------------------> Select the target domain directory for this domain:---------------------------------------------------"Target Location" = [Enter new value or use default"/data/weblogic/bea/user_projects/domains"]Enter new Target Location OR [Exit][Previous][Next]> Next<--------------------- BEA WebLogic Configuration Wizard --------------------->Edit Domain Information:------------------------| Name | Value |_|________|_____________|1| *Name: | base_domain |Enter value for "Name" OR [Exit][Previous][Next]> ^C$################################################################之后,出现下面字符:输入Next################################################################ <--------------------- BEA WebLogic Configuration Wizard --------------------->Edit Domain Information:------------------------| Name | Value |_|________|_____________|1| *Name: | base_domain |Enter value for "Name" OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard ---------------------> Creating Domain...0% 25% 50% 75% 100%[------------|------------|------------|------------][***************************************************]**** Domain Created Successfully! ****################################################################/data/weblogic/bea/user_projects/domains/base_domain/startWebLogic.sh 启动服务器################################################################使用IE或Mozilla 游览weblogicServer控制台:http://192.168.5.188:7001/consoleESB控制台http://192.168.5.188:7001/sbconsole。

AIX 5.3 安装 weblogic 9.2 中文版本 Oracle10g R2中文版本安装记录

AIX 5.3 安装 weblogic 9.2 中文版本 Oracle10g R2中文版本安装记录
$ java -jar -Xmx2048m server921_ccjk_generic.jar
以下图形化,略。记得修改安装路径:/opt/bea
附注:如果以字符模式安装,加上参数 -mode=console
下面的就不多说了。跟普通安装weblogic没有什么区别。
安装后,无需执行quickstart.sh,
/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html
4:oracle的参考文档
/pls/db102/homepage
安装思路:依照英文文档,首先检查安装前的硬件要求,软件要求,添加Oracle用户组,执行相关Oracle命令。
1:扩展SWAP,并将物理卷PV加入卷组rootvg中
# extendlv hd6 5
# extendlv paging00 5
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
# lspv
hdisk0 000108bea5cd4a82 rootvg active
hdisk1 00c05860ab525174 rootvg active
/tmp 5000M
安装说明:
安装系统后,通过程管理AIX主机,图形化安装weblogic和oracle,安装过程时可以另外开1个root的文本终端.下个版本提供完全文本类型的安装方法。
AIX的安装选择全新安装。其它选择默认即可。
所需软件及文档:
1:jdk的下载,如果Oracle中使用EM,请下载64位的JDK版本

Weblogic安装配置手册

Weblogic安装配置手册

Weblogic安装配置手册一、Weblogic的安装与配置工作域1:双击weblogic安装文件,出现这边安装的画面:2:点击下一步进行安装3:勾选同意许可,点击下一步:4:选择BEA的主目录,点击下一步:5:点击下一步:6:选择产品目录,点击下一步:7:点击下一步:8:点击下一步:9:正在安装的画面10:安装完成后,点击完成:10:选择“开始——程序”中BEA目录下的Configuration Wizard,新建一个用户域:11:出现安装界面,选择新建,点击下一步:12:点击下一步:13:配置管理员的用户和密码,输入完成后点击下一步:14:配置JDK环境,点击下一步:15:选择“否”,点击下一步:16:输入用户域的名称和位置,点击下一步:17:正在安装中:18:安装完成后,点击完成:19:修改服务器端环境变量,添加BEA_HOME和JAVA_HOME20:启动用户域的服务器:“开始——所有程序——BEA Products—User Projects —TSOC—Start Admin Server for Weblogic Server Domain”,完成二、发布web应用程序1.启动Start Adimn Server forWeblogic Server Domain2.然后再启动Admin Server Console或者再IE地址中输入http://localhost/7001/console3.登陆,再左侧单击Deployment(部署),如图4.单击Install注:发布web应用程序必须在某个合法路径下建立一个工作域。

完全符合J2EE标准的WEB目录WEB-INF其中的web.xml(jsp2.0或Servlet2.4版本的)本例:在C:\下建立个testbea的文件夹,把Tomcat6.0\webapps\root下的WEB-INF文件夹copy到testbea中把C:\testbea\WEB_INF\classes和lib目录下东西删掉。

weblogic配置(AIX和windows)

weblogic配置(AIX和windows)

WEBLOGIC部署详细文档一、安装weblogic二、安装xmanager三、创建域1、在aixunix下创建域先通过xmanager登录系统,用户root口令root在terminal下执行cd /bea/weblogic81/common/bin./ config.sh建新域的操作同下面的windows的操作2、在windows下创建域1)启动开始菜单的quickstart,执行create a new domain configuration…2)下一步3)下一步,选自定义4)下一步,name=myserver,listen port:60015)下一步6)下一步,user=weblogic password=weblogic7)下一步8)下一步,选择生产模式aix机器要选用ibm提供的jdk,路径:/usr/java149)下一步10)创建,完成四、配置服务(省了)五、weblogic配置:1、启动服务:1)aixunix操作系统:通过xmanager登录系统,在terminal下执行cd/bea/user_projects/domains/mydomain/ ./startWebLogic.sh2、windows的操作,在开始菜单启动服务1)打开控制台http://地址:端口/console如:http://10.158.212.45:7001/consoleUsername:weblogic Password: weblogic2)Listen Address配置:配置如图所示页面中Listen Address:为应用服务器地址3)SSL Listen Port配置:4)数据库连接配置:a)连接池配置:b)配置连接池1.第一步,Configure a new JDBC Connection Pool...2.第二步,按图所示选择oracle,按continue3.第三步,按下面配置要求配置数据库4.第四步,可根据数据库实际配置修改url配置5.第五步,创建部署完成二、数据源配置:配置数据源1.第一步,Configure a new JDBC Data Source2. 第二步,按下面配置配置name 、JNDI name。

weblogic安装与配置

weblogic安装与配置

Weblogic安装与配置(windows)astonmarting一、安装1.下载weblogic安装包,一般下载通用安装包,下载地址:2.下载完成之后使用java -jar wls_121200.jar命令进行安装。

(注意:安装前确保你的电脑安装了jdk;下载下来的.jar的文件需要将它考进C:\Program Files\Java\jdk1.7.0_45\bin ,然后执行安装,不然将会报错)3.然后根据提示,点击“下一步”进行安装。

二、配置1.安装完成之,勾选“配置weblogic实例”,进入配置界面。

2.配置管理员的用户名和密码。

(密码至少必须为8个字母数字字符,并且至少包含一个数字或一个特殊字符)3.启动域,配置完成之后,勾选“启动域”,点击完成。

或者找到C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domai n目录下的startWebLogic,点击启动,在命令框按提示输入用户名密码。

当启动域后命令提升符显示如下的界面时,表示域已经启动成功。

4.打开浏览器,输入http://127.0.0.1:7001/console,进入Weblogic后台管理控制台。

三、部署方法一:控制台部署1.启动weblogic服务,登录到weblogic控制台页面,点击左侧的“部署”——>”安装”。

2.选择文件路径,点击“下一步”。

方法二:autodeploy自动部署自动部署时不需要登录控制台,在domain域的主目录下面有个autodeploy目录,直接将项目包拷贝到autodeploy目录下面就可以了。

开发模式下面,当weblogic启动时,会自动部署autodeploy目录下面的项目。

补充:1.开发模式和生产模式的区别开发模式:可以使用 WebLogic Server 安全服务提供的示范数字证书和示范密钥库。

利用这些证书,可设计出在由 SSL 担保的环境中工作的应用程序。

AIX5。3下用weblogic10。3+jdk1。6搭建WEB应用程序

AIX5。3下用weblogic10。3+jdk1。6搭建WEB应用程序
<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>
好了,如果以上步骤都完成了,并且没有报错,那么恭喜你,你的WEB服务应该已经部署成功了。^_^
安装完对应版本的JDK和weblogic,下面就是用Configuration Wizard新建一个DOMAIN,这个比较简单,我就不赘述了,E文稍微好一点的都应该能搞定,Configuration Wizardch程序:${WL_HOME}/wlserver_10.3/common/bin/.目录下的config.sh。
最近项目需要升级应用服务器,并且要将系统迁移到AIX上,终于可以不用JDK1.4了,低版本的JDK用久了,感觉自己都快与世界脱节了,SO马上动手自己搞一下。在这个过程中也遇到了一些问题,特此记录,希望对以后遇到此类问题的兄弟一点帮助。
先说welogic10.3,这个版本好象是不支持1.5以下的JDK的,而且如果你装的JDK1.6是SR3版的,也不行,需要降到SR2版。这个问题的出现让我对10.3的稳定性有很大的怀疑。网上有帖子说这个版本的WEBLOGIC必须装JDK1.6的64位版本,经过我的实践,32位的也是可以的,但是一定要是SR2版,否则会报Exception in thread "Thread-17" java.util.NoSuchElementException错。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Sysቤተ መጻሕፍቲ ባይዱems, Inc.//DTD Web Application 6.1//EN" "/servers/wls610/dtd/weblogic-web-jar.dtd">

aix_hacmp_oracle9i_weblogic安装

aix_hacmp_oracle9i_weblogic安装

AIX5.3+HACMP+Oracle9I+Weblogic8.1安装实施报告作者:肖艳华(CNOUG ID:brotherxiao)郭岳(CNOUG ID:David.Guo)Blog: 原文来自,如需转载,请勿更改文档任何部分第一章软硬件清单开始安装前请仔细检查以下内容是否齐全硬件设备IBM P510两台DS4300 阵列柜一台,含4块300G光纤硬盘盘柜相关附件(串口线2根,光纤线2根)HP DL380 两台HP KVM模块及液晶显示器IBM,HP标准42U机柜各一个,IBM机柜含PDU模块其他随机附件软件AIX5.3系统安装光盘AIX5.3 update补丁光盘AIX5.3 HACMP安装光盘Oracle9i for AIX 安装光盘Weblogic for AIX5L安装光盘Unzip解压工具包Windows 2003 server杀毒软件工具一字螺丝刀一把十字螺丝刀一把剪刀等其他第二章硬件安装1.机柜安装旋转IBM机柜底部四个支脚螺丝升起IBM机柜,将机柜移动至合适位置。

确定好机柜位置后(请考虑电源和网线介入方便)2.按照组装图拼装HP机柜。

3.将所有机器安装到机柜上,并接好UPS电源。

第三章盘柜配置1.接上盘柜电源,打开电源开关2.盘柜启动完成后,接通网线到交换机3.在本机上安装ibm存储管理软件storage manager 9,并确定能ping 192.168.128.101(默认配置I P:192.168.128.101/102 255.255.255.0)4.使用storage manager 9连接到盘柜进行配置5.划分逻辑驱动器大小为50G每个,共11个第四章操作系统安装基本操作系统安装¾打开主机电源。

¾连接好系统终端,把第一张安装介质(磁带、光碟)插入驱动器。

¾在开机后按<F5>(图形终端)进入系统安装画面。

¾当终端显示如下信息时:☆☆☆☆☆☆Please define the system console☆☆☆☆☆☆Type a 1 and press enter to use this terminal as the system console.Type een 1 en druk op enter om deze terminal als de systeemconsole to gebruiken.Skrive tallet 1 og trykk paa enter for aa bruke denne terminalen som systemkonsoll.Pour definir ce terminal comme console systeme, appuyez sur 1puis sur entree. Taste 1 and ansch1iessend die eingabetaste druecken,umdiese datenstation als systemkonsole zu verwenden.Prenier I1 tasto 1 ed invio per usare questo terminal como consolo.Escriba 1 y pulse intro para utilizer esta terminal como consola del sistema.Tryck paa 1 och sedan paa enter om dy vill att haer terminalen ska vara systemkonsol 键入“1”并回车(注意:键入的“1”不回显)选择主控台¾屏幕上将不断显示一些信息,几分钟后出现:>>> 1 Type 1 and press enter to have English during install.2 Type 2 en druk op enter om tijdens het installeren het Nederlands tekrijgen.3 Entrez 3 pour effectuer 1 installation en francais.4 Fr Installation in deutscher sprache 4 eingeben und die eingabetaste drcken.5 Immettere 5 e premereinvio per 1 installazione initaliona.6 Escriba 6 ypulse intro para usar el idioma espa ol durante la instalaci n.7 Skriv 7 och tryck ned enter=svenska vid installationen.88 Help?>>>Choice【1】:键入“1”后回车,选择语言环境为English¾此后屏幕出现:这是系统安装和维护的主菜单。

WebLogic安装配置

WebLogic安装配置

第一节WebLogic11g for windows + MSSQL 安装方法1.1安装webLogic方法(1) 产品安装有两种安装包一种是以.exe结尾的,一种是jar包形式的,两者的安装操作界面都是一样的,.exe结尾的双击就可以安装了,下面是jar包安装方式,首先确保JDK是1.6版本以上,版本号可以通过java –version 查询,从命令输入窗口进入存放jar包(wls1035_generic.jar)的目录(我的jar包存放在E盘下的Weblogic文件下)然后执行java –jar wls1035_generic.jar 回车开始安装…..接下来回弹出界面操作安装图示:选择安装目录取消勾选YES提示信息不用理会下一步继续YES弹出如下界面勾选后一个继续选择安装类型默认下一步进入下一步JDK 选择默认选择安装好的下一步选择产品安装目录继续下一步选择快捷方式位置这里默认继续下一步安装概要默认下一步正在安装界面安装完成默认启动Quickstart 点击完成接下来创建域1.2创建域可以在菜单通过Oracle WebLogic 下的Quickstart启动显示如下界面,选择第一个Gettingstarted with weblogic server进入创建域界面创建新的域进入选择域源这里默认继续下一步指定域名和位置这里可以对域名和域位置自定义配置管理员用户和口令下一步配置服务器启动模式和JDK 这里选择生产模式 进行下一步选择可选配置,这里是对集群的设置可不选,继续下一步配置概要默认就行,点击创建创建域完成在自己创建的域目录下的Bin文件里启动服务E:\Oracle\Middleware\user_projects\domains\peng_domain\bin 双击startWebLogic.cmd这里输出刚才设置的用户名和密码启动中……端口号为7001起来以后在浏览器输入地址http://localhost:7001/console登录管理平台1.4创建数据源(Data Source)在左侧菜单,域结构中(这个域名就是创建域时所设置的peng_domain)-- >>服务-- >>数据源点击数据源,显示如下界面单机界面右上角更改中心中的【锁定并编辑】按钮,可修改, 添加或删除此域中的项目。

weblogic安装配置

weblogic安装配置

中间件安装配置(Weblogic for LINUX)一.安装Weblogic Server9.21. 找到weblogic9.2的安装文件,以weblogic用户运行:java –jarserver920_generic.jar,开始解压,解压缩完以后,进入到Weblogic安装向导界面,如图所示:2.出现如下界面,点击“浏览”可以选择weblogic的主目录的路径,也可采用默认的安装路径;(这个路径需要记住,在配置实例的时候需要用到)3. 点击“下一步”,进入到下面的窗口,选择定制4. 选择“定制”,进入到下面的窗口,选择默认,下一步6. 选择产品安装目录,下一步。

7.开始安装8.安装完成12.在另一台服务器上重复上述操作。

二.创建Weblogic Cluster 1. 在weblogic安装目录下,运行config.sh,弹出下面的窗口:2. 在上面的窗口中选择第一项(新建WebLogic配置),然后点击“下一步”,进入到下面的窗口,选择生成一个自动配置的域,下一步;4. 输入控制台用户名以及密码,初始账号:weblogic 密码:weblogic123,下一步:5.选择JDK位置,下一步6.选择配置管理服务器、受管服务器、集群,下一步7.配置管理服务器,如下图,下一步8.配置受管服务器,如下图,下一步:9.配置集群,如下图,下一步10.把受管服务器加入到集群中,下一步11.配置概要,下一步填写域名,下一步:12.开始安装。

0 二.创建Weblogic Cluster 2113.安装文成。

14.把该节点的位于 /weblogic/user_projects 目录复制到令一台服务器的相同路径下,完成集群的配置。

AIX环境下应用服务器安装和配置

AIX环境下应用服务器安装和配置

AIX环境下应用服务器安装和配置1.环境●操作系统AIX 5.3.0.0●IP地址10.1.15.58●物理内存6G●JDK 1.4.2 —JAVA_HOME:usr/java14●JDK 1.5 —JAVA_HOME:usr/java5●JDK 1.6 —JAVA_HOME:usr/java6●远程访问工具Xmanager Enterprise 32.常用命令AIX系统文件目录操作:pwd:查看当前所在目录路径cd 目录名:进入指定目录ls:查看当前目录下所有文件rm 文件名:删除指定文件svmon –G:查看当前系统资源情况简单FTP上传示例:1.“开始”-“运行”-输入“FTP”2.open 10.1.15.583.输入用户名,输入密码4.成功登陆后就可以用dir查看命令查看FTP服务器中的文件及目录,用ls命令只可以查看文件5.使用mkdir命令创建临时文件夹,cd命令进入该文件夹,pwd查看当前路径6.使用bin命令,采用二进制传输。

如果你要上传下载,这一步很重要,不先执行这个命令,上传下载会很慢。

7.使用lcd e:\目标,进入本地文件夹,使用!dir命令查看当前本地文件路径8.使用put 文件名,进行ftp传输9.使用命令by退出ftp服务器3.安装和配置要点3.1.JDKAIX系统自带JDK 1.4.2,如需高版本,需要自行安装,步骤如下:1.从IBM官方网站下载安装包for AIX2.通过ftp将安装包上传至目标主机的temp文件夹3.如果是zip包,使用命令jar –xvf 包名.zip 解压缩4.在命令编辑器中输入smit,进入一个类似install的页面,选安装软件,选择安装包路径,然后开始安装(每次安装之前,应确保删除了安装目录下的.toc文件,该文件会保存上次安装的信息)5.安装成功后,退出smit界面6.设置环境变量,以jdk 1.6为例,如图所示(在weblogic和jboss启动时,都会自动设置环境变量,所以只需修改应用中间件的配置文件,指定安装的jre即可,一般无需单独设置环境变量):7.通过命令java –Xmx内存值m –version,可以查看当前环境下是否可以为jvm分配指定大小的内存3.2.WebSphere版本:5.1系统要求:jdk 1.4.2(不被更高版本的jdk所支持)1.将安装盘放入AIX机的光驱,在xmanger下命令编辑器中执行安装脚本(由于是图形化安装向导,所以需要在xmanger下运行)2.安装过程与NT环境下类似,期间需要指定安装目录,创建管理账户admin@bros3.安装完成后,可以进行安装检验,以确认是否正确安装(9090这个端口与AIX自带的webSM tools的端口冲突,这样需要修改两个xml文件,将9090替换为9092即可)1)Virtual Host : <WAS_HOME>/config/cells/<cellname>/virtualhosts.xml2)HTTPTransport :<WAS_HOME>/config/cells/<cellname>/nodes/<nodename>/servers/server1/server.xml4.输入以下命令启动WebSphere Application Server../IBM/WebSphere/AppServer/bin/startServer.sh server15.在浏览器输入下面地址,访问控制台http://10.1.15.58:9092/admin6.输入以下命令停止WebSphere Application Server../IBM/WebSphere/AppServer/bin/stopServer.sh server17.修改java虚拟机分配的内存大小3.3.Weblogic版本:10.3系统要求:jdk 1.6步骤:1.打开Xmanager,进入AIX,打开命令编辑器2.设置jdk 1.6的java环境变量,如图所示,设置之后java –version确认3.进入安装包所在文件夹,java –jar 安装包完整名称,弹出安装向导,按步进行即可,过程和NT下的安装基本相同,用户名密码admin@123456784. 安装完成后,进入命令编辑器,创建域,过程与NT 下类似5.启动weblogic服务,在命令编辑器下,进入创建域的路径,然后执行脚本./startWebLogic.sh(大小写敏感),启动成功之后,即可通过http://10.1.15.58:7001/console访问控制台6.停止服务停止Weblogic服务有多种:1、KILL掉进程2、通过”http://服务地址:7001/console”,shutdownserver 7.修改java虚拟机分配的内存大小3.4.Jboss版本:jboss 5.0.0.GA系统要求:jdk 1.61.从官网下载zip包,上传到指定文件路径下2.使用命令jar –xvf 包名.zip 解压缩3.在命令编辑器中进入路径如下:1)./run.sh 启动应用2)./shutdown.sh 停止应用4.在run.conf文件中修改为jre分配的内存大小4.JVM内存分配测试在10.1.15.58上,对各个中间件所能分配的JVM内存大小进行测试,采用两种方法进行测试:1.修改中间件的配置文件,为jvm指定分配内存的值,并查看系统资源占用情况2.通过命令java –Xmx内存大小m –version,为jvm内存指定值经试验证明,各中间件所能分配的JVM内存大小,完全取决于jdk的版本;即基于不同jdk版本的中间件,为jvm分配的内存值,以上测试1和2得出的结果是一致的。

AIX5.3安装操作指南

AIX5.3安装操作指南

AIX5.3安装操作指南AIX 5.3操作系统安装流程1.目的 (2)2.适用范围 (2)3.定义、缩写和分类 (2)4.流程描述与控制要求 (2)4.1 BOS的安装 (2)4.2 Bundle的安装 (7)4.3 修改.dtprofile和.profile (8)4.4 调整页面空间大小 (8)4.5 时区及时间的修改 (9)4.6 修改异步IO (10)4.7 安装中文语言包 (10)4.8 修改最大进程数 (10)4.9 修改limits文件 (11)4.10 创建光盘文件系统 (11)4.11 更改主机名 (12)4.12 设置网络地址 (12)4.13 修改操作系统安全审计配置 (13)5.依据文件 (13)6、记录表单 (14)7.文件版本控制 (14)1.目的本流程旨在规范 AIX 5.3操作系统的安装流程。

2.适用范围适用于AIX操作系统的安装步骤。

3.定义、缩写和分类无4.流程描述与控制要求4.1 BOS的安装与以往版本的AIX版本不同,AIX5.3已经取消了对MCA机器的支持,AIX5.3只能安装在PCI总线机器上。

步骤1:由光盘进行引导外部设备加电,按下Power键,将操作系统的第一张光盘插入CD-ROM驱动器待keyboard字样或图标出现在控制台上后,按F1/1键进入SMS中选择Multiboot修改bootlist,选择从光盘引导或直接在SMS选择Multiboot选择Install from中的cd0来进行安装或者直接通过按5/F5键(新的机器只支持5)直接从光盘进行引导步骤2:选择主控台从光盘引导以后出现的第一个界面如下:****** Please define the System Console. ******Type The F1 key and press to use this displaysthe System Console.按F1选择当前设备为主控台(console)步骤3:选择安装系统时所用的语言1 Type 1 and press Enter to have English during install………………………………按1选择英语步骤4:进入BOS安装设置菜单Welcome to Base Operating SystemInstallation and MaintenanceType the number of your choice and press Enter. Choice indicated by >>>>>>1 Start Install now with Default Settings2 Change/Show Installation Settings and Install3 Start Maintenance Mode for System Recovery88 Help ?99 Previous Menu>>> Choice [1]:按2选择修改安装设置步骤5:更改安装设置Installation SettingsEither type 0 or press Enter to install with current settings, or type thenumber of the setting you want to change and press Enter1 System SettingsMethod of installation ……………… New and Complete OverwriteDisk where you want to Install ……… hdisk02 Primary Language Environment Settings (AFTER install)Cultural Convention …………………… English (United States)Language ………………………………… English (United States)Keyboard ………………………………… English (United States)Keyboard Type………………………………Default3 More Options (Desktop,Security,Kernel,Software,…)>>>0 Install with the settings listed above+----------------------------------------------------88 Help ? |WARNING:Base Operating System Installation will99 Previous Menu |destroy or impair recovery of ALL data on the>>> Choice [1]:_ | destination disk hdisk0按1修改安装方式以及安装rootvg的硬盘介质步骤6:选择安装模式Change Method of InstallationType the number of your choice and press Enter.1 New and Complete OverwriteOverwrites EVERYTHING on the disk selected for installation.Warning: Only use this method if the disk is totally empty or there is nothingon the disk you want to preserve.2 Preservation InstallPreserves SOME of the existing data on the disk selected for Installation.Warning: This method overwrites the user (/usr), variable (/var), temporary(/tmp), and root (/) file systems. Other product (application) files andconfiguration data will be destroyed.3 Migration InstallUpgrades the Base Operating System to current release. Other product(application) files and configuration data will be spared.88 Help ?99 Previous Menu>>> Choice [3]:按1选择新装系统.注:如果是安装新机器,则没有这个界面,直接进入步骤7.步骤7:选择目的硬盘Change Disk(s) Where You Want to InstallType one or more numbers for the disk(s) to be used for installation and press Enter.To cancel a choice,type the corresponding unmber and Press Enter.At least one bootable disk must be selected.The current choice is indicated by>>>.Name Location Code Size(MB) VG Status Bootable>>> 1 hdisk0 10-6—00-8,0 8678 none Yes2 hdisk1 10-60-00-11,0 8678 none Yes3 MORE CHOICES …>>> 0 Continue with choices indicated above66 Devices not known to Base Operating System Installation77 Display More Disk Information88 Help ?99 Previous Menu>>>Choice [0]:按数字键选择或取消所要安装的硬盘介质,现在选中的是hdisk0。

Weblogic安装和配置

Weblogic安装和配置

Weblogic安装和配置.txt等待太久得来的东西多半已经不是当初自己想要的了。

一层秋雨一阵凉,一瓣落花一脉香,一样流年自难忘,一把闲愁无处藏。

幸福生活九字经:有希望,有事干,有人爱。

女人和女人做朋友,要之以绿叶的姿态,同时也要暗藏红花的心机。

Weblogic 安装和配置(转载)2008-04-02 | 标签: weblogic一.BEA Weblogic简介BEA WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应用的Java应用服务器。

将Java的动态功能和Java Enterprise标准的安全性引入大型网络应用的开发、集成、部署和管理之中。

BEA WebLogic Server拥有处理关键Web应用系统问题所需的性能、可扩展性和高可用性。

与BEA WebLogic Commerce ServerTM配合使用, BEA WebLogic Server可为部署适应性个性化电子商务应用系统提供完善的解决方案。

BEA WebLogic Server具有开发和部署关键任务电子商务Web应用系统所需的多种特色和优势,包括:1)领先的标准对业内多种标准的全面支持,包括EJB、JSB、JMS、JDBC、XML和WML,使Web应用系统的实施更为简单,并且保护了投资,同时也使基于标准的解决方案的开发更加简便。

2)无限的可扩展性BEA WebLogic Server以其高扩展的架构体系闻名于业内,包括客户机连接的共享、资源pooling以及动态网页和EJB组件群集。

3)快速开发凭借对EJB和JSP的支持,以及BEA WebLogic Server 的Servlet组件架构体系,可加速投放市场速度。

这些开放性标准与WebGain Studio配合时,可简化开发,并可发挥已有的技能,迅速部署应用系统。

4)部署更趋灵活BEA WebLogic Server的特点是与领先数据库、操作系统和Web服务器紧密集成。

Weblogic的安装与配置

Weblogic的安装与配置

Weblogic的安装与配置众所周知,发布一个由JSP/SERVLET开发的网站,除了需要相应的WEB服务器来响应普通网页的请求外还需要专门的应用服务器来响应动态网页JSP/SERVLET的请求。

对于商业用户来说,目前最流行的应用服务器软件要数BEA公司开发的WebLogic,下面介绍的是WebLogic5.1的版本。

先将WebLogic解压到/usr目录下,需要修改WebLogic安装目录下的StartWebLogic.sh脚本文件来来设置你的CLASSPA TH和JA VA_HOME,最后也是通过这个脚本文件来启动服务。

现在启动的服务还不支持JSP/EJB/Servlet等技术,所以还需要修改WebLogic安装目录下的weblogic.properties文件。

下面就详细介绍如何来配置这个文件。

------------------------------------------------------------------------------------------第98行:weblogic.system.listenPort=80设置HTTP端口,默认是7001第114行:weblogic.password.system=11111111设置启动Console的密码,默认密码长度为8位第139行:weblogic.system.SSLListenPort=7002设置SSL端口,默认是7002第236行:weblogic.system.minPasswordLen=8设置最小密码长度,默认为8位第495行-第508行:设置你自己的RMI,命令格式如下:weblogic.system.startupClass.[virtualName]=[fullPackageName]例如:weblogic.system.startupClass.hello=examples.rmi.hello.HelloImpl第524行:#weblogic.ejb.deploy=# /usr/WebLogic/myserver/Your_Ejb.jar,默认情况是不允许使用EJB,如果要使用可以把前面的注释去掉,再设置你的EJB的路径第539行-第543行:增加用户列表,命令格式如下:weblogic.password.[username]=XXX例如:weblogic.password.xxx=11111111第604行:weblogic.httpd.session.enable=true允许在服务器端使用session;session在开发电子商务程序时非常有用第663行-第674行:663行:#weblogic.jdbc.connectionPool.db2Pool=664行:# url=jdbc:db2//localhost/database,665行:# driver=.DB2Driver,666行:# loginDelaySecs=1,667行:# initialCapacity=4,668行:# maxCapacity=10,669行:# capacityIncrement=2,670行:# allowShrinking=true,671行:# shrinkPeriodMins=15,672行:# refreshMinutes=10,673行:# testTable=table,674行:# props=user=db2admin;password=db2admin设置你要使用到的JDBC POOL,默认情况是不允许使用,如果要使用JDBC POOL可以将前面的注释去掉,不过首先你的JDBC驱动程序必须是在StartWebLogic.sh的CLASSPA TH中已经存在的。

Weblogic安装和配置

Weblogic安装和配置

11.向服务器分配计算机,我这里为一个管理服务器AdminServer 和一个被管服务器myserver1 ,分别点击所侧这两个服务器,点击向右的箭头,选择完成后,点击“下一步”。
12.数据库(JDBC)选项选择否,点击“下一步”。
13.消息传递(JMS)选项选择否,点击“下一步”。
14.选择控制台的用户名、密码,我这里为weblogic/weblogic ,点击“下一步”。
startManagedWebLogic.cmd "myserver1" "http://10.2.18.203:8001" 按回车。
6.稍等片刻,当控制台出现<Server started in running mode>,说明被管服务器启动正常。
7.回控制台察看服务器状态,此时AdminServer 、myserver1 的状态为running ,启动完毕。
二.安装过程。
本次安装是在windows环境下安装,整个过程比较简单,大部分只需要按照默认的设置即可,步骤如下:
1) 双击 platform815_zh_CN_win32.exe 开始安装,出现欢迎界面,点击下一步。
2) BEA许可条款,选择“是”,单击下一步。
7) 最后把选择运行Quickstart选择去掉,点击安装完成。
三.配置过程。
安装完成之后,配置过程比较重要,要实现规划好,我这次只在一台计算机上配置,即主管服务器和被管服务器在一台机子上,还可以配置集群,这在以后的文章中再写,此配置过程,没有涉及到JDBC、JMS|,以及各种应用的部署,其过程基本如下:
5)关键任务可靠性
其容错、系统管理和安全性能已经在全球数以千记的关键任务环境中得以验证。

WebLogic在AIX下的安装及集群配置

WebLogic在AIX下的安装及集群配置

WebLogic815在AIX5.3下的安装及集群配置一、网络拓补图Table 2.服务器规划myserver70017002AppServer170037004 AppServer270057006Table 错误!未定义书签。

. 机器规划Name Node Manager ListenAddressNode Manager ListenPort MachineitsmMachine15555myserver, AppServer1,AppServer2ProxyServer三、安装前的准备首先请确认您要安装的WebLogic版本所在的平台已通过了BEA的认证。

确定一个安装目录,建议该目录下至少有1个G的空间,可单独创建个逻辑卷和文件系统创建一个bea用户组帐号groupadd –g 800 bea创建一个weblogic用户帐号useradd –d /home/weblogic –g 800 weblogic四、选择安装方式WebLogic在AIX平台下的安装方法一般有三种:图形窗口模式,控制台模式,无人守护安装模式,这里只介绍控制台安装模式。

WebLogic的安装介质分为两类,一种自带了JRE(后缀名为.bin),一种需要下载平台厂商所提供的JRE环境(后缀名为.jar)Bin方式的安装:首先赋予.bin可执行权限chmod a+x filename.bin然后执行./filename.bin -mode=console.jar方式的安装:此种方式需要预先安装IBM JDK。

这里假设安装在/usr/java14目录下。

如果已经安装,还要检查path中是否已经配置,如果没有配置,需要增加,见下图:PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/binJAVA_HOME=/usr/java14然后重新登陆,即可生效运行下面命令进行安装java -jar filename.jar -mode=console此处我们以bin方式安装五、开始weblogic安装1.以weblogic用户登陆系统,执行->2|Use an existing BEA Home [/home/beahome1]Enter index number to select OR [Exit][Previous][Next]>如果想更改默认的BEA主目录,重新输入完整的目录路径即可,否则运行回车符,进入下一步:5.在选择安装类型窗口,键入[1],运行回车符,进入下一步Choose Install Type:Enter index number to select OR [Exit][Previous][Next]>6.进入选择安装路径窗口Choose Product Directory:-------------------------Product Installation Directory= [/home/bea/weblogic81]7.8.六、配置weblogic域进入weblogic安装目录的/home/bea/weblogic81/common/bin目录,执行./config.sh第一步:选择建立新的域:<------- BEA WebLogic Configuration Wizard----------> Create or Extend a Configuration:extend functionality by enabling|WebLogic Workshop.Enter index number to select OR [Exit][Next]> 1录入1,回车,建立一个新的域。

AIX系统上oracle和weblogic安装

AIX系统上oracle和weblogic安装

第一章AIX系统上安装oracle数据库一、AIX系统下的环境准备1、首先建立orajdls用户在命令行窗口输入:#smit user执行后弹出用户管理的图形界面,选择第一项:ADD a User在用户增加界面中填写基本信息User name:orajdlsAdministrative user:truePrimary GROUP:dbaGROUP SET:dbaAdministrative Groups:dbaROLES:ManageBasicUsers其它选项默认即可,填好后点击OK按钮,就会创建该用户。

用户创建好后会在/home/下建立一个以用户名命名的文件夹,用户的环境变量文件(.profile)就在这个文件夹下。

要修改用户的信息,命令行输入:#smit user ,选择第三项:Chang/Show Characteristics Of a User,然后更改Home directory为/jdlsetax ,系统就会在/jdlsetax下生成.Profile文件。

2、建立dba组在命令行窗口输入:#smit group选择第二项:Add a Group在Group增加界面中,user list中输入orajdls,administrator list中输入orajdls,填好后点击OK按钮,就会创建该用户组。

注:如果数据库服务器上已经存在dba组,安装时我们不用再建立,所以只要命令行输入:#smit group,选择第三项:Chang/Show Characteristics Of a group,然后在dba组中把orajdls用户加进去就行了。

3、建立逻辑卷为orajdls用户建立一个逻辑卷jdlsetax,oracle数据文件都将存放到这个逻辑卷中。

在命令行窗口输入:#smitty lv选择第二项:ADD a Logical Volume在list列表里选择逻辑卷组的名称,rootvg是默认的根卷组,也可以自己建逻辑卷组Logical volume NAME:jdlsetaxVolume group name:rootvgNumber of Logical Partitions:80//这里80代表逻辑块的个数,一个块是512M,所以80个块实际就是分配40G空间Logical volume names:hdisk0Logical volume TYPE:jfs2//jfs2是大文件系统,最大可支持1TG的文件长度其它的选项默认即可,填好后点击OK按钮,就会成生jdlsetax逻辑卷。

AIX系统安装配置规范

AIX系统安装配置规范

AIX 操作系统安装配置规范目录AIX 操作系统安装配置规范 (1)1 系统安装配置标准. (3)2 安装配置指南. (6)2.1 操作系统安装. (6)2.2 语言包安装. (9)2.3 软件包安装. (10)2.4 补丁安装. (15)2.5 系统配置. (17)2.5.1 时区时间配置. (17)2.5.2 系统参数设置. (17)2.5.3 设置dump大小 (19)2.5.4 修改磁盘定额 (19)2.5.5 rootvg 镜像 (19)2.5.6 配置TCP/IP (20)2.5.7 修改用户限制 (20)2.5.8 调整Paging Space (20)2.5.9 启动异步IO (21)2.5.10 修改系统引导映像、顺序 (22)1系统安装配置标准2安装配置指南2.1操作系统安装将AIX系统光盘放进主机的cdrom中,启动主机,选1进入到SMS Menu选择从光盘引导启动。

进入如下安装界面后,选择2更改设置安装:指定安装方法(Method of Installation )为全新安装安装磁盘为hdiskO,语言环境为 English ,键盘默认。

New and Complete Overwrite ),选择0开始安装。

T nst 1 i rtg:日円=巴Oyer at i ng ZysirhPlease wait.-.AppiRsdtroy Bl^sedl tin©% *asts.亡sMpl亡二巴(in mtiuies.)Re^torine base DperatinE gystciti安装完成后,接受安装许可,进入系统。

License AgrESUKnTBL ype ur ■看]$£ t 廿N I UJE■富in entrjf fl cl ・Enter AFTER waking all dejirsd iij.se-.[pTitTy Fiel<isl0CEPT Installed Liietise 蚯r亡住merit罢Fl-He:p F^=ff*fr±sh F3=Ctmcel F#ListEEc+S^ReErt Us7+'.'=l'jroand Hsc+7=3dit l-Ec+^Inap-e L EC+3-Shell Bsc+Q-Eii i Enter =D[]在 CULTURACo nven tio n to in stall , LANGUAGEa nslatio n toi nstall zh_CN 」BM-eucCN 、Zh_CN.GB1803Q 确认安装,2.2语言包安装将AIX 系统安装光盘放入光驱安装,安装三种中文语言包,输入 smitty mlang,选择添加额外语言环境,中选择 ZH_CN.UTF-82.3软件包安装输入smitty in stallp ,选择In stall Software Bun die安装App-Dev , CDE Server三个软件包,选择从edrom 安装(如果从磁盘安装请输入对应的磁盘路径) ,接受license ,直至提示安装成功,安装单独的软件包:bos.data、bos.adt.* 、bos.dosutil 、devices.fcp.* 、bos.dlc 、bos.alt_disk_ in stall 、rsct.basic 。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

AIX5.3双机安装SDK5和Weblogic101.前期准备预安装环境▪服务器:IBM p550▪操作系统:AIX 5.3▪WebLogic Server版本:10.0▪JDK版本:Java1.51.1 版本确认首先请确认您要安装的WebLogic版本所在的平台已通过了BEA的认证,完整的认证平台列表请参考/wls/certifications/c..._810/index.html1.2 检查系统配置(双机)#uname –a查看操作系统、版本、主机名AIX p550 3 5 004A070C4C00#bootinfo –K查看操作系统位数32#bootinfo –y cpu的位数64#lsps –a检查交换空间Page Space Physical Volume Volume Group Size %Used Active Auto Type hd6 hdisk0 rootvg 2048MB 3 yes yes lv#oslevel –r检查操作系统系统5300-00#lsattr –El sys0 –a –realmem检查内存realmem 1048576 Amount of usable physical memory in Kbytes False2.下载IBM Java SDK 5.0 for AIX(双机)登陆https:///developerworks/java/jdk/aix/service.html在"Where to get SDK base image and JRE"一行,选择你需要下载的JDK版本和位数,我这里选择的是"Java 5 32-bit",如图:注意:在"Where to get SDK base image and JRE"一行选,不要选错了!~点进去之后,接着出现一个IBM账户,输入你的IBM ID和密码,登陆成功后,勾选"I agree"选项,然后点击"I confirm",进入下载页面,勾选"32-bit Java 5 SDK user guide(sdkguide.aix64. htm)[向导网页,可以不下载]"和"Base SDK (required)Java5.sdk.tar或者OR Java5.sdk.tar.gz"(真正的安装文件),接着用IBM的Java Applet下载这2个文件。

注:以下操作请在root用户下操作,若要想使用普通用户,可以选择"smitty installp"命令来安装JDK1.5,不过操作过程中可能还需要root用户来改变某些文件的权限,所以推荐使用root用户,安装完成后,仍可用root用户来改变JDK的权限。

3.下载WebLogic10.0 for AIX 32 bit的安装介质注:去/ 下载WebLogic Server10.0 for AIX5.3 (server100_generic.ja r), 想下载其他版本的WebLogic Server,请登陆MetaLink, 搜索"BEA Release Archive"即可找到。

例如:WebLogic Server 10.0的:4.上传文件并安装SDK(双机)下载完后,先阅读sdkguide.aix64.htm中的说明,接下来使用root用户 server100_generic.jar、J ava5.sdk.tar或者Java5.sdk.tar.gz上传到AIX上介绍三种安装方法,具体如下:(1)tar -xvf Java5.sdk.tar或者gunzip -c Java5.sdk.tar.gz | tar -xvf(根据你下载的文件压缩后缀),解压后得到Java5.sdkInstall the SDK:#installp -a -Y –R -d /<Install Path>/ Java5.sdk(2)或者使用smitty installp来安装也可以.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/jre/bin:/usr/java5/binJAVA_HOME=/usr/java5搞定!导入变量source /etc/environment(3)SMIT安装JDK使用smit安装# smit install_latest在INPUT device / directory for software 后面的[ ] 内输入Java5.sdk两个文件所在目录的位置如/tmp/javajdk(只输入目录即可),将ACCEPT new license agre ements? 选为yes将光标移动到SOFTWARE to install 选项按F4 列出目录下的文件,找到Java5.sdk ,J ava5.license两个文件按esc 7选择文件。

确定回车开始安装安装成功后,编辑:environment修改环境变量配置# vi /etc/environment找到以下一行,修改java安装路径,默认为java14,改成现在的版本路径PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin添加以下一行JAVA_HOME=/usr/java5 ;与实际安装路径一致保存退出注:如果安装失败后再次安装,安装目录下会产生一个.toc文件。

它记录了安装信息,必须把.toc文件删除掉(4)查看Java版本#java –version安装过程如下图:输入Java5.Sdk所在的目录。

Ok单击”*SOFTWARE to install”边的按钮List选中要安装的JDK,单击OK注意:ACCEPT new license agreements 改为yes,单击ok注:遇到的问题所要求的安装集,要进行更新安装。

安装命令如下# installp -a -Y –R -d /<Install Path>/ X11.base.rte 5.3.0.10 # installp -a -Y –R -d /<Install Path>/ X11.motif.lib 5.3.0.10 # installp -a -Y –R -d /<Install Path>/ bos.mp 5.3.0.30# installp -a -Y –R -d /<Install Path>/ bos.mp64 5.3.0.305.安装weblogic(双机)安装思路:创建weblogic的用户,以此用户安装相应的程序,未来的使用中此用户管理we blogic相应的服务。

步骤如下。

5.1 创建用户和用户组#mkgroup bea#useradd –g bea –m weblogic#passwd weblogic5.2 建立weblogic server的安装目录并授权目录#mkdir /oradata/weblogic //用户指定的目录#chown weblogic.bea /oradata/weblogic5.3 修改环境变量#su – weblogic$vi .profile修改PATH为PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java5/jr e/bin:/usr/java5/bin保存,退出。

$source .profile使之生效或者直接导入环境变量$Export PATH=$PATH: /usr/java5/jre/bin:/usr/java5/bin5.4开始安装$java –jar server100_generic.jar单击Next,创建BEA HOME,单击Browse本例选择我们已经建好的目录/oradata/weblogic //用户指定的目录选择完全安装,Next确认安装目录,单击Next开始安装安装完成,不选“快速启动”,单击Done。

至此,安装完成6.创建新的weblogic域6.1 把资源切换到A机上#cd /oradata/weblogic/wlserver_10.0/common/bin/ //用户指定的目录#./config.sh创建一个新域,单击Next生成自动配置的域来支持BEA产品,单击Next输入配置管理员的用户和密码,单击Next选择生产模式和默认的JDK,单击Next选择yes ,更改配置,单击Next修改Name 、Listen address 、Listen port 、SSL listen port 、SSL enabled (按照用户要求),单击Next注:Listen address 为本机的漂移ip这里可以指定一个或者多个Manager servers实例(本例不配置),本例单击Next配置Machines(本例不配置),单击Next输入域的名称和位置,单击Create开始创建。

至此,A机新域创建完成,单击Done在启动Weblogic之前,可将服务用户名和密码写入启动脚本。

进入刚刚配置完成的域目录(例如:/wls/user_projects/mydomain),编辑startWebLogic.sh 启动脚本,执行$ vi startWebLogic.shexport WLS_USER= 输入用户名export WLS_PW=输入密码在最后一行结尾处添加&字符,保存退出最后执行$ ./startWebLogic.sh,启动Weblogic..本例操作如下:$ cd /oradata/weblogic/user_projects/domains_test/base_domain_test/$./startWebLogic.sh注:启动服务遇到的错误,如下图错误原因:在用root用户启动weblogic的时候会在base_domain里产生root权限的文件,或者用root权限的文件覆盖了部分原来存在的weblogic用户所属文件,当再次切换到weblogic用户后,启动的时候就会出现权限问题,所以报告上面的错误。

相关文档
最新文档