Installation and update [Документация VAS Experts]

This is an old revision of the document!


2 Installation and update

Installation

Before installing or upgrading, check your Internet connection. Make shure you run scripts under the root or using sudo.
Check if the time and time zone are set correctly on the server. Correct and restart the server if necessary.

For automatically installation or upgrading follow these steps:

  1. Execute fastor-rpm_install.sh script.
    source <(curl https://vasexperts.ru/install/fastor-rpm_install.sh)

    It will cause the installation of the following packages: ipfixreceiver, clickhouse, fastor. All of them will be automatically configured according to the defaults.

  2. Restart your ssh terminal. You need to make command aliases available.
  3. Run the command
     fastor-db-scheme 

    The database schema will be updated.

Do not forget to execute
fastor-db-scheme

after installation. This insures cases when the schema does not have time to update as a result of a long restart of the database.

Updating

Upgrading is performed using the same scripts as in the Installation section.

Do not forget to execute
fastor-db-scheme

after update. This insures cases when the schema does not have time to update as a result of a long restart of the database.