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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:dpi_components:qoestor:install_and_update:install:start [2024/09/17 13:47] elena.krasnobryzhen:dpi:dpi_components:qoestor:install_and_update:install:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Installation ====== 
-{{indexmenu_n>3}} 
- 
-<note warning>Before installing or upgrading, check your Internet connection. Make shure you run scripts under the root or using sudo.</note> 
- 
-<note warning>Check if the time and time zone are set correctly on the server. Correct and restart the server if necessary.</note> 
- 
-<note warning>Do not disable the standard firewall-cmd. The installation script uses it for self-configuration.</note> 
- 
-<note warning>Do not use the yum update fastor command. Install/update with the script below.</note> 
- 
-For automatically installation or upgrading follow these steps: 
- 
-  - Execute [[https://vasexperts.ru/install/fastor-rpm_install.sh|fastor-rpm_install.sh]] script. <code> 
-source <(curl https://vasexperts.ru/install/fastor-rpm_install.sh) 
-</code> It will cause the installation of the following packages: ipfixreceiver, clickhouse, fastor. All of them will be automatically configured according to the defaults. 
-  - Restart your ssh terminal. You need to make command aliases available.  
-  - Run the command <code> fastor-db-scheme </code> The database schema will be updated.  
-<note important>In some systems, the database starts very slowly (from several minutes to several tens of minutes, especially in systems with long-term data storage) and when updating you may receive an error like **ERROR: while updating DB scheme**\\ 
-{{:dpi:dpi_components:qoestor:dbcheme_update_err.png?600|}} 
- 
-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 <code>fastor-db-scheme</code> 
-</note> 
-<note important>Do not forget to execute <code>fastor-db-scheme</code> after installation. This insures cases when the schema does not have time to update as a result of a long restart of the database. </note>