Notes how to install and use Aerospike.
Install Aerospike
Installation steps from here: http://www.aerospike.com
1 2 3 4 5 6 7 |
wget -O aerospike.tgz 'http://aerospike.com/download/server/latest/artifact/ubuntu12' tar -xvf aerospike.tgz cd aerospike-server-community-*-ubuntu14 sudo ./asinstall # will install the .rpm packages sudo service aerospike start && \ sudo tail -f /var/log/aerospike/aerospike.log | grep cake # wait for it. "service ready: soon there will be cake!" |
After above script aerospike will be installed to /opt/aerospike, it’s config is in /etc/aerospike and logs are in /var/log/aerospike
Install Aerospike Management Console (AMC)
Download and install AMC .deb file from here: http://www.aerospike.com/download/amc/3.6. After that we can find AMC in /opt/amc, config /etc/amc, log /var/log/amc.
Start AMC sudo /etc/init.d/amc start
StopĀ sudo /etc/init.d/amc stop
Check status sudo /etc/init.d/amc status
Enjoy looking at AMC http://localhost:8081
Start Java development
http://www.aerospike.com/docs/client/java/start/index.html
Examples on github: https://github.com/aerospike/aerospike-client-java/tree/master/examples/src/com/aerospike/examples