1:需要安装的包,如果缺少,请安装。

python (2.6+)
gcc
python-devel

安装相应的模块

sudo pip install markupsafe
sudo pip install paramiko
sudo pip install ecdsa
sudo pip install pycrypto

  

2:下载rpm包

wget http://www.aerospike.com/artifacts/aerospike-amc-community/3.6.0/aerospike-amc-community-3.6.0-el5.x86_64.rpm

3:安装aerospike-amc-community-3.6.0-el5.x86_64.rpm

rpm -ivh aerospike-amc-community-3.6.0-el5.x86_64.rpm

  

详情可以参考这里:http://www.aerospike.com/docs/amc/install/linux/el6/

4:操作指南

Starting the AMC server
To start the AMC: sudo /etc/init.d/amc start
To stop the AMC server: sudo /etc/init.d/amc stop
To restart the AMC server: sudo /etc/init.d/amc restart
To see whether or not the AMC server is up: sudo /etc/init.d/amc status

配置过程中有任何问题都可以查看错误日志:/var/log/amc/error.log

  

5:默认的gunicorn_config内容

[root@localhost ~]# cat /etc/amc/config/gunicorn_config.py
bind = "0.0.0.0:8081"
pidfile = "/tmp/amc.pid"
loglevel = "info"
errorlog = "/var/log/amc/error.log"
workers = 1
proc_name = "amc"
chdir = "/opt/amc/server"
timeout = 150
worker_class = "eventlet"

可以编辑bind之后再重启AMC服务。例如改为:192.168.91.132:8081

  

社区版可以参考这里:http://www.aerospike.com/docs/amc/user_guide/community/

商业版可以参考这里:http://www.aerospike.com/docs/amc/user_guide/enterprise/

6:在两个服务都启动成功后就可以连接AMC了

[root@localhost bin]# ls
aerospike asd bin etc share var
[root@localhost bin]# ./aerospike status
info: process running
[root@localhost bin]# /etc/init.d/amc status
Retrieving AMC status....
AMC is running.
[root@localhost bin]#

浏览器输入:

输入192.168.91.132连接即可。

如果提示:

请检查主机上的3000和8081端口的监听服务是否正常。

详情参考:http://www.aerospike.com/docs/amc/user_guide/community/dashboard.html

  

Aerospike系列:5:安装AMC的更多相关文章

  1. Robotframework-Appium系列:安装配置

    1.   Robotframework-android系列:安装配置 1.1. 安装环境 64位win10家庭中文版 1.1. 安装说明 网上robotframework-appium安装资料也不少, ...

  2. [转]gitlab cicd (二)系列之安装git-runner rpm安装方式

    本文转自:https://blog.csdn.net/qq_21816375/article/details/84308748 本编是继gitlab cicd (一)系列之安装gitlb之后,基于安装 ...

  3. 开源一款强大的文件服务组件(QJ_FileCenter)(系列二 安装说明)

    系列文章 1. 开源一款强大的文件服务组件(QJ_FileCenter)(系列一) 2. 开源一款强大的文件服务组件(QJ_FileCenter)(系列二 安装说明) 3. 开源一款强大的文件服务组件 ...

  4. Docker入门系列2 安装

    可以从 Docker 社区直接下载可用的模版或镜像. Docker容器的启动可以在秒级实现,这相比传统的虚拟机方式要快得多. 其次,Docker对系统资源的利用率很高,一台主机上可以同时运行数千个Do ...

  5. Xbin-Store(分布式商城)项目所用Linux服务系列 FastDFS安装(五)

    系列 Xbin-Store(分布式商城)项目所用Linux服务系列 MySQL安装(一) Xbin-Store(分布式商城)项目所用Linux服务系列 Redis集群安装(二) Xbin-Store( ...

  6. Windows玩转Kubernetes系列2-Centos安装Docker

    接上一章,Windows玩转Kubernetes系列1-VirtualBox安装Centos,我们开始学习如何在Centos中安装Docker 准备 关闭防火墙 防火墙一定要提前关闭,否则在后续安装K ...

  7. Windows玩转Kubernetes系列3-Centos安装K8S

    以往文章参考: Windows玩转Kubernetes系列1-VirtualBox安装Centos Windows玩转Kubernetes系列2-Centos安装Docker 安装K8S yum in ...

  8. Docker 技术系列之安装多版本Mysql5.6和Mysql5.7

    大家好,后面的就不是关于MAC专有的内容,基本是跟Java环境,基础技术方面有关.所以这个教程对于在linux系统还是macOS都是通用的,不用担心. 上一篇,我们安装好对应的Docker之后,感受到 ...

  9. Docker 技术系列之安装Docker Desktop for Mac

    终于要进入到Docker技术系列了,感谢大家的持续关注. 为什么要选择Docker?因为Docker 轻巧快速,提供了可行.经济.高效的替代方案.举个例子,安装Nginx,Mysql,Redis等常用 ...

随机推荐

  1. Wireshark基本用法 && 过滤规则 && 协议详解

    基本使用: https://www.cnblogs.com/dragonir/p/6219541.html 协议解析: https://www.jianshu.com/p/a384b8e32b67 ( ...

  2. java 模拟发送post请求测试

    方法一: HttpClient public void postTest(HttpServletRequest request,Integer type,String phone,String pas ...

  3. [Web 前端] superagent-nodejs处理请求的模块

    cp from : https://blog.csdn.net/xiao_chun5316/article/details/48164435 关于superagent,这次写react组件,发送请求都 ...

  4. 获取机器的基本参数cat /proc/stat

    获取机器的基本参数cat /proc/stat Note : This guide is applicable to Linux kernels 2.6.14 and above, which add ...

  5. [leetcode]Trapping Rain Water @ Python

    原题地址:https://oj.leetcode.com/problems/trapping-rain-water/ 题意: Given n non-negative integers represe ...

  6. Spring系列:Scheduled注解学习笔记

    一.试验代码 //@Scheduled(fixedRate = 5000) //@Scheduled(fixedDelay = 5000) @Scheduled(cron ="*/5 * * ...

  7. js遍历Object所有属性

    在js中经常需要知道Object中的所有属性及值,然而若是直接弹出Object,则是直接显示一个对象,它的属性和值没有显示出来, 不是我们想要的结果,从而需要遍历Object的所有属性. var ob ...

  8. 阿里巴巴Java开发规约插件全球首发!(转)

    https://mp.weixin.qq.com/s?__biz=MzI0NTE4NjA0OQ==&mid=2658355901&idx=1&sn=3169172bfc6819 ...

  9. glGetString(GL_VERSION) returns “OpenGL ES-CM 1.1” but my phone supports OpenGL 2

      [问] I'm trying to make an NDK based OpenGL application. At some point in my code, I want to check ...

  10. [信息检索] 第一讲 布尔检索Boolean Retrieval

    第一讲 布尔检索Boolean Retrieval 主要内容: 信息检索概述 倒排记录表 布尔查询处理 一.信息检索概述 什么是信息检索? Information Retrieval (IR) is ...