Skip to content

Instantly share code, notes, and snippets.

@m-nori
Created February 5, 2013 06:13
Show Gist options
  • Save m-nori/4712610 to your computer and use it in GitHub Desktop.
Save m-nori/4712610 to your computer and use it in GitHub Desktop.
Redsiインストール手順

Redisの環境作成


インストール

node.jsのライブラリのインストールを行なっていた場合別途インストールは不要。
make install以降はroot又はsudoで実施。

$ wget http://redis.googlecode.com/files/redis-2.6.9.tar.gz
$ tar xzf redis-2.6.9.tar.gz
$ cd redis-2.6.9
$ make
$ make install
$ cd redis-2.6.9/utils
$ ./install_server.sh

AWS上で実行した所、install_server.shが正常に終了しなかったため、 「/etc/init.d/redis_6379」を一部修正。 \nを改行に手動で置換。

起動確認

$ service redis_6379 start
$ redis-cli
  redis 127.0.0.1:6379>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment