•本指南的用意并不在于显示 JBoss portal 的全部功能。其目的是教会你如何使用 JBoss portal 的基本功能。还有一个
用户指南和参考指南将帮助您更加上深入地学习使用 JBoss portal。
•本指南总所设计的门户网站是使用 JBoss Portal 2.6.2 版本。该指南涉及兼容未来版本的门户网站(虽然截图可能略有不同)。
• 尽管 JBoss portal 一个独立的平台,但该指南是使用一种基于 Linux 的平台。本指南同样适用于 Unix/Linux/Windows 上
安装,因为 Jboss portal 是 100%纯粹由 Java 开发而成。显然,您只需要使用 run.bat 而不是 run.sh 和使用正斜线而
不是反斜线,等等
Chapter 2.
Installation
Kevin Barfield
Chris DeLashmutt
Xi Huang
2.1. Downloading and Installing
The JBoss Portal bundle contains everything needed to execute JBoss Portal with the exception of Java itself. The
JBoss Application Server in the JBoss Portal bundle requires either JDK1.5 or JDK 1.4. If you do not have
one of these on the machine that JBoss Portal will be running on, please download it here:
http://java.sun.com/javase/downloads/index_jdk5.jsp. Once you have Java installed, you are ready to download
the JBoss Portal bundle. The following link has the list of downloads for JBoss Portal:
http://labs.jboss.com/portal/jbossportal/download [http://labs.jboss.com/jbossportal/download]. Download the "JBoss
Portal + JBoss AS" bundle by clicking the "Download" link on the right of the page. From here, you will need to
unzip it to your machine (Note: If you do not have a ZIP utility, please go to this link to get it:
http://sourceforge.net/projects/sevenzip[http://sourceforge.net/projects/sevenzip/]). Once you have unzipped it,
you should have a directory structure with the following folders under, jboss-portal-2.6.2-GA:
• bin - Contains the startup/shutdown commands for the JBoss Portal
• client - Contains client libraries
• docs - Contains documentation for the JBoss Portal
• lib - Contains libraries
• server - Contains JBoss Application Server configuration and the jboss-portal.sar file in the
"deploy" directory
安装
2.1 下载和安装
除了 Jboss portal 本身的 Java 程序除外 ,JBoss portal 软件包含所有需要执行的 JBoss 门户组
件。
JBoss portal 软件包中的 jboss 应用服务器既可以运行在 JDK 1.5 上又可以运行在 JDK 1.4 之上。
如果你没有 jboss 运行所需要的 Java 虚拟机,你可以在以下地址下载:http://java.sun.com/java
se/downloads/index_jdk5.jsp 如果你有 JVM 的安装,正准备下载了 JBoss portal 软件包。以下
就是链接清单:http://labs.jboss.com/portal/jbossportal/download
[http://labs.jboss.com/jbossportal/download]你只需要在页面右侧点击“下载”链接,就可以下
载“JBoss Portal + JBoss AS”软件包了。从这里,你只需要解压到你的电脑上就可以了。当你解压后,
您应该有一个结构目录,包含下列文件夹(jboss-portal-2.6.2-GA):
• bin -包含启动/关机命令 JBoss 的门户的命令。
• client -包含客户端库
• docs -包含 JBoss 门户的文件
• lib -包含资料库
• server -包含 JBoss 应用服务器的配置和 JBoss - portal.sar 档案
的部署目录
2.2. Starting JBoss Portal