分享
 
 
 

Linux下weblogic 12.1.1.0的搭建

王朝学院·作者佚名  2016-05-26
窄屏简体版  字體: |||超大  

linux下weblogic 12.1.1.0的搭建

Linux下weblogic 12.1.1.0的搭建

简介:

WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应 用的java应用服务器。将Java的动态功能和Java EnterPRise标准的安全性引入大型网络应用的开发、集成、部署和管理之中。

软件的下载:

weblogic_server103_linux32.bin下载地址 http://pan.baidu.com/s/1hqiWQMC

fmw_12.1.3.0.0_wls.jar下载地址http://pan.baidu.com/s/1nt5Nrip

wls1211_linux32.bin下载地址http://pan.baidu.com/s/1o6uVTA6

下面是搭建的操作:

# groupadd weblogic# useradd -g weblogic weblogic# passwd weblogic# mkdir -p /root/weblogic# chown -R weblogic:weblogic /root/weblogic# chmod a+x /root/wls1211_linux32.bin# ./wls1211_linux32.bin

上面那部可能会报错-bash: ./wls1211_linux32.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

解决:# yum install glibc.i686

Welcome:--------This installer will guide you through the installation of WebLogic 12.1.1.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]> NextChoose Middleware Home Directory:--------------------------------- "Middleware Home" = [Enter new value or use default "/root/Oracle/Middleware"]Enter new Middleware Home OR [Exit][Previous][Next]> /root/weblogicChoose Middleware Home Directory: --------------------------------- "Middleware Home" = [/root/weblogic]Use above value or select another option: 1 - Enter new Middleware Home 2 - Change to default [/root/Oracle/Middleware]Enter option number to select OR [Exit][Previous][Next]> NextRegister 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]> 3Register 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]? NoRegister 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]? yesRegister 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]> 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 [Exit][Previous][Next]> 1Choose Product Installation Directories:----------------------------------------Middleware Home Directory: [/root/weblogic]Product Installation Directories: 1|WebLogic Server: [/root/weblogic/wlserver_12.1] 2|Oracle Coherence: [/root/weblogic/coherence_3.7]Enter index number to select OR [Exit][Previous][Next]> NextThe following Products and JDKs will be installed:-------------------------------------------------- WebLogic Platform 12.1.1.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 | |_____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,178.0 MBEnter [Exit][Previous][Next]> NextInstalling files..0% 25% 50% 75% 100%[------------|------------|------------|------------][***************************************************]Installing JDK....Performing String Substitutions... Configuring OCM...Installing Patches...Creating Domains...Installation CompletePress [Enter] to continue or type [Exit]> ↙配置weblogic# cd /var/bea/wlserver_12.1/common/bin# ./config.shWelcome:--------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.Enter index number to select OR [Exit][Next]> 1Select 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 [Exit][Previous][Next]> 1Application Template Selection:------------------------------- Available Templates |_____Basic WebLogic Server Domain - 12.1.1.0 [wlserver_12.1]x |_____Basic WebLogic SIP Server Domain - 12.1.1.0 [wlserver_12.1] [2] |_____WebLogic Advanced Web Services for JAX-RPC Extension - 12.1.1.0 [wlserver_12.1] [3] |_____WebLogic Advanced Web Services for JAX-WS Extension - 12.1.1.0 [wlserver_12.1] [4]Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> nextEdit Domain Information:------------------------ | Name | Value | _|________|_____________| 1| *Name: | base_domain |Enter value for "Name" OR [Exit][Previous][Next]> weblogicEdit Domain Information:------------------------ | Name | Value | _|________|_______ | 1| *Name: | weblogic |Use above value or select another option: 1 - Modify "Name" 2 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> nextSelect the target domain directory for this domain:--------------------------------------------------- "Target Location" = [Enter new value or use default "/var/bea/user_projects/domains"]Enter new Target Location OR [Exit][Previous][Next]> NextConfigure Administrator User Name and Password:-----------------------------------------------Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________________| 1| *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 "Name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description"Enter option number to select OR [Exit][Previous][Next]> 2Configure Administrator User Name and Password:-----------------------------------------------Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers. "*User password:" = []Enter new *User password: OR [Exit][Reset][Accept]> 输入密码(至少八位)Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________________| 1| *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 "Name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description" 5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> 3Configure Administrator User Name and Password:-----------------------------------------------Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers. "*Confirm user password:" = []Enter new *Confirm user password: OR [Exit][Reset][Accept]> 重复密码(至少八位)Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________________| 1| *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 "Name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description" 5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> nextDomain Mode Configuration:--------------------------Enable Development or Production Mode for this domain. ->1|Development Mode 2|Production ModeEnter index number to select OR [Exit][Previous][Next]> 2Java SDK Selection:------------------- ->1|JRockit SDK 1.6.0_29 @ /var/bea/jrockit_160_29_D1.2.0-102|Sun SDK 1.6.0_29 @ /var/bea/jdk160_29 3|Other Java SDKEnter index number to select OR [Exit][Previous][Next]> nextSelect Optional Configuration:------------------------------ 1|Administration Server [ ] 2|Managed Servers, Clusters and Machines [ ] 3|RDBMS Security Store [ ]Enter index number to select OR [Exit][Previous][Next]> 1Select Optional Configuration:------------------------------ 1|Administration Server [x] 2|Managed Servers, Clusters and Machines [ ] 3|RDBMS Security Store [ ]Enter index number to select OR [Exit][Previous][Next]> nextEach WebLogic Server domain must have one Administration Server. The AdministrationServer 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]>nextCreating Domain...0% 25% 50% 75% 100%[------------|------------|------------|------------][***************************************************]**** Domain Created Successfully! ****

搭建好环境后,编辑启动脚本,加入用户名和密码。

vim startWebLogic.sh

umask 037 这行下面加下面2行

WLS_USER=weblogic

WLS_PW=weblogic8

启动weblogic#nohup ./startWebLogic.sh &http://192.168.1.50:8080/console/ 浏览器一定要加http用户名为weblogic

密码:八位密码

Weblogic 开机启动# vi /etc/rc.local追加nohup /root/weblogic/user_projects/domains/weblogic/bin/startWebLogic.sh &

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有