# Preparing the Software and Hardware Installation Environment

# Preparing the Software and Hardware Installation Environment

This section describes the preparations for installation. It is recommended that servers to be deployed on openGauss have the same software and hardware configurations.

## **Hardware requirements**

[Table 1](https://docs.opengauss.org/en/docs/latest/docs/BriefTutorial/preparing-the-software-and-hardware-installation-environment.html#en-us_topic_0283136474_en-us_topic_0241802565_en-us_topic_0085434629_en-us_topic_0059782022_t62cd0eed17004265b1b8ad98f302a4bc) lists the minimum hardware requirements of the openGauss server. When planning the hardware configuration of a product, consider the data scale and expected database response speed. Plan hardware as required.

**Table 1** Hardware requirements

| **Item** | **Configuration Description** |
| --- | --- |
| Memory | It is recommended that the memory be 32 GB or above for function debugging. Set **Disk Cache Policy** to **Disabled** to avoid data loss in an unexpected power-off. |
| CPU | It is recommended at least one 8-core 2.0 GHz CPU be used for function debugging. Set **Disk Cache Policy** to **Disabled** to avoid data loss in an unexpected power-off. |
| Disk | Hard disks used for installing openGauss must meet the following requirements: |
| Network Requirements | Minimum 300 Mbit/s Ethernet is required. Set **Disk Cache Policy** to **Disabled** to avoid data loss in an unexpected power-off. |

## **Software Requirements**

**Table 2** Software requirements

| **Software** | **Configuration Description** |
| --- | --- |
| Linux OS | ARM:openEuler 20.3 LTS (recommended)Kirin V10Asianux 7.5X86:openEuler 20.3LTSCentOS 7.6Asianux 7.6Note:The current installation package can be used only on the English operating system. Set **Disk Cache Policy** to **Disabled** to avoid data loss in an unexpected power-off. |
| Linux file system | It is recommended that the number of remaining inodes be greater than 1.5 billion. |
| Tool | bzip2 |

## **Software Dependency Requirements**

[Table 3](https://docs.opengauss.org/en/docs/latest/docs/BriefTutorial/preparing-the-software-and-hardware-installation-environment.html#en-us_topic_0283136474_table1212531681911) describes the openGauss software dependency requirements.

You are advised to use the default installation packages of the dependent software in the listed OS installation CD-ROMs or sources. If the software does not exist, refer to the recommended versions of the software.

**Table 3** Software dependency requirements

| **Software** | **Recommended Version** |
| --- | --- |
| libaio-devel | 0.3.109-13 |
| flex | 2.5.31 or later |
| bison | 2.7-4 |
| ncurses-devel | 5.9-13.20130511 |
| glibc-devel | 2.17-111 |
| patch | 2.7.1-10 |
| redhat-lsb-core | 4.1 |
| readline-devel | 7.0-13 |
| libnsl (in the openEuler + x86 environment) | 2.28-36 |
