LoginSignup
0
0

More than 5 years have passed since last update.

Ubuntu 12.10 にRiak 1.3.0 を用意する

Posted at

参考

Installing on Debian and Ubuntu

インストール手順

Ubuntu 12.10 のリポジトリがないようなのでソースからインストールする(2013年3月26日現在)
// 7つのデータベース 7つの世界 でもそのように勧められている.

Erlang をインストール

Installing Erlang を参考にソースからビルド

$ sudo apt-get install build-essential libncurses5-dev openssl libssl-dev
$ wget http://erlang.org/download/otp_src_R15B01.tar.gz
$ tar zxvf otp_src_R15B01.tar.gz
$ cd otp_src_R15B01
$ ./configure && make && sudo make install

Riak 1.3.0 をインストール

$ sudo apt-get install libssl0.9.8
$ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.3/1.3.0/riak-1.3.0.tar.gz
$ tar zxvf riak-1.3.0.tar.gz
$ cd riak-1.3.0
$ make rel

動作テスト

Starting a Riak Node に従いRiakを起動してみる.

$ cd riak-1.3.0 # ソースのディレクトリ内
$ rel/riak/bin/riak start
$ rel/riak/bin/riak attach
# Erlang コンソール内で
q().
$ rel/riak/bin/riak ping
pong

利用するポートの設定でWARNINGが出るが,実際に使うときに設定すれば良いだろう.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0