データベース - Redis - インストール


クラウディア 


1. 概要
2. インストール
3. 起動

1. 概要

 以下、「FreeBSD 14.3 RELEASE」へ「ports」を使用してインストール、起動する手順です。  いずれも、「root」ユーザ権限で。

2. インストール


cd /usr/ports/databases/redis

make config
 オプションは、デフォルトのままにしておきます。


make NO_DIALOG=yes

make install
 インストール時のメッセージです。

===>  Installing for redis-8.0.3
===>  Checking if redis is already installed
===>   Registering installation for redis-8.0.3
Installing redis-8.0.3...
===> Creating groups
Creating group 'redis' with gid '535'
===> Creating users
Creating user 'redis' with uid '535'
      To setup "redis" you need to edit the configuration file:
      /usr/local/etc/redis.conf

      To run redis from startup, add redis_enable="YES"
      in your /etc/rc.conf.

3. 起動

 サーバとして、登録、起動します。

sysrc redis_enable="YES"

service redis start