Before installing Platform, you need to prepare the server: The installation program is written in Python 3. Install Python interpreter version 3.6 or higher. The distribution kit does not include the interpreter package. Some OS distributives may lack certain standard Python 3 modules, including importlib-metadata and pyyaml. Install them using the following commands: | Блок кода |
|---|
| language | text |
|---|
| title | For Red Hat Enterprise Linux, Oracle Linux and for RED OS: |
|---|
| yum install python3-importlib-metadata
yum install python3-pyyaml |
| Блок кода |
|---|
| language | text |
|---|
| title | For Alt OS: |
|---|
| apt-get install python-modules-json
apt-get install python-modules-distutils
apt-get install python3-modules-sqlite3
apt-get install python3-module-importlib-metadata
apt-get install python3-module-yaml |
| Блок кода |
|---|
| language | text |
|---|
| title | For Mos.OS: |
|---|
| zypper install python3-importlib-metadata
zypper install python3-PyYAML |
| Информация |
|---|
| Platform distribution kit does not include the packages. The packagesmay not be availablein the repositories of someoperatingsystems. In this case, download and install the required packages manually. |
| Раскрыть |
|---|
| title | On a server running MOS Mos.OS: |
|---|
| Make sure that the official OS repositories are available: |
- The installation program is written in Python version 2.7. So to install the Platform, you need to install the Python 2.7 interpreter first. The distribution kit does not include the interpreter package.
| Раскрыть |
|---|
| title | In the Red Hat Enterprise Linux and RED OS environments, configure SELinux. |
|---|
| For the correct operation of containerd, update the SELinux policies or disable the access control system: |
- Configure the POD network rules or disable the firewall (see Firewalld and Kubernetes interaction conflicts and Firewall complete shutdown). Otherwise, you will not be able to install the Platform.
- If you are using an antivirus, configure it to work with the Platform (see Antivirus configuration for Platform products).
The Platform uses the Kubernetes component. For the correct installation of the Platform and operation of the Kubernetes, the conntrack package following packages should be installed on the server: conntrack or conntrack-tools (install the package, even if libnetfilter_conntrack is already installed). Make sure that the package is installed. For this, in the command line, enter:
You will see information about working with the conntrack module and the module version.
Image Modified If the module conntrack is not installed, install it using the following command: dnf ServerOS: | Блок кода |
|---|
| apt-get install conntrack-tools |
MOS Mos.OS: | Блок кода |
|---|
| zypper install conntrack-tools |
If the package is not available in the repository, then download it, go to the directory with the package, and install it manually using the command: MOS Alt Server: | Блок кода |
|---|
| rpm -Uhv ./<package_name> |
Mos.OS: | Блок кода |
|---|
| zypper install <package_name> |
socat – similar to the conntrack package.
| Раскрыть |
|---|
| title | On a server running MOS Mos.OS: |
|---|
| Install the packages socat, ethtool, app_armor, and sysctl with dependencies: | Блок кода |
|---|
| zypper install socat
zypper install ethtool
zypper install patterns-base-apparmor
zypper install procps
zypper install libprocps7 |
| | Раскрыть |
|---|
| title | On a server running Alt Server: |
|---|
| Install the packages: python-modules-json
python-modules-distutils
python-modules-sqlite3 |
| Раскрыть |
|---|
| title | If you are installing the Platform on the server where Traffic Monitor with a local database is already installed, then disable Huge Pages. For this: |
|---|
| Stop the System by running the command: - Stop the DBMS.
If you are using PostgreSQL on a computer running Red Hat Enterprise Linux, RED OS, or Oracle, run the following commands: | Блок кода |
|---|
systemctl stop pgagent-15
systemctl stop postgresql-15 |
If you are using PostgreSQL on a computer running Alt Server, run the following commands: | Блок кода |
|---|
systemctl stop pgagent
systemctl stop postgresql |
- If you are using Oracle DBMS:
Open Oracle SQL*Plus and connect as the sysdba user:
| Блок кода |
|---|
sqlplus / as sysdba |
Run the command: | Блок кода |
|---|
dbshut $ORACLE_HOME |
Set the Huge Pages parameter to zero: - Start the DBMS:
If you are using PostgreSQL on computers running Red Hat Enterprise Linux, RED OS, or Oracle, run the following commands: | Блок кода |
|---|
systemctl start pgagent-15
systemctl start postgresql-15 |
If you are using PostgreSQL on computers running Alt Server, run the following commands: | Блок кода |
|---|
systemctl start pgagent
systemctl start postgresql |
- If you are using Oracle DBMS:
Open Oracle SQL*Plus and connect as the sysdba user:
| Блок кода |
|---|
sqlplus / as sysdba |
Run the command: | Блок кода |
|---|
dbstart $ORACLE_HOME |
Start the System:
|
|