Quantcast
Channel: データベース –俺的備忘録 〜なんかいろいろ〜
Viewing all articles
Browse latest Browse all 33

CentOS 7にRedisサーバをインストールする

$
0
0

CentOS 7にRedisサーバをインストールする場合、epelおよびremiからインストールをすると簡単だ。
まず、以下のコマンドでepelおよびremiをインストールする。

yum install -y epel-release
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

次に、以下のコマンドでredis-serverをインストールする。

yum install --enablerepo=epel -y gperftools
yum install --enablerepo=remi -y redis

 

最後に、以下のコマンドでRedisを起動する。

systemctl start redis

 

Redis入門 インメモリKVSによる高速データ管理 Redis入門 インメモリKVSによる高速データ管理

Viewing all articles
Browse latest Browse all 33

Trending Articles