Configure the ece Script
To configure the ece
shell script:
On your assembly-host, while logged in as
root
:
-
Create an empty file in the
/etc/escenic/
foldercalled ece-engine1.conf
:#
touch /etc/escenic/ece-engine1.conf -
Open
/etc/escenic/ece-engine1.conf
, and copy into it the parameter settings listed below from/etc/escenic/ece.conf
. Edit the copied parameter settings. If you have followed all the instructions in this guide exactly, then the following settings should work:java_home
-
Make sure that this is set to the path of the Java virtual machine included in the JDK you installed (see Install Java SE Development Kit (JDK)).
ece_home
-
Set this to engine-installation.
escenic.server
-
Set this to the host name or IP address.
ece_security_configuration_dir
-
Set this to
/etc/escenic/engine/common/security
. appserver
-
Currently, the only valid setting for this is
tomcat
. tomcat_home
-
Set this to
/opt/tomcat-engine1
. assemblytool_home
-
Set this to assemblytool_installation.
-
Create the standard installation directory structure. Enter the following commands:
#
mkdir -p /var/{crash,lib,log,run,cache,spool}/escenic#
chown escenic:escenic /var/{crash,lib,log,run,cache,spool}/escenic -RThese commands will create the following folders and assign them to the
escenic
user:/var/crash/escenic /var/lib/escenic /var/log/escenic /var/run/escenic /var/cache/escenic /var/spool/escenic
If, for any reason, you do not want to install Content Store files in standard locations and you have modified any of the following settings in the
ece.conf
file:cache_dir log_dir pid_dir heap_dump_dir
then you must make sure that all the referenced folders exist and that the
escenic
user has write permission to them. You are strongly advised, however, not to do so. All instructions in this manual and the Server Administration Guide assume files are installed in standard locations.