zoukankan      html  css  js  c++  java
  • AeroSpike环境搭建

    Aerospike在linux环境上的搭建
    1.linux环境准备:
      虚拟机安装:https://www.cnblogs.com/yxth/p/11806879.html(亲测有用)
    2.启动虚拟机报错,Intel VT-x处于禁用状态:
      解决方案:https://blog.csdn.net/qq_39729296/article/details/87781442(亲测有效)
    3.Aerospike的安装和启动:
      1)安装wget:yum install wget
      2)安装aerospike:
              wget -O aerospike.tgz https://www.aerospike.com/artifacts/aerospike-server-community/5.2.0.5/aerospike-server-community-5.2.0.5-el7.tgz
              tar -xvf aerospike.tgz
              cd aerospike-server-community-5.2.0.5-el7
              ./asinstall
              systemctl start aerospike
      3)启动aerospike:
              cd aerospike-server-community-5.2.0.5-el7
              service aerospike start –启动
              service aerospike status–查看状态
              service aerospike restart –重启动
              service aerospike stop –关闭

      4)连接远程服务器:aql --host=xxx.xx.x.xx
      5)基本指令:https://www.aerospike.com/docs/guide/single.html,Key-Value Store->Single record
            aql> insert into test.demo(PK, bin) values ('key' , 'Bin Value')
            aql> select * from test.demo where PK = 'key'
            aql> insert into test.demo (PK, bin) values ('key', 'Updated Bin Value')
            aql> delete from test.demo where PK='key'

                                 aql> SET OUT JSON

                                 aql> SHOW OUTPUT JSON 

    AQL:https://www.aerospike.com/docs/tools/aql/#getting-help-for-aql

  • 相关阅读:
    Jmeter之参数化
    安全测试-业务安全的些许“瞎说”
    (转)LR性能测试结果样例分析
    (转)使用 Nmon 监控 Linux 的系统性能
    Jmeter之断言
    自动化框架httpClient实例
    RabbitMQ集群 Docker一键部署
    使用swing构建一个界面(包含flow ,Border,Grid,card ,scroll布局)
    Jtable实现
    java 使用最新api操作mongodb
  • 原文地址:https://www.cnblogs.com/lucylu/p/14153638.html
Copyright © 2011-2022 走看看