Skip to content

Install

Ronen Botzer edited this page Jun 25, 2020 · 3 revisions

Installation of AMC version 4.x

Dependencies

AMC 4.0 and above have no dependencies.

Download the binary

Binaries for easy installation are provided in the Releases section of the repo. They include

  • An rpm for Redhat and CentOS
  • A deb for Ubuntu and Debian
  • A tarball for generic Linux installations
  • A macOS dpkg

Backup the AMC configuration file

Create a backup of the current configuration file:

sudo cp /etc/amc/amc.conf /etc/amc/amc.conf.bac

Install the binary

Once you have the file located on the server, you can install AMC:

rpm

sudo rpm -ivh aerospike-amc-enterprise-<version>.rpm

deb

sudo dpkg -i aerospike-amc-enterprise-<version>.deb

Linux tarball

sudo tar -xvf aerospike-amc-enterprise-<version>.tar.gz -C /

macOS

sudo tar -xvf aerospike-amc-enterprise-<version>-darwin.tar.gz -C /Library/ amc/ LaunchAgents/ Logs/

To uninstall AMC version 4.0 or later execute the script: sudo /Library/amc/uninstall.sh

Restore the backup configuration

Restore the backup configuration file to /etc/amc/amc.conf:

sudo cp /etc/amc/amc.conf.bac /etc/amc/amc.conf

Installation of AMC version 3.6 and earlier

Requirements

The installation of the rpm requires the following:

  • RedHat/CentOS 6+
  • Dual core processor
  • 120 MB free hard disk space
  • 2 GB RAM (4 GB recommended)
  • Port 8081 should be free

Pre-install

You will need to make sure the following are installed:

  • python (2.6+)
  • gcc
  • python-devel

If you are missing any of the above, you can install them by running the command:

sudo yum install <package>

Where <package> is the missing package.

Enterprise Edition

If you are installing AMC Enterprise Edition and wish to use the advanced management features, there are some additional prerequisites:

  • You should install ansible on the AMC host. Follow the directions at: http://docs.ansible.com/ansible/intro_installation.html.
  • If you would like to run AMC as a non-root user, you will have to have give the user sudo permissions. Add the following line in the sudo file using visudo:
<user> ALL=(ALL:ALL) NOPASSWD: ALL 

Where is the sudo user that will be running AMC.

sudo pip install markupsafe
sudo pip install paramiko
sudo pip install ecdsa
sudo pip install pycrypto
sudo pip install bcrypt
Clone this wiki locally