1、Linux下WebLogic103的安装与配置Linux下WebLogic10.3的安装与配置WebLogic 10.3 安装、配置与管理手册 第二章 WebLogic 10.3 for SUSE linux 2.1 安装准备 下载WebLogic10.3 for x86 linux安装文件; 安装Suse Linux enterprise Server 11.0; 检查Suse环境,确保/root空闲空间在2G以上。如果/root空间不足,则应扩展root空间,或创建一个新的文件系统,并确保该文件系统空间在2G以上。本手册假定该文件系统的mount点是/soft;如root的空间足够,则在r
2、oot创建目录/soft作为安装源目录; 创建WebLogic使用的文件系统,该文件系统的mount点建议为/bea,空间应在2G以上,后续将安装WebLogic软件到该文件系统中。 2.2 安装过程 2.2.1 创建bea组和weblogic用户 使用root登录操作系统,执行下列命令创建bea组和weblogic用户。bea组号为600,weblogic用户号为600,属于bea组,home目录为/bea。 # groupadd -g 600 bea # useradd -d /bea -u 600 -g 600 weblogic # passwd weblogic - 激活weblogi
3、c用户 执行下列命令将/bea分配给weblogic用户。 # cd / # chown weblogic:bea /bea # chmod 755 /bea 2.2.2 上传安装文件并执行 使用weblogic登录,使用bin模式,上传WebLogic安装文件server103_linux.bin到soft目录,执行下列命令执行安装文件。 $ cd /soft $ chmod a+x server103_linux.bin $ ./server103_linux.bin -mode=console 系统自动解压缩安装文件,并启动文本的安装界面。 2.2.3 欢迎界面 Welcome: - T
4、his installer will guide you through the installation of WebLogic Platform 10.3.0.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 ExitNext next 2.2.4 指定WebLogic主目录为/bea Cho
5、ose BEA Home Directory: - BEA Home = Enter new value or use default /root/bea Enter new BEA Home OR ExitPreviousNext /bea Choose BEA Home Directory: - BEA Home = /bea Use above value or select another option: 1 - Enter new BEA Home 2 - Change to default /root/bea Enter option number to select OR Exi
6、tPreviousNext next 2.2.5 选择安装类型为Custom Choose Install Type: - Select the type of installation you wish to perform. -1|Complete | Install the following software products and examples: | - WebLogic Server | - Workshop 2|Custom | Choose software products and components to install and perform optional |
7、configuration. Enter index number to select OR ExitPreviousNext 2 2.2.6 选择要安装的产品组件 需取消安装Workshop和Server Examples Choose Products and Components: - Release 10.3.0.0 |_WebLogic Server 1 x | |_Core Application Server 1.1 x | |_Administration Console 1.2 x | |_Configuration Wizard and Upgrade Framework
8、1.3 x | |_Web 2.0 HTTP Pub-Sub Server 1.4 x | |_WebLogic JDBC Drivers 1.5 x | |_Third Party JDBC Drivers 1.6 x | |_WebLogic Server Clients 1.7 x | |_WebLogic Web Server Plugins 1.8 x | |_UDDI and Xquery Support 1.9 x | |_Server Examples 1.10 x |_Workshop 2 x |_Workshop for WebLogic 2.1 x |_Workshop
9、Runtime Framework 2.2 x *Estimated size of installation: 788.3 MB Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext 2 Choose Products and Components: - Release 10.3.0.0 |_WebLogic Server 1 x | |_Core Application Server 1.1 x | |_Administration Console 1.2 x | |_C
10、onfiguration Wizard and Upgrade Framework 1.3 x | |_Web 2.0 HTTP Pub-Sub Server 1.4 x | |_WebLogic JDBC Drivers 1.5 x | |_Third Party JDBC Drivers 1.6 x | |_WebLogic Server Clients 1.7 x | |_WebLogic Web Server Plugins 1.8 x | |_UDDI and Xquery Support 1.9 x | |_Server Examples 1.10 x |_Workshop 2 |
11、_Workshop for WebLogic 2.1 |_Workshop Runtime Framework 2.2 *Estimated size of installation: 406.3 MB Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext 1.10 Choose Products and Components: - Release 10.3.0.0 |_WebLogic Server 1 x | |_Core Application Server 1.1 x
12、 | |_Administration Console 1.2 x | |_Configuration Wizard and Upgrade Framework 1.3 x | |_Web 2.0 HTTP Pub-Sub Server 1.4 x | |_WebLogic JDBC Drivers 1.5 x | |_Third Party JDBC Drivers 1.6 x | |_WebLogic Server Clients 1.7 x | |_WebLogic Web Server Plugins 1.8 x | |_UDDI and Xquery Support 1.9 x |
13、|_Server Examples 1.10 |_Workshop 2 |_Workshop for WebLogic 2.1 |_Workshop Runtime Framework 2.2 *Estimated size of installation: 360.4 MB Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext next 2.2.7 选择要安装的JDK JDK Selection (Any * indicates BEA Supplied VM): - JD
14、K(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|/bea/jdk160_05x* 3|/bea/jrockit_160_05x* *Estimated size of installation: 713.2 MB Enter 1 to add or = 2 to toggle selection OR Exi
15、tPreviousNext next 2.2.8 安装确认 Choose Product Installation Directories: - BEA Home Directory: /bea Product Installation Directories: WebLogic Server = Enter new value or use default /bea/wlserver_10.3 Enter new WebLogic Server OR ExitPreviousNext next The following Products and JDKs will be installed
16、: - WebLogic Platform 10.3.0.0 |_WebLogic Server | |_Core Application Server | |_Administration Console | |_Configuration Wizard and Upgrade Framework | |_Web 2.0 HTTP Pub-Sub Server | |_WebLogic JDBC Drivers | |_Third Party JDBC Drivers | |_WebLogic Server Clients | |_WebLogic Web Server Plugins |
17、|_UDDI and Xquery Support |_JDKs |_Sun SDK 1.6.0_05 |_BEA JRockit 1.6.0_05 SDK *Estimated size of installation: 713.3 MB Enter ExitPreviousNext next 2.2.9 文件复制 Installing files. 0% 25% 50% 75% 100% -|-|-|- * Performing String Substitutions. Creating Domains. 2.2.10 安装结束 Installation Complete Congrat
18、ulations! Installation is complete. Press Enter to continue or type Exit 按回车键 2.3 创建管理服务器的域 AdminServer Name: AdminServer Listen Address: 192.168.100.1 Listen Port: 8080 SSL Listen Port: 8081 SSL enabled: true Domain Name: weblogic 2.3.1 运行Configuration Wizard $ cd /bea/wlserver_10.3/common/bin ./co
19、nfig.sh -mode=console 2.3.2 选择创建新域 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 dir
20、ectory. 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 inclu
21、ding AquaLogic Service |Bus. Enter index number to select OR ExitNext 1 2.3.3 选择域源 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 a list of existing domain templates. -1|Choose
22、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
23、 ExitPreviousNext 1 Application Template Selection: - Available Templates |_WebLogic Server (Required)x Enter number exactly as it appears in brackets to toggle selection OR ExitPreviousNext next 2.3.4 配置管理员及密码 Configure Administrator Username and Password: - Create a user to be assigned to the Admi
24、nistrator role. This user is the default 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