Skip to content

Install Aerospike on Linux

This quickstart walks you through downloading, extracting, and installing Aerospike Database on Linux (Debian, Ubuntu, or RHEL). When you’re done, you’ll have Aerospike installed with an in-memory namespace, ready for development and testing.

Requirements

Aerospike tools run on 64-bit Linux distributions, including Red Hat Enterprise Linux (RHEL) and its binary compatible variants, Ubuntu, Debian, Amazon Linux, and Oracle Linux. See Platform support and compatibility for more information.

Prerequisites

  • To install, you must have root access or permission to run sudo.
  • Verify that you have the libcurl4 package installed.

Install Aerospike Database

You can download the software from the download page, or download from the command line with the example URL in Step 1.

We recommend that you read the release notes of the version you download. To learn about automating downloads from the artifact repository, see the FAQ on downloads.

Aerospike Community, Enterprise, and Federal editions are available for all supported Linux distributions, and use the following naming convention: aerospike-server-EDITION_VERSION_tools-TOOLS-VERSION_DISTRO_ARCHITECTURE.tgz

  1. Download Aerospike Database.

    Base URL:

    https://download.aerospike.com/artifacts/aerospike-server-edition/server-version/

    Example download command. The following command is an example only. Choose the edition and version from the artifact index and update the URL accordingly.

    wget -O aerospike-server.tgz "https://download.aerospike.com/artifacts/aerospike-server-enterprise/8.1.1/aerospike-server-enterprise_8.1.1.2_tools-12.1.1_ubuntu24.04_x86_64.tgz"
  2. Extract the package.

    Terminal window
    tar -xvf aerospike-server.tgz

    The contents are extracted to a directory named similarly to the package. The directory includes:

  3. Install the server and tools. Run from the extracted directory:

    Terminal window
    cd aerospike-server-enterprise-*
    sudo ./asinstall

    For a description of files and directories that are installed, see Directory structure.

Alternatively, install the Debian or RPM packages directly:

Terminal window
sudo dpkg -i aerospike-server-edition_version-1distro_architecture.deb
sudo dpkg -i aerospike-tools_version-distro_architecture.deb

Next steps

The Aerospike-included init script /etc/init.d/aerospike manages the Aerospike Database Daemon /usr/bin/asd.

In addition, the Aerospike database can be controlled with standard systemctl commands. For details, see Aerospike Daemon Management.

Configure Aerospike

Installation establishes the server’s default configuration. An in-memory test namespace is configured by default. See Configure Aerospike Database to modify and tune the configuration.

Add devices and more

To add SSDs, see setup and initialization.

Configure EE feature-key file

Aerospike EE requires a feature-key file to start up and enable gated features, such as compression.

Configure logging

To configure logging for the Aerospike database, see Log management.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?