FreeBSD

Redis install steps on FreeBSD

 

Install redis FreeBSD port collection:

$ cd /usr/ports/databases/redis/ && make install clean
# or with portmaster
$ portmaster databases/redis

 

===>  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.

 

===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/bin/redis-sentinel
/usr/local/bin/redis-cli
/usr/local/bin/redis-server
/usr/local/bin/redis-benchmark

This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/redis

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.

===>  Cleaning for tcl86-8.6.3
===>  Cleaning for luajit-2.0.3
==>  Cleaning for redis-2.8.19
To run redis from startup, add `redis_enable=”YES”` in your `/etc/rc.conf`.

To restart redis:

/usr/local/etc/rc.d/redis restart

 

 

Related Articles

  • Some useful ‘find’ commands

    The ‘find’ command is quite useful as it helps to identify files with specific permissions, users,groups, size, etc.  Also, it is quite helpful to as it allows to process its results...
  • SSL Certificate Installation for Courier IMAP and POP

    This guide will provide you information on how to setup and configure SSL certificates for the courier IMAP mail server.   Prior to the installation you will need to purchase...
  • Extract Tar Files to a Different Directory

    Syntax Typical Unix tar syntax: tar -xf file.name.tar -C /path/to/directory GNU/tar syntax: tar xf file.tar -C /path/to/directory tar xf file.tar --directory /path/to/directory Example: Extract files to another directory In this...
  • Media tools installation Error/Fix

    While installing media tools like Neroacc, we might come across the following errors   ERROR: ====== /usr/ports/audio/linux-neroaaccodec]# make install clean ===>  Staging for linux-neroaaccodec-1.5.1 ===>   linux-neroaaccodec-1.5.1 depends on file: /compat/linux/etc/redhat-release...