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

相关文章

jdk1.8的Jenkins安装配置实践

《jdk1.8的Jenkins安装配置实践》Jenkins是一款流行的开源持续集成工具,支持自动构建、测试和部署,通过Jenkins,开发团队可以实现代码提交后自动进行构建、测试,并将构建结果分发到测... 目录Jenkins介绍Jenkins环境搭建Jenkins安装配置Jenkins插件安装Git安装配

python版本切换工具pyenv的安装及用法

《python版本切换工具pyenv的安装及用法》Pyenv是管理Python版本的最佳工具之一,特别适合开发者和需要切换多个Python版本的用户,:本文主要介绍python版本切换工具pyen... 目录Pyenv 是什么?安装 Pyenv(MACOS)使用 Homebrew:配置 shell(zsh

Python中Request的安装以及简单的使用方法图文教程

《Python中Request的安装以及简单的使用方法图文教程》python里的request库经常被用于进行网络爬虫,想要学习网络爬虫的同学必须得安装request这个第三方库,:本文主要介绍P... 目录1.Requests 安装cmd 窗口安装为pycharm安装在pycharm设置中为项目安装req

windows下安装Nginx全过程

《windows下安装Nginx全过程》文章介绍了HTTP和反向代理服务器的概念,包括正向代理和反向代理的区别,并详细描述了如何安装和配置Nginx作为反向代理服务器... 目录概念代理正向代理反向代理安装基本属性nginx.conf查询结构属性使用运行重启停止总结概念是一个高性能的HTTP和反向代理we

2025最新版Android Studio安装及组件配置教程(SDK、JDK、Gradle)

《2025最新版AndroidStudio安装及组件配置教程(SDK、JDK、Gradle)》:本文主要介绍2025最新版AndroidStudio安装及组件配置(SDK、JDK、Gradle... 目录原生 android 简介Android Studio必备组件一、Android Studio安装二、A

前端Visual Studio Code安装配置教程之下载、汉化、常用组件及基本操作

《前端VisualStudioCode安装配置教程之下载、汉化、常用组件及基本操作》VisualStudioCode是微软推出的一个强大的代码编辑器,功能强大,操作简单便捷,还有着良好的用户界面,... 目录一、Visual Studio Code下载二、汉化三、常用组件1、Auto Rename Tag2

win10安装及配置Gradle全过程

《win10安装及配置Gradle全过程》本文详细介绍了Gradle的下载、安装、环境变量配置以及如何修改本地仓库位置,通过这些步骤,用户可以成功安装并配置Gradle,以便进行项目构建... 目录一、Gradle下载1.1、Gradle下载地址1.2、Gradle下载步骤二、Gradle安装步骤2.1、安

python依赖管理工具UV的安装和使用教程

《python依赖管理工具UV的安装和使用教程》UV是一个用Rust编写的Python包安装和依赖管理工具,比传统工具(如pip)有着更快、更高效的体验,:本文主要介绍python依赖管理工具UV... 目录前言一、命令安装uv二、手动编译安装2.1在archlinux安装uv的依赖工具2.2从github

JDK8(Java Development kit)的安装与配置全过程

《JDK8(JavaDevelopmentkit)的安装与配置全过程》文章简要介绍了Java的核心特点(如跨平台、JVM机制)及JDK/JRE的区别,重点讲解了如何通过配置环境变量(PATH和JA... 目录Java特点JDKJREJDK的下载,安装配置环境变量总结Java特点说起 Java,大家肯定都

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

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