Skip to content

Install Aerospike on Linux

Aerospike Database is optimized for 64-bit Linux distributions, and comes packaged as Red Hat Package Manager (RPM) packages, Debian packages, binary and source tarballs.

See the platform support page for information about the versions currently supported.

Prerequisites

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

Download Aerospike Database

Download the Aerospike Database software manually from the download page. Make sure to read the release notes of the version you are downloading. Alternatively, you can automate downloading versions of the server from the artifact repository. See the FAQ on downloads for details.

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

See Supported Linux versions to learn which Linux versions and distributions support your Aerospike release.

Base URL:

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

Example download command:

wget -O aerospike.tgz https://download.aerospike.com/artifacts/aerospike-server-enterprise/6.2.0.0/aerospike-server-enterprise_6.2.0.0_tools-8.0.2_el8_x86_64.tgz

Extract the package

To extract the contents of the package, run the following:

Terminal window
tar -xvf aerospike.tgz

The contents are extracted to a directory with a name similar to the following, where community_or_enterprise depends on the version of the server you downloaded:

The directory includes:

Install

To install the server and the tools packages, run the following from the command line:

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

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

Alternatively, you can install the 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, make sure to read about setup and initialization.

Configure EE feature-key file

Starting with Database 6.1.0, the feature-key file for a single-node cluster is provided, so the server will start up automatically.

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?