Oracle WebLogic Server 10.3 提供了一个通用的应用程序体系结构,包括:
- 一组集成的技术框架,提供满足您项目需求的、面向解决方案的起点
- 一个统一、简化的管理体系结构,使开发人员和管理人员能够在包含不同分布式技术和平台的环境中实现业务目标
- WebLogic Server 是一个高度可靠、可用、可伸缩、可扩展、基于标准的高性能基础,使您能够拥有更灵活的 IT 解决方案
您是 Dizzyworld Corporation 的应用服务器管理员。您将为您的企业设置安装并配置 Oracle WebLogic Server。通过使用 Oracle WebLogic Server,您可以部署、执行和维护高度集中、可靠的企业应用程序。Oracle WebLogic Server 通过为系统管理员和管理工作提供一个统一、简化、可扩展的平台,提高了生产效率并降低了企业设置的总拥有成本 (TCO)。
在启动任务前,确保您的系统环境满足以下要求:
软件要求
系统已安装了 Oracle WebLogic Server 10.3。
硬件要求
项 | 规格说明 |
处理器类型 | Intel Xeon 或 Pentium IV |
处理器速度 | 2.4 GHz 或更高 |
处理器数量 | 一个或多个(如果需要) |
内存 | 2 GB |
硬盘空间 | 20 GB(初始大小) |
操作系统 | RedHat Enterprise Linux 4 Update 5 |
要安装 Oracle WebLogic Server 平台,执行以下步骤:
1. | 导航至 Linux 可安装目录,在提示符下输入以下命令,然后单击 Next。 $ cd /stage
|
2. | 出现 Choose BEA Home Directory 屏幕。在 path 域中输入 /u01/app/oracle/product/Middleware,然后单击 Next。
|
3. | 在 Choose Install Type 屏幕中,选择 Custom 选项并单击 Next。
|
4. | 出现 Choose Products and Components 屏幕。取消选择 Workshop 选项,然后单击 Next。
|
5. | 选择捆绑的 BEA JRockit 1.6.0_05 SDK 选项并单击 Next。
|
6. | 在 Product Installation Directories 部分中,输入 /u01/app/oracle/product/Middleware/wlserver_10.3 作为 WebLogic Server 主目录路径,然后单击 Next。
|
7. | 查看安装概要,单击 Next。
|
8. | 您会看到安装已完成。接下来,单击 Done。您可以查看 QUICKSTART 信息,然后单击“X”关闭对话框。
|
域是 Oracle WebLogic Server 的基本管理单元。它包含一个或多个 Oracle WebLogic Server 实例,以及作为一个单元集中管理的逻辑相关资源和服务。基本域的基础架构包括一个管理服务器以及可选的受管理服务器和集群。要创建一个新的 WebLogic Server 域,执行以下步骤:
1. | 导航至 /u01/app/oracle/product/Middleware/wlserver_10.3/common/bin 并运行 config.sh 文件。
| ||||||||||||
2. | 选择 Create a new WebLogic domain 选项并单击 Next。
| ||||||||||||
3. | 在 Select Domain Source 屏幕中,保留 Generate a domain configured automatically to support the following products:选项并单击 Next。
| ||||||||||||
4. | 在 Configure Administrator Username and Password 页面中,提供下列值:
| ||||||||||||
5. | 在 Configure Server Start Mode and JDK 步骤中,在 WebLogic Domain Startup Mode 下,选择 Production Mode 选项并单击 Next。
| ||||||||||||
6. | 在 Customize Environment and Services Settings 页面中,选择 Yes 选项并单击 Next。
| ||||||||||||
7. | 在 Configure RDBMS Security Store Database 步骤中,保留默认值并单击 Next。
| ||||||||||||
8. | 在 Configure the Administration Server 步骤中,保留默认值并单击 Next。
| ||||||||||||
9. | 在 Configure Managed Servers 步骤中,单击 Add 提供下列值并单击 Next。
注:重复此步骤添加另一个受管理服务器 dizzy2,Listen port 设置为 7005。
| ||||||||||||
10. | 在 Configure Clusters 步骤中,单击 Next。
| ||||||||||||
11. | 在 Configure Machines 步骤中,单击 Next。
| ||||||||||||
12. | 查看 WebLogic 域汇总,单击 Next。
| ||||||||||||
13. | 在 Domain name 域中键入 dizzyworld,然后单击 Create。
| ||||||||||||
14. | 查看 WebLogic 域汇总,单击 Next。
| ||||||||||||
15. | 在 Creating Domain 屏幕中,单击 Done。
| ||||||||||||
16. | 要查看新建域的目录结构和文件,在提示符下输入以下命令: $ cd /u01/app/oracle/product/Middleware/user_projects/domains/dizzyworld
| ||||||||||||
17. | 要启动 WebLogic Server 实例,输入 ./startWebLogic.sh。
注:当系统提示时,键入 admin 作为用户名,welcome1 作为口令。
| ||||||||||||
18. | 要启动 Web 控制台,请打开浏览器,输入 http://localhost:7001/console 并单击 Go。
| ||||||||||||
19. | 在 Login 屏幕中,在 Username 和 Password 域中分别键入 admin 和 welcome1。接下来,单击 Log In。
| ||||||||||||
20. | 将显示 Web 控制台的主页。
|
总结
在本课程中,您学习了如何:
![]() | 验证前提条件 | |
![]() | 安装 Oracle WebLogic Server 平台 | |
![]() | 创建新的 WebLogic Server 域 |