aerospike安装

2024-01-21 07:48
文章标签 安装 aerospike

本文主要是介绍aerospike安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!


aerospike安装(编译版安装)

0,安装环境

机器ip:10.0.0.9,10.0.0.8
https://github.com/aerospike/aerospike-server
https://github.com/aerospike/aerospike-client-c
https://github.com/aerospike/aerospike-client-java


1:下载源文件

wget  http://www.aerospike.com/artifacts/aerospike-server-community/3.5.15/aerospike-server-community-3.5.15.tar.gz
wget  http://www.aerospike.com/artifacts/aerospike-server-community/3.6.2/aerospike-server-community-3.6.2.tar.gz



2:tar -zxvf aerospike-server-community-3.5.15.tar.gz && cd aerospike-server
tar -zxvf aerospike-server-community-3.6.2.tar.gz && cd aerospike-server


3:查看初始化选项 并且初始化,初始化之后会多几个目录

./bin/aerospike init --help

[ root@mobiead-06  bin]# ls

aerospike  asd

[ root@mobiead-06  bin]# ./aerospike init 

[ root@mobiead-06  bin]# ls

aerospike  asd  bin  etc  share  var


./bin/aerospike         -管理脚本

./bin/asd               -asd服务

./etc/aerospike.conf    -实例的配置文件

./share/                -包含一些实例的只读文件

./var/                  -asd产生的一些日志和数据


4:安装Install Aerospike Tools


wget -O aerospike-tools.tgz ' http://www.aerospike.com/artifacts/aerospike-server-community/3.5.15/aerospike-server-community-3.5.15-el6.tgz '
wget -O aerospike-tools.tgz ' http://www.aerospike.com/artifacts/aerospike-server-community/3.6.2/aerospike-server-community-3.6.2-el6.tgz '


tar -zxvf aerospike-tools.tgz


cd aerospike-server-community-3.5.15-el6/


[ root@mobiead-06  aerospike-server-community-3.5.15-el6]# ll

total 6460

-rw-r--r--. 1 zhangzicheng games 3528976 Jul 29 19:28 aerospike-server-community-3.5.15-1.el6.x86_64.rpm

-rw-r--r--. 1 zhangzicheng games 3059712 May 28 03:33 aerospike-tools-3.5.11-1.el6.x86_64.rpm

drwxr-xr-x. 3 zhangzicheng games    4096 Aug 25 13:29 aerospike-tools-deps

-rwxr-xr-x. 1 zhangzicheng games    1332 Jul 29 19:31 asinstall

-rw-r--r--. 1 zhangzicheng games    8241 Jul 29 19:31 LICENSE

-rw-r--r--. 1 zhangzicheng games     993 Jul 29 19:31 SHA256SUMS



[ root@mobiead-06  aerospike-server-community-3.5.15-el6]# rpm -Uvh aerospike-tools-3.5.11-1.el6.x86_64.rpm 

Preparing...                ########################################### [100%]

Installing /opt/aerospike

Adding group aerospike

Adding user aerospike

   1:aerospike-tools        ########################################### [100%]

Writing /usr/lib64/python2.6/site-packages/aerospike.pth

Adding python path /opt/aerospike/lib/python



5:运行Aerospike

[ root@localhost  bin]# ./aerospike start

error: start failed due to an error.

Jun 03 2015 03:11:29 GMT: CRITICAL (config): (cfg.c:1628) couldn‘t open configuration file /etc/aerospike/aerospike.conf: No such file or directory

Jun 03 2015 03:11:29 GMT: WARNING (as): (signal.c::134) SIGINT received, shutting down

Jun 03 2015 03:11:29 GMT: WARNING (as): (signal.c::137) startup was not complete, exiting immediately



[ root@localhost  bin]# mkdir -p /etc/aerospike/

[ root@localhost  bin]# cp ./etc/aerospike.conf /etc/aerospike/aerospike.conf

[ root@localhost  bin]# ./aerospike start

info: started



查看日志文件:

[ root@localhost  bin]# ls

aerospike  asd  bin  etc  share  var

[ root@localhost  bin]# cat ./var/log/aerospike.log 



[ root@localhost  bin]# ./aerospike status

info: process running





aerospike安装(源文件安装)

安装依赖环境:autoconf`, `automake`, and `libtool


OpenSSL

Lua 5.1

`lua`, `lua-devel`, and `lua-static`

---------------------------

yum install gcc

yum install autoconf libtool

yum install openssl-devel openssl-static

yum install lua-devel lua-static lua


下载源代码编译:

git clone  https://github.com/aerospike/aerospike-server.git

git pull

git submodule update --init

make

make init

make start

make stop


git clone  https://github.com/aerospike/aerospike-admin.git

make

make install


git clone  https://github.com/aerospike/aerospike-client-c.git


https://github.com/aerospike/aerospike-elk.git

https://github.com/aerospike/aerospike-hadoop.git

这篇关于aerospike安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/628832

相关文章

RabbitMQ 延时队列插件安装与使用示例详解(基于 Delayed Message Plugin)

《RabbitMQ延时队列插件安装与使用示例详解(基于DelayedMessagePlugin)》本文详解RabbitMQ通过安装rabbitmq_delayed_message_exchan... 目录 一、什么是 RabbitMQ 延时队列? 二、安装前准备✅ RabbitMQ 环境要求 三、安装延时队

linux系统上安装JDK8全过程

《linux系统上安装JDK8全过程》文章介绍安装JDK的必要性及Linux下JDK8的安装步骤,包括卸载旧版本、下载解压、配置环境变量等,强调开发需JDK,运行可选JRE,现JDK已集成JRE... 目录为什么要安装jdk?1.查看linux系统是否有自带的jdk:2.下载jdk压缩包2.解压3.配置环境

Python库 Django 的简介、安装、用法入门教程

《Python库Django的简介、安装、用法入门教程》Django是Python最流行的Web框架之一,它帮助开发者快速、高效地构建功能强大的Web应用程序,接下来我们将从简介、安装到用法详解,... 目录一、Django 简介 二、Django 的安装教程 1. 创建虚拟环境2. 安装Django三、创

linux安装、更新、卸载anaconda实践

《linux安装、更新、卸载anaconda实践》Anaconda是基于conda的科学计算环境,集成1400+包及依赖,安装需下载脚本、接受协议、设置路径、配置环境变量,更新与卸载通过conda命令... 目录随意找一个目录下载安装脚本检查许可证协议,ENTER就可以安装完毕之后激活anaconda安装更

Jenkins的安装与简单配置过程

《Jenkins的安装与简单配置过程》本文简述Jenkins在CentOS7.3上安装流程,包括Java环境配置、RPM包安装、修改JENKINS_HOME路径及权限、启动服务、插件安装与系统管理设置... 目录www.chinasem.cnJenkins安装访问并配置JenkinsJenkins配置邮件通知

Win10安装Maven与环境变量配置过程

《Win10安装Maven与环境变量配置过程》本文介绍Maven的安装与配置方法,涵盖下载、环境变量设置、本地仓库及镜像配置,指导如何在IDEA中正确配置Maven,适用于Java及其他语言项目的构建... 目录Maven 是什么?一、下载二、安装三、配置环境四、验证测试五、配置本地仓库六、配置国内镜像地址

Python安装Pandas库的两种方法

《Python安装Pandas库的两种方法》本文介绍了三种安装PythonPandas库的方法,通过cmd命令行安装并解决版本冲突,手动下载whl文件安装,更换国内镜像源加速下载,最后建议用pipli... 目录方法一:cmd命令行执行pip install pandas方法二:找到pandas下载库,然后

Linux系统中查询JDK安装目录的几种常用方法

《Linux系统中查询JDK安装目录的几种常用方法》:本文主要介绍Linux系统中查询JDK安装目录的几种常用方法,方法分别是通过update-alternatives、Java命令、环境变量及目... 目录方法 1:通过update-alternatives查询(推荐)方法 2:检查所有已安装的 JDK方

SQL Server安装时候没有中文选项的解决方法

《SQLServer安装时候没有中文选项的解决方法》用户安装SQLServer时界面全英文,无中文选项,通过修改安装设置中的国家或地区为中文中国,重启安装程序后界面恢复中文,解决了问题,对SQLSe... 你是不是在安装SQL Server时候发现安装界面和别人不同,并且无论如何都没有中文选项?这个问题也

2025版mysql8.0.41 winx64 手动安装详细教程

《2025版mysql8.0.41winx64手动安装详细教程》本文指导Windows系统下MySQL安装配置,包含解压、设置环境变量、my.ini配置、初始化密码获取、服务安装与手动启动等步骤,... 目录一、下载安装包二、配置环境变量三、安装配置四、启动 mysql 服务,修改密码一、下载安装包安装地