LoginSignup
101
73

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
73
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
73