Install BashEdge on cPanel & WHM

Summary: One command installs BashEdge on cPanel & WHM and adds it to WHM.

BashEdge supports cPanel & WHM servers running Apache, nginx, or nginx in front of Apache.

Before you start

  • Root SSH access to the server.
  • A 64-bit x86 (x86_64) server with systemd and curl.
  • Your install command from the BashPilot dashboard. It contains a one-time install token that is valid for one hour.

Install

Run the command from your dashboard as root. It looks like this:

shell
curl -sSL https://bashedgedownloads.bashpilot.com/install-bashedge.sh | bash -s -- --install-token <your-token>

The installer:

  • checks the server (root, architecture, systemd, curl and nftables) and installs nftables if it is missing,
  • downloads BashEdge and verifies its checksum before running it,
  • activates your licence for this server,
  • adds BashEdge to your control panel,
  • starts BashEdge in monitor mode and installs the bashedge command.

When it finishes you see BashEdge is installed and running in MONITOR mode.

Open the dashboard

Log in to WHM as root and search for BashEdge in the WHM menu. The dashboard opens inside WHM and uses your WHM login, so there is no separate password.

Next steps

Let BashEdge watch real traffic, then follow Getting started to review what it found and turn protection on.

Last updated · Applies to BashEdge