Skip to content

Instantly share code, notes, and snippets.

@quiver
Created November 3, 2012 06:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quiver/4006264 to your computer and use it in GitHub Desktop.
Save quiver/4006264 to your computer and use it in GitHub Desktop.
Install Riak on Ubuntu with Basho official repository
# http://basho.com/blog/technical/2012/10/16/Basho-Package-Repos-Now-Online/
$ curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1016 100 1016 0 0 1407 0 --:--:-- --:--:-- --:--:-- 4861
OK
$ sudo bash -c "echo deb http://apt.basho.com `lsb_release -sc` main > /etc/apt/sources.list.d/basho.list"
$ sudo apt-get update
...
Ign http://apt.basho.com precise/main Translation-en_US
Ign http://apt.basho.com precise/main Translation-en
Fetched 7,597 B in 4s (1,837 B/s)
Reading package lists... Done
$ apt-cache showpkg riak
Package: riak
Versions:
1.2.1-1 (/var/lib/apt/lists/apt.basho.com_dists_precise_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/apt.basho.com_dists_precise_main_binary-amd64_Packages
MD5: f38bf4e5d49cddc647c1f784afa6f597
1.2.0-1 (/var/lib/apt/lists/apt.basho.com_dists_precise_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/apt.basho.com_dists_precise_main_binary-amd64_Packages
MD5: f38bf4e5d49cddc647c1f784afa6f597
Reverse Depends:
Dependencies:
1.2.1-1 - adduser (0 (null)) logrotate (0 (null)) libc6 (2 2.15) libgcc1 (2 1:4.1.1) libssl1.0.0 (2 1.0.0) libstdc++6 (2 4.1.1) libtinfo5 (0 (null)) sudo (0 (null))
1.2.0-1 - adduser (0 (null)) logrotate (0 (null)) libc6 (2 2.15) libgcc1 (2 1:4.1.1) libssl1.0.0 (2 1.0.0) libstdc++6 (2 4.1.1) libtinfo5 (0 (null)) sudo (0 (null))
Provides:
1.2.1-1 -
1.2.0-1 -
Reverse Provides:
$ sudo apt-get install riak
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
riak
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 25.3 MB of archives.
After this operation, 38.8 MB of additional disk space will be used.
Get:1 http://apt.basho.com/ precise/main riak amd64 1.2.1-1 [25.3 MB]
Fetched 25.3 MB in 16s (1,533 kB/s)
Selecting previously unselected package riak.
(Reading database ... 52122 files and directories currently installed.)
Unpacking riak (from .../riak_1.2.1-1_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up riak (1.2.1-1) ...
Adding group `riak' (GID 115) ...
Done.
Adding system user `riak' (UID 108) ...
Adding new user `riak' (UID 108) with group `riak' ...
Not creating home directory `/var/lib/riak'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment