Since RPM and other native packaging formats don't just archive files but merely archive them
with the target destination path, you have to think about the installation layout at build
time. You will find the layout directives in the pom.xml
files below the
packages
module hierarchy.
CoreMedia DXP 8 strives to standardize the file layout on a target machine. The table below lists the common paths where configuration, log files or scripts can be found.
Default Path | Usage |
---|---|
| Each package will install and require a configuration property file below this folder. To reconfigure a service use the service
initialization script and its reconfigure option , for example sudo service cm7-cms-tomcat reconfigure . To reconfigure a tool a shell script will be provided in the tools
installation directory. Although not recommended, to change the default, modify the Maven property CONFIGURE_ROOT in the
packages/pom.xml .
|
| The configuration file to configure or reconfigure a package. |
| The installation directory for all CoreMedia packages. To change the default, modify the Maven property INSTALL_ROOT in the
packages/pom.xml
|
| The logging directory for all CoreMedia packages. To change the default, modify the Maven property LOG_ROOT in the
packages/pom.xml
|
| The directory where all Tomcat services will create their PID files. To change the default, modify the Maven property PID_ROOT in the
packages/pom.xml
|
| The common directory where Tomcat services will create their temporary folders. To change the default, modify the Maven property TMP_ROOT in the
packages/pom.xml
|
|
The common directory where Tomcat services store persistent data
if the data is not put into a database.
To change the default, modify the Maven property DATA_ROOT in the
packages/pom.xml
|
| The directory of the common Tomcat installation |
| The Tomcat service file. By default, the services file defines the following methods (start, stop, status, restart, reload, reconfigure). |
| The Tomcat standard out file. |
| The Tomcat service configuration. In this file you can modify CATALINA_HOME ,
CATALINA_PID , CATALINA_TMPDIR
and CATALINA_OUT
|
Table 9.4. Default Package Layout