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:

      To setup "redis" you need to edit the configuration file:

      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


$ sudo service redis start