For automatically installation or upgrading follow these steps:
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.
fastor-db-scheme
The database schema will be updated.
Wait for the database to start. You can check the tail /var/log/clickhouse-server/clickhouse-server.log logs, or simply try to launch the clickhouse-client client - if there is a connection, then the database has started and is ready for connections.
After starting the database, run the command
fastor-db-scheme
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.