3
3

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.

さくらレンタルサーバでredis

Posted at
  • アカウント : hoge
  1. redis最新を確認 -> 現時点では3.2.7だったので今回はこれを採用

  2. 汚したくないので /home/hogesrc ディレクトリを作ってそこで作業をする

$ cd
$ mkdir src
$ cd src
$ wget http://download.redis.io/releases/redis-3.2.7.tar.gz
$ tar xzf redis-3.2.7.tar.gz
$ cd redis-3.2.7
```

  1. src/Makefile ファイルのPREFIX?=/usr/local部分を /home/hoge/お好きなPath -> 自分は /home/hoge/usr/localとした
  2. pwd= /home/hoge/src/redis-3.2.7

$ gmake
$ gmake install
```

  1. 3で設定した PREFIXのpath/bin 内にインストールされる
  2. .cshrcset path$HOME/3のPREFIX/binを追加
  3. 一旦exit
  4. ssh で再度ログイン
  5. nohup redis-server < /dev/null >& /dev/null & でバックグラウンド起動
  6. $ redis-cliで接続できた
3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?