Before installing Platform, you need to prepare the server: | Раскрыть |
|---|
| title | On a server running 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 | .To do thisor disable the access control system: | package install the package using do it with the command:
| Блок кода |
|---|
yum install container-selinux |
| On a server running Red Hat Enterprise Linux and RED OS, disable the SELinux access control system. For this root : | Информация |
|---|
| The package is not included in the product's distribution kit. The package may be missing in the repositories. In this case, download and install it manually. |
- To disable SELinux:
Run the following commands
| as onbehalf of the root superuser:
|
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config |
| Restart using with the command:
Check the status of the SELinux system
| using - Configure the POD network rules or disable the firewall (for details, 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 the Knowledge Base article: 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 must should be installed on the server. Make sure that the package is installed. For this, at in the command line, enter:
You will see information about working with the conntrack module and the module version.
 If the module is not installed, install it using the following command: On computers running Red Hat Enterprise Linux, Oracle Linux, RED OS or Oracle: | Блок кода |
|---|
| yum install conntrack |
On computers running Alt Server: | Блок кода |
|---|
| apt-get install conntrack-tools |
| Информация |
|---|
title | Note:MOS OS: | Блок кода |
|---|
| zypper install conntrack-tools |
If the package is not available in the repository, then download the packageit, go to the directory where it has been downloaded with the package, and install the package it manually using the command: If you are installing the Platform on a computer running Alt Server, install Alt Server: | Блок кода |
|---|
| rpm -Uhv ./<package_name> |
MOS OS: | Блок кода |
|---|
| zypper install <package_name> |
| Раскрыть |
|---|
| title | On a server running 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.
|
systemctl stop postgresql |
- If you are using Oracle DBMS:
Open Oracle SQL*Plus and connect as
| the the sysdba user:
| Блок кода |
|---|
sqlplus / as sysdba |
Run the command: | Блок кода |
|---|
dbshut $ORACLE_HOME |
Set the
| null value for the Huge Pages parameter to zero:
| sysctl -w You can To view the current value of Huge Pages |
| value by running , run the command: | Блок кода |
|---|
sysctl -a | grep 'huge*page' |
|
- Start the DBMS:
| computeres
systemctl start postgresql |
- If you are using Oracle DBMS:
Open Oracle SQL*Plus and connect as
| thesysdba useruser:
| Блок кода |
|---|
sqlplus / as sysdba |
Run the command: | Блок кода |
|---|
dbstart $ORACLE_HOME |
Start the System:
|
|