The Harmony installer for GNU/Linux always installs daemon scripts on your machine, but does not enable them by default. Hence, there are two approaches to installing the WebCC server daemon:
- By enabling the daemon that was already installed with Harmony using the chkconfig command.
- By running the Harmony installation script with the -w parameter.
The installation of a WebCC server also requires copying a script from the Harmony installation package. The installer does this automatically when it is launched with the -w parameter. If you choose to enable the WebCC daemon manually, you will also have to copy this script manually.
This daemon runs through the user usabatch, so this user must be created prior to installing the daemon.
In a terminal, enter the following command:
$ sudo useradd -m usabatch
$ sudo passwd usabatch
When prompted, enter the password you want to assign to the user usabatch, then confirm it.
The user usabatch is now created and can be used to run Harmony daemons.
In a terminal, enter the following command to check if the rendering script for WebCC is already in your database:
$ stat /USA_DB/scripts/TB_WebCC_Render.js
If the script is not in your database, copy it from the Harmony installation directory:
$ mkdir -p -m 777 /USA_DB/scripts
$ cp /usr/local/ToonBoomAnimation/harmonyPremium_15.0/resources/scripts/TB_WebCC_Render.js /USA_DB/scripts/
In a terminal, enter the following command to enable the WebCC server daemon:
$ sudo chkconfig toonboom_webcc on
If the command returns nothing, it succeeded. The WebCC server will launch next time you boot the machine.
To launch the WebCC server daemon immediately, run the following command:
$ sudo service toonboom_webcc start
The command will report whether it succeeded or failed.
In a terminal, navigate to the directory where you downloaded the installation package.
$ cd ~/Downloads
Extract the package's contents in the directory.
$ tar -xvzf ./name-of-package.tar.gz
Switch to the directory in which the package's contents were extracted.
$ cd name-of-package
Run the installer with the -d parameter:
$ sudo ./install -w
When prompted, confirm that you want to proceed with the installation.
The installation script will enable and start the WebCC server daemon.