Rate This Document
Findability
Accuracy
Completeness
Readability

Installation Methods

Installation methods describes the installation methods for HAProxy. Install HAProxy based on actual situation.

Table 1 Installation methods

Installation Method

Description

Remarks

Compiling and Installing HAProxy from Source Code

Install HAProxy from the source code.

Manually download the source code.

Installing HAProxy by Using an RPM Package Obtained from a Mirror Site

Download the RPM package from a mirror site and install the RPM package.

You need to manually download the RPM package from a mirror site.

Installing HAProxy by Using the Yum Source Obtained from a Mirror Site

Configure the network source of the mirror site to enable the RPM package to be downloaded and installed on a server directly. The server must be able to access the Internet.

The RPM package is automatically downloaded from a mirror site and installed on the server.

Installing HAProxy by Using a Script (recommended)

Run a script to implement one-click compilation, deployment, and tuning.

You need to run a script to implement one-click compilation, deployment, and tuning.