首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Riak 1.1.0装配在 Debian6

2012-06-28 
Riak 1.1.0安装在 Debian6Riak 1.1.0 Debian6 安装:Installing on GNU/Linux #Most distributions do not

Riak 1.1.0安装在 Debian6

Riak 1.1.0 Debian6 安装:Installing on GNU/Linux #

Most distributions do not have the most recent Erlang release available, so you will need to install from source.

First, make sure you have a compatible build system and the ncurses and openssl development libraries installed. On Debian/Ubuntu use this command:

$ sudo apt-get install build-essential libncurses5-dev openssl libssl-dev

On RHEL/CentOS use this command:

$ sudo yum install gcc glibc-devel make ncurses-devel openssl-devel

Next, download, build and install Erlang:

$ wget http://erlang.org/download/otp_src_R14B03.tar.gz

$ tar zxvf otp_src_R14B03.tar.gz

$ cd otp_src_R14B03

$ ./configure && make && sudo make install

Now we can download and install Riak:

$ wget http://downloads.basho.com/riak/riak-1.1.0/riak-1.1.0.tar.gz

$ tar zxvf riak-1.1.0.tar.gz

$ cd riak-1.1.0

$ make rel

?

发现curl没有安装,sudo apt-get install curl

然后跑$ curl -v http://127.0.0.1:8098/riak/test就没问题了

?

还发现解压后的目录中的riak命令没有加入PATH

手动加入.bashrc, path/home/leon/Downloads/otp_src_R14B03/riak-1.1.0/rel/riak/bin

?

$riak start

$riak console

$riak stop都能跑了

?

?

热点排行