Table of Contents |
---|
...
Datical should be installed as a non-root user. Commonly this user is , commonly named "datical
". As a user with root or sudoers
permissions, create the datical
user:
Code Block |
---|
sudo groupadd datical sudo useradd -d /opt/datical -g datical datical sudo passwd datical |
4. Set Up Installation Directories
Datical will be installed in the DaticalDB_x.y.z directory. If installing in the recommended location of /opt, this operation must be performed as a user with root or sudoers
permissions:
Code Block |
---|
sudo mkdir ./datical sudo mkdir ./datical/installers sudo mkdir ./datical/license sudo mkdir ./datical/DaticalDB_x.y.z cd ./datical sudo ln -sf datical./DaticalDB_x.y.z datical./DaticalDB |
Make sure that the "datical" user owns the datical directory and subdirectories.
...
10. Install the Database Drivers for the CLI
Online Installation
If your Linux machine has access to the internet, at the command line run the following command:
Code Block |
---|
<datical_install_dir>/repl/hammer installDrivers http://update.datical.com/latest/thirdparty |
Offline Installation
Or, if your Linux machine does not have access to the internet you will need to download Composite Repo zip file corresponding to your version of Datical DB (from http://software.datical.com). Then, at the command line, run the following command:
Code Block |
---|
<datical_install_dir>/repl/hammer installDrivers jar:file:/<path_to_repo>/DaticalDBCompositeRepo-<version>.zip\!/ |
...
Code Block |
---|
\!/ |
11. Verify the Install
Run the following commands to verify the install.
Code Block |
---|
hammer checkdrivers hammer show version hammer show license |
...