aerospike安装
2015-12-11 13:18
369 查看
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
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
相关文章推荐
- Maven学习
- 惯性质量与引力质量的联系
- UITextView换行问题解决办法
- 获取小米双卡双待手机默认上网卡槽的方法
- mysql的unix_timestamp
- zhphp framework (三) 框架工作流程
- Android在发送带有附件的邮件
- android sqlite 中存储 long 数据
- do_poll()
- Qtudp 收发数据格式
- 用随机投点法计算PI值
- window 7下用U盘安装ubuntu14.04双系统
- ABP理论学习之N层架构
- 最全Pycharm教程(20)——Pycharm编辑器功能之模板应用
- VMware 中linux(redhat)增加硬盘空间
- linux设备驱动程序和软硬件交互——以3w-9xxxx RAID卡驱动为例
- nginx 变量
- Cmder+Sublime Text“基友”实验
- LintCode:两个字符串是变位词
- Java HashMap的死循环