aerospike(1)-centos7安装aerospike
要安装的软件:server和tools
下载地址:https://www.aerospike.com/download/server/4.5.1.5/
server:
1、下载
wget https://www.aerospike.com/artifacts/aerospike-server-community/4.5.1.5/aerospike-server-community-4.5.1.5-el7.tgz
2、升级openssl
yum update openssl
3、解压&安装
tar -zxvf aerospike-server-community-4.5.1.5-el7.tgz cd aerospike-server-community-4.5.1.5-el7/
sh asinstall
4、启动
systemctl start aerospike
5、查看状态
[root@zuoys aerospike-server-community-4.5.1.5-el7]# systemctl status aerospike [root@zuoys aerospike-server-community-4.5.1.5-el7]# asinfo -v STATUS
OK
其他命令
#重启
systemctl restart aerospike
#停止
systemctl stop aerospike
查看日志
journalctl -u aerospike -a -o cat -f
卸载
#查看服务名
[root@cent7-zuoys aerospike]# rpm -qa |grep -i aerospike
aerospike-server-community-4.5.1.5-1.el6.x86_64
#卸载
[root@cent7-zuoys aerospike]# yum remove aerospike-server-community-4.5.1.5-1.el6.x86_64
tools:
下载
wget https://www.aerospike.com/artifacts/aerospike-tools/3.18.1/aerospike-tools-3.18.1-el7.tgz
解压
[root@zuoys aerospike]# tar -zxvf aerospike-tools-3.18.1-el7.tgz
[root@zuoys aerospike]# cd aerospike-tools-3.18.1-el7/
#安装
[root@zuoys aerospike-tools-3.18.1-el7]# sh asinstall
验证
[root@zuoys aerospike-tools-3.18.1-el7]# yum list installed | grep aerospike-tools
aerospike-tools.x86_64 3.18.1-1.el7 installed
asadm
[root@zuoys aerospike-tools-3.18.1-el7]# asadm
Seed: [('127.0.0.1', 3000, None)]
Config_file: /root/.aerospike/astools.conf, /etc/aerospike/astools.conf
Aerospike Interactive Shell, version 0.2.0 Found 1 nodes
Online: 192.168.241.129:3000
Admin>
aql
[root@zuoys aerospike-tools-3.18.1-el7]# aql
Seed: 127.0.0.1
User: None
Config File: /etc/aerospike/astools.conf /root/.aerospike/astools.conf
Aerospike Query Client
Version 3.18.1
C Client Version 4.5.0
Copyright 2012-2017 Aerospike. All rights reserved.
aql>
asinfo
[root@zuoys aerospike-tools-3.18.1-el7]# asinfo -v edition
Aerospike Community Edition
asbackup
[root@zuoys aerospike-tools-3.18.1-el7]# asbackup -n test -o ~/output
2019-03-16 13:19:18 GMT [INF] [ 4719] Starting 100% backup of 127.0.0.1 (namespace: test, set: [all], bins: [all], after: [none], before: [none]) to /root/output
2019-03-16 13:19:18 GMT [INF] [ 4719] [src/main/aerospike/as_cluster.c:129][as_cluster_add_nodes_copy] Add node BB94E0E61290C00 127.0.0.1:3000
2019-03-16 13:19:18 GMT [INF] [ 4719] Processing 1 node(s)
2019-03-16 13:19:18 GMT [INF] [ 4719] Node ID Objects Replication
2019-03-16 13:19:18 GMT [INF] [ 4719] BB94E0E61290C00 0 1
2019-03-16 13:19:18 GMT [INF] [ 4719] Namespace contains 0 record(s)
2019-03-16 13:19:18 GMT [INF] [ 4719] Created new backup file /root/output
2019-03-16 13:19:18 GMT [INF] [ 4738] Starting backup for node BB94E0E61290C00
2019-03-16 13:19:18 GMT [INF] [ 4738] No secondary indexes
2019-03-16 13:19:18 GMT [INF] [ 4738] Backing up 0 UDF file(s)
2019-03-16 13:19:18 GMT [INF] [ 4738] Completed backup for node BB94E0E61290C00, records: 0, size: 42 (~0 B/rec)
2019-03-16 13:19:19 GMT [INF] [ 4737] Backed up 0 record(s), 0 secondary index(es), 0 UDF file(s) from 1 node(s), 42 byte(s) in total (~0 B/rec)
AMC
#下载社区版
[root@cent7-zuoys aerospike]# wget https://www.aerospike.com/artifacts/aerospike-amc-community/4.0.22/aerospike-amc-community-4.0.22-1.x86_64.rpm
#安装
[root@cent7-zuoys aerospike]# rpm -ivh aerospike-amc-community-4.0.22-1.x86_64.rpm
#
[root@cent7-zuoys aerospike]# cp /etc/amc/amc.conf /etc/amc/amc.conf.bac
启动&停止&重启
#启动
/etc/init.d/amc start
#停止
/etc/init.d/amc stop
#重启
/etc/init.d/amc restart
#查看状态
/etc/init.d/amc status #查看日志
/var/log/amc/error.log
查看
http://192.168.163.131:8081
aerospike(1)-centos7安装aerospike的更多相关文章
- HP服务器 hp 360g5 centos7安装问题
HP服务器 hp 360g5 centos7安装问题 一 :启动盘无法识别硬盘 1.进入安装光盘,用上下键选择安装centos--Install Centos7(注意不可按Enter键),如图: 2 ...
- CentOS7 安装Mono及Jexus
CentOS7安装Mono及Juxes 1 安装Mono 1.1 安装yum-utils 因为安装要用到yum-config-manager,默认是没有安装的,所以要先安装yum-utils包.命令如 ...
- CentOS7安装mysql提示“No package mysql-server available.”
针对centos7安装mysql,提示"No package mysql-server available."错误,解决方法如下: Centos 7 comes with Mari ...
- CentOS7安装Oracle 11gR2 安装
概述 Oracle 在Linux和window上的安装不太一样,公司又是Linux系统上的Oracle,实在没辙,研究下Linux下Oracle的使用,oracle默认不支持CentOS系统安装,所以 ...
- Centos7安装完毕后重启提示Initial setup of CentOS Linux 7 (core)的解决方法
问题: CentOS7安装完毕,重新开机启动后显示: Initial setup of CentOS Linux 7 (core) 1) [x] Creat user 2) [!] License i ...
- centos7安装eclipse
centos7安装eclipse Eclipse是一个集成开发环境(IDE),包含一个基工作区和定制环境的可扩展插件系统.大部分使用 Java 编写,Eclipse 可以用来开发应用程序.通过各种插件 ...
- CentOS7安装mongoDB数据库
CentOS7安装mongoDB数据库 时间:2015-03-03 16:45来源:blog.csdn.net 作者:进击的木偶 举报 点击:8795次 mongoDB是目前发展比较好的NOSQL数据 ...
- CentOS7安装Ambari
环境: CentOS7安装两个节点:master.slave1.并配置ssh无密码登录. 步骤: 获取 Ambari 的公共库文件(public repository): wget http://pu ...
- [CentOs7]安装mysql(2)
摘要 之前安装过一次mysql,最后配置,发现在本地无法连接,重启服务的时候一直卡在那里不动,感觉是安装的过程出问题,最后没办法还是卸载了,然后重新安装一下. [CentOs7]安装mysql Mys ...
随机推荐
- css知多少(11)——position(转)
css知多少(11)——position 1. 引言 本文将用一篇文章介绍position(定位),在学习position之前,我们应该去思考一个问题:什么情况下我们需要定位?如果没有定位将无法满 ...
- powerdesigner自动将name填充到注释的脚本
我在建模的时候,希望在生成脚本的时候有注释,所以才会看到Comment列,实际上,只要你的表中的Name列不为空,运行下面的VBScript,PD会帮你自动填充注释的Comment列值. '把pd中那 ...
- 一个ButtonDemo序(遇到的问题,以及在大牛的帮助下,如何解决的。)
问题1: public ButtonDemo(){ //ImageIcon leftButtonIcon=new ImageIcon("images/a.png"); ImageI ...
- scala中lazy
Scala中通过lazy关键字来定义惰性变量,惰性变量只能是不可变变量.只有在调用惰性变量的时候,才会去实例化这个变量
- 关于IE6下绝对定位元素莫名消失的问题
一般来说,让绝对定位的元素不挨着浮动元素就OK了: 1.当绝对定位层的邻近浮动层的宽度不等于父层宽度时,以及没有清除浮动时,IE6/7,FF中显示一致: 2.当绝对定位层的邻近浮动层的宽度不等于父层宽 ...
- 关于css js文件缓存问题
什么情况下,要禁止静态文件缓存:1.经常可能要改动的 js, css.比如一个js文件引用如下<script src="test.js"></script> ...
- Djianggo 在windows中安装出现报错的解决方案
Djianggo 在win7下 安装会报错 Traceback (most recent call last):File "setup.py", line 4, in <mo ...
- [raspberry pi3] zram设置
linux 3.15之后添加了个和mac一样的功能,内存压缩zram, 之前还有个zswap, zram通常是以模块的方式被放在系统里面的,以便在可以根据需求的不同,定制化加载. raspberry ...
- postgre-sql语法
//客户端查询 public void pgsearchclient(HttpContext context, string starttime, string endtime, int page, ...
- C#中的线程池使用(一)
1 线程池的概念 许多应用程序使用多个线程,但这些线程经常在休眠状态中耗费大量的时间来等待事件发生.其他线程可能进入休眠状态,并且仅定期被唤醒以轮询更改或更新状态信息,然后再次进入休眠状态.为了简化 ...