101
72

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.

AWS EC2にredisをインストールする

Last updated at Posted at 2013-09-23

Amazon Linux

Amazon Linux AMIならgccとかインストールしなくても次のコマンドでインストールが終わる.

$ sudo yum --enablerepo=epel install redis

epelだとバージョンが古いので,remiを使うとよい.

$ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
$ sudo yum --enablerepo=remi install redis

remiリポジトリは4.0系に更新されている.(2017年8月)
http://rpms.famillecollet.com/enterprise/6/remi/x86_64/repoview/redis.html

Amazon Linux 2

Amazon Linux 2はamazon-linux-extrasコマンドでインストールできる.

$ sudo amazon-linux-extras install redis4.0
101
72
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
101
72

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?