lasaspodcast.blogg.se

How to install redis on ubuntu
How to install redis on ubuntu








how to install redis on ubuntu

You can limit the output by passing Section as an argument. To allow remote access to the redis instance, bind redis to 0.0.0.0 using this line:

How to install redis on ubuntu update#

In this section, we are going to update the redis configuration file to allow remote access, to set an authentication password, to add a pid file and to Set Persistent Store for Recovery.Įdit redis config file using this: vim /etc/redis/nf The redis configuration file is located in this path /etc/redis/nf. The above indicates that the service has been started successfully.

how to install redis on ubuntu

Nov 19 13:46:56 systemd: Started Advanced key-value store. Nov 19 13:46:56 systemd: Starting Advanced key-value store. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 13:46:56 EAT 1min 3s agoĬGroup: /system.slice/rvice Now that the service has been installed, let’s start it with this command: sudo systemctl start redis-serverĮnable the service so it starts on boot: sudo systemctl enable redis-serverĪfter the service starts, use this command to check the status of the service: Use this command to confirm the redis package installed: $ apt-cache policy info redis

how to install redis on ubuntu

$ echo "deb $(lsb_release -cs) main" | sudo tee /etc/apt//redis.list










How to install redis on ubuntu