LoginSignup
23
23

More than 5 years have passed since last update.

amazon linux redis install

Last updated at Posted at 2016-01-30

Redisインストール(Amazon Linux - EC2)

Redis Install

Using epel Repository

sudo yum --enablerepo=epel install redis
=====================================================================================================================================================================
 Package                              Arch                                  Version                                        Repository                           Size
=====================================================================================================================================================================
Installing:
 redis                                x86_64                                2.4.10-1.el6                                   epel                                213 k

Transaction Summary
=====================================================================================================================================================================
Install  1 Package

version 2.4.10-1.el6 がインストールされた。(2016年1月30日)

Using remi Repository

sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo yum --enablerepo=remi install redis
=====================================================================================================================================================================
 Package                              Arch                               Version                                         Repository                             Size
=====================================================================================================================================================================
Installing:
 redis                                x86_64                             3.0.7-1.el6.remi                                remi                                  442 k
Installing for dependencies:
 jemalloc                             x86_64                             3.3.1-1.8.amzn1                                 amzn-main                             111 k

Transaction Summary
=====================================================================================================================================================================
Install  1 Package (+1 Dependent package)

version 3.0.7-1.el6.remiがインストールされた。(2016年1月30日)

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

Setting Service

サービスの起動、自動起動設定

sudo service redis start
sudo chkconfig --level 35 redis on
sudo chkconfig --list | grep redis

実行結果

$ sudo service redis start
Starting redis-server:   [  OK  ]
$ sudo chkconfig --level 35 redis on
$ sudo chkconfig --list | grep redis
redis           0:off   1:off   2:off   3:on    4:off   5:on    6:off
redis-sentinel  0:off   1:off   2:off   3:off   4:off   5:off   6:off

参考URL
WordPress の表示速度を驚くほど高速化させる方法!〜Redis連携

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