189
172

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacにRedisをインストールする

Last updated at Posted at 2013-07-04

Homebrewを利用してインストール

brew install redis
==> Downloading http://redis.googlecode.com/files/redis-2.6.10.tar.gz
######################################################################## 100.0%
==> make -C /private/tmp/redis-e09G/redis-2.6.10/src CC=cc
==> Caveats
To have launchd start redis at login:
    ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Then to load redis now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Or, if you don't want/need launchctl, you can just run:
    redis-server /usr/local/etc/redis.conf
==> Summary
/usr/local/Cellar/redis/2.6.10: 9 files, 748K, built in 9 seconds

起動

 redis-server /usr/local/etc/redis.conf

接続

redis-cli

確認

redis 127.0.0.1:6379> set key val
OK
redis 127.0.0.1:6379> get key
"val"

GUIクライアント

189
172
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
189
172

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?