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

  • SSH: Whitelist IPs for Your Server

    If you wish to whitelist certain IP’s for your server for any reason, you can easily go into your Webair Ezpanel for this. When whitelisting an IP, please provide the specific...
  • 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...
  • Setting files as immutable.

    Wouldn’t it be nice if we can set files so that even root cannot modify or delete it ? Both FreeBSD and Linux come with commands that allows us to...
  • Identifying malicious mail scripts on FreeBSD

    This article will help you identify an possible spam scripts that may be causing unwanted outbound mail which could cause your servers ip address to be blacklisted.There are many different...