适用于 UNIX 的 Sun Java Enterprise System 5 安装参考

默认安装目录

Java ES 安装程序会自动将产品组件安装在默认目录中,除非您另行指定了其他目录。多数情况下,均可在安装过程中或安装后指定配置值时指定一个自定义位置来覆盖默认位置。如果可行,请在安装产品组件时使用默认的安装目录。如果指定替代安装目录,则配置过程中,由您负责始终使各组件指向该安装目录。


注 –

不能更改以下组件的安装目录:HADB、Java DB、Message Queue、Monitoring Console 和 Sun Cluster 组件。


下表列出了 Java ES 产品组件的默认安装目录。

表 2–1 各产品组件的默认安装目录

标签和状态文件参数 

默认目录 

注释 

Access Manager

CMN_IS_INSTALLDIR

Solaris OS:/opt/SUNWam

Linux 和 HP-UX:/opt/sun/identity

 

Application Server 

CMN_AS_INSTALLDIR

Solaris OS:/opt/SUNWappserver/appserver

Linux 和 HP-UX:/opt/sun/appserver

包含 Application Server 实用程序、可执行文件和库。 

Application Server Domains 

CMN_AS_DOMAINDIR

Solaris OS:/var/opt/SUNWappserver/domains

Linux 和 HP-UX: 

/var/opt/sun/appserver/domains

在其中创建管理域的默认区域。 

Directory Preparation Tool 

CMN_DSSETUP_INSTALLDIR

Solaris OS:/opt/SUNWcomds

Linux:/opt/sun/comms/dssetup

HP-UX 上不支持 Directory Preparation Tool。 

Directory Server Core 

DSEE_BASE

Solaris OS:/opt/SUNWdsee/ds6

Linux 和 HP-UX:/opt/sun/ds6

分别定位 Directory Server EE 的子组件,其中包括 Directory Server Core、Directory Service Control Center 和 Directory Proxy Server。 

Directory Service Control Center

DSEE_BASE

Solaris OS:/opt/SUNWdsee/dscc6

Linux 和 HP-UX:/opt/sun/dscc6

Directory Proxy Server 

DSEE_BASE

Solaris OS:/opt/SUNWdsee/dps6

Linux 和 HP-UX:/opt/sun/dps6

Directory Server 实例目录 

DSEE_INSTANCE_DIR

Solaris OS:/var/opt/SUNWdsee/dsins1

Linux 和 HP-UX:/var/opt/sun/dsins1

 

HADB 

CMN_HADB_INSTALLDIR

您不能更改其安装目录,因而安装程序中无任何相应字段,状态文件中也无任何相应参数。 

Solaris OS:/opt/SUNWhadb

Linux 和 HP-UX:/opt/SUNWhadb

不能在 Java ES 安装中重新定位 HADB 安装位置。 

Solaris OS:/var/opt/SUNWhadb

Linux 和 HP-UX:/var/opt/SUNWhadb

HADB 系统信息库数据和日志位置。 

Solaris OS:/etc/opt/SUNWhadb

Linux 和 HP-UX:/etc/opt/SUNWhadb

HADB 管理代理配置文件。 

Solaris OS 和 Linux:/etc/init.d/ma-initd

HADB 管理代理启动脚本。 

Java DB 

JAVADB_BASDIR

您不能更改其安装目录,因而安装程序中无任何相应字段,状态文件中也无任何相应参数。 

Solaris:/opt/SUNWjavadb

Linux 和 HP-UX:/opt/sun/javadb

 

Message Queue 

您不能更改其安装目录,因而安装程序中无任何相应字段,状态文件中也无任何相应参数。 

不存在 

Solaris OS: 

/usr/bin

/usr/share/lib

/usr/share/lib/imq

/etc/imq

/var/imq

/usr/share/javadoc/imq

/usr/demo/imq

/opt/SUNWimq

Linux 和 HP-UX: 

/opt/sun/mq

/etc/opt/sun/mq

/var/opt/sun/mq

Monitoring Console 

CMN_MC_INSTALLDIR

您不能更改其安装目录,因而安装程序中无任何相应字段,状态文件中也无任何相应参数。 

Solaris OS:/opt/SUNWjesmc

Linux 和 HP-UX:/opt/sun/jesmc

 

Portal Server 

CMN_PS_INSTALLDIR

Solaris OS:/opt/SUNWportal

Linux 和 HP-UX:/opt/sun/portal

 

Portal Server Secure Remote Access 

CMN_SRA_INSTALLDIR

Solaris OS:/opt/SUNWportal

Linux 和 HP-UX:/opt/sun/portal

必须将 Portal Server Secure Remote Access 核心组件安装到与 Portal Server 相同的目录。 

Service Registry 

CMN_REG_SERVER_ROOT

Solaris OS:/opt/SUNWsrvc-registry

Linux 和 HP-UX:/opt/sun/srvc-registry

 

Sun Cluster 

您不能更改其安装目录,因而安装程序中无任何相应字段,状态文件中也无任何相应参数。 

不存在 

仅 Solaris OS 上支持 Sun Cluster 组件。 

在 Solaris OS 上,Sun Cluster 软件安装在以下位置: 

/

/usr/opt

/usr/cluster

Web Proxy Server 

CMN_WPS_INSTALLDIR

Solaris OS:/opt/SUNWproxy

Linux 和 HP-UX:/opt/sun/webproxyserver

 

Web Server 目录 

CMN_WS_INSTALLDIR

Solaris OS:/opt/SUNWwbsvr7

Linux 和 HP-UX:/opt/sun/webserver7

 

Web Server 实例目录 

CMN_WS_INSTANCEDIR

Solaris OS:/var/opt/SUNWwbsvr7

Linux 和 HP-UX:/var/opt/sun/webserver7