Creating a New System

Assumming that you have run the zymobuild installer, and so the Zymonic Core is set up correctly. The following steps are needed to create a new zymonic system (my example system name will be 'new_system' for clarity):

Steps to Setting Up a New System
  Create a new directory for the system in /etc/zymonic/: sudo mkdir /etc/zymonic/new_system   Create a database for the system using the MySQL prompt (usually with the same name as the system): CREATE DATABASE new_system   Copy the file SystemOptions.xml from trunk, or from an existing system, and change the DB option in the file, to the name of the DB you created:  dbname new_system    Symbolic link core zymonic xml files, from trunk: sudo ln -s /root/trunk/xml/Zymonic*.xml. sudo ln -s /root/trunk/xml/ZymonicDefaultPermissions_xml ZymonicDefaultPermissions.xml   Symbolic link in the system xml that you require (this is to get pages from other systems you already have XML for, replace SYSTEMXML with the filepath to the system xml you desire): sudo ln -s /root/zcps-medoc/SYSTEMXML/*. N.B. Some systems may have a file *default_permissions.xml, if this is present then remove the link ZymonicDefaultPermissions.xml from the previous step. </li>  Run a full config build on the system: sudo zymonic_toolkit.pl System config_build --system new_system --full yes </li>

 To create a new admin user for the system, run the create admin command: sudo zymonic_toolkit.pl System create_admin --system new_system --username [username] </li> </ol>