Skip to main content

Installing a Linux server

warning

Before you begin the installation, please ensure that you have a working Jadu Central installation and have installed all prerequisites before installing forms configuration.

note

All commands should be run as root, as escalated privileges are required.

Install​

  1. Copy the installer package to the server

  2. Extract the installation package

    unzip XFP-8.0.0-Config-Installer-LAMP-WISP.zip
  3. Now change to the extracted installer directory

    cd xfp-installer
  4. Add execute permissions to install.sh script

    chmod u+x install.sh
  5. Now run the installer

    ./install.sh -d /path/to/jadu/

    If no errors occurred during installation, you should see an output similar to the following:

    Checking prerequisites are installed...
    Installing database...
    Loading SQL from /home/centos/xfp-installer/shared/install/sql/mysql/schema.legacy.sql
    Loading SQL from /home/centos/xfp-installer/shared/install/sql/mysql/schema.sql
    Loading SQL from /home/centos/xfp-installer/shared/install/sql/mysql/data.sql
    Copying files...
    Running scripts...
    Installing Central Forms module config...
    Updating Readable URLs...
    Adding scheduled tasks...
    Updating locale settings to match en_GB...
    Installation Report.
    ---
    CMS Version: 23.2.1

    Config Directory: /var/www/jadu/config
    ---
    Exec: Yes
    Java: Yes
    Suhosin: No
    ---
    Setting permissions...
    Detecting system usernames...
    Detecting system username...
    Detected system username as: jadu
    Detected system group as: jadu
    Detected web username as: jadu-www
    Detected web group as: jadu-www
    Setting web-writeable permissions on var/crm_xml_files
    Setting web-writeable permissions on var/form_attachments
    Setting web-writeable permissions on var/form_email_attachments
    Setting web-writeable permissions on var/pdf_form_files
    Setting web-writeable permissions on var/received_pdf_form_files
    Setting web-writeable permissions on var/xfp_data_export
    Setting web-writeable permissions on var/xfp_file_output
    Installation complete
    Please apply a Meteor patch for the latest XFP version.

Patch​

To complete the install you must patch up to the latest Jadu Central version.

  1. Copy the release package to the server

  2. Extract the release package (replace {patch-version-number} with the version number of release package)

    unzip {patch-version-number}.zip
  3. Now change to the extracted release package directory

    cd {patch-version-number}
  4. Apply the patch by running the Meteor command

    php -d memory_limit=512M meteor.phar patch:apply --path=/path/to/jadu/

Once complete, the server will contain a working copy of Jadu Central forms.