読者です 読者をやめる 読者になる 読者になる

DragonflyBSD + Redis インストールログ

単純に pkg で redis インストールするだけ.

環境

  • DragonFly v4.0.1.2.gf72e0-RELEASE

ログ

$ sudo pkg install redis
Updating Avalon repository catalogue...
Avalon repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked): 
 
New packages to be INSTALLED:
        redis: 2.8.19

The process will require 2 MB more space.
328 KB to be downloaded.

Proceed with this action? [y/N]: y
Fetching redis-2.8.19.txz: 100%  328 KB  84.1k/s    00:04    
Checking integrity... done (0 conflicting)
[1/1] Installing redis-2.8.19...
===> Creating users and/or groups.
Creating group 'redis' with gid '535'.
Creating user 'redis' with uid '535'.
[1/1] Extracting redis-2.8.19: 100%
Message for redis-2.8.19:
 ===>  CONFIGURATION NOTE:

      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.

OS 起動時に起動するようにする

$ sudo sh -c 'echo "redis_enable=\"YES\"" >> /etc/rc.conf'

なんか デフォルトで bind コメントアウトされてるのでつける.

# By default Redis listens for connections from all the network interfaces
# available on the server. It is possible to listen to just one or multiple
# interfaces using the "bind" configuration directive, followed by one or
# more IP addresses.
#
# Examples:
#
# bind 192.168.1.100 10.0.0.1
bind 127.0.0.1

起動

$ sudo service redis start