-
Notifications
You must be signed in to change notification settings - Fork 12
Install
AMC 4.0 and above have no dependencies.
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
Create a backup of the current configuration file:
sudo cp /etc/amc/amc.conf /etc/amc/amc.conf.bac
Once you have the file located on the server, you can install AMC:
sudo rpm -ivh aerospike-amc-enterprise-<version>.rpm
sudo dpkg -i aerospike-amc-enterprise-<version>.deb
sudo tar -xvf aerospike-amc-enterprise-<version>.tar.gz -C /
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 file to /etc/amc/amc.conf
:
sudo cp /etc/amc/amc.conf.bac /etc/amc/amc.conf
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
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.
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.
- Install
pip
. You can find the installation instructions at https://pip.pypa.io/en/latest/installing.html - You should install the following using the
pip
command:
sudo pip install markupsafe
sudo pip install paramiko
sudo pip install ecdsa
sudo pip install pycrypto
sudo pip install bcrypt