Menu

How To Install Redis And Redis Desktop Manager On Ubuntu Linux 16.04

Redis is a high performance data store solution, it is a one more step forward in the “No SQL” regime and developers are using this store to achieve reliable performance and flexibility for their applications. Redis can be used as database, cache and message broker. It supports wide range of data structures and atomic operations. It uses an “in-memory dataset” for achieving optimized performance. Redis works on Linux and Mac operating systems; for production environments, it is recommended to use Redis on Linux OS. Redis supports a large number of programming languages and currently efforts are being made to make this available for Windows operating system too. In this article, we will learn how to install Redis on Ubuntu Linux and how to manage Redis using Redis Desktop Manager tool.

Installing Redis on Ubuntu

Redis is a simple and lightweight tool, in order to install it ubuntu, you don’t need any special packages/ pre-requisites, just make sure to run APT updates first.

sudo apt-get update

Once the update process is complete, run following command to install Redis; confirm the download for installer package when prompted.

sudo apt-get install redis-server

That’s it, Redis has been installed, now we need to start its daemon process. Run following command to start Redis server process.

redis-server /etc/redis/redis.conf

You can optimize “redis-server /etc/redis/redis.conf” configuration file to tweak / modify Redis to your needs. This configuration files contains various parameters, for production environment, it is recommend to properly adjust this file so that Redis may server you to its best capabilities.

Once Redis process has been started, you can verify that its running fine by accessing its command line console using following command.

redis-cli

It should take you to the Redis prompt, following screenshot depicts this.

Redis is running fine on our Linux box now, we will install and configure its Desktop manager application so we may use a nice, easy to use graphical interface to interact with Redis.

Installing Redis Desktop Manager

As already mentioned, Redis Desktop Manager gives users a great ease to manage their Redis intance. In order to install Redis Desktop Manager, launch your system terminal and download its installer package for ubuntu using following command.

Once the download process is complete, install Redis Desktop Manager by using following command.

sudo dpkg -i redis-desktop-manager_0.8.3-120_amd64.deb

If you see any dependencies errors while running above, simply run following APT command.

sudo apt-get -f install

Congratulations! Redis Desktop Manager has been installed now, launch it by simply typing.

redis-desktop-manager

Here is the welcome screen you should be seeing.

In order to connect your localhost or remote Redis server, click “Connect to Redis Server” tab and it will load a login window, here specify your Redis server details.

There you go, you are connected to your Redis instance now, start using it for your required operations.

Conclusion

Redis is being used by many experts for their production and critical applications. The popularity for this tool is on the rise and we should see more and more features in the coming era. No-SQL techniques have gained massive popularity due to their speed, easy of use and flexibility.

If you enjoy our article(s), Please use “Get Linuxpitstop articles by Email” option to get latest articles by email. Please like, follow and share our social network pages, we need help from esteemed visitors like yourself to keep this venture going.

Average at best.
I would rather use redis commander as it has a web based interface and would not have installed it on same machine, I hope u know that most production machines dont have GUI installed.

You chose to ignore to mention that redis is a key-value DB.

It has a port on Windows.

You should have told us what firewall ports to unblock to use it from remote server.

I can recommend Keylord ( https://protonail.com/products/keylord ) as alternative to RDM. It is shareware application with 14 day trial but it more reliable than RDM, has easy and predictable GUI, allow to navigate between keys and values without pagination, can load millions of keys quickly without blocking UI and have ports for x86 and x64 Debian based Linux distributives.

To Gaurav: Seems like you don’t understand benefits of using desktop applications:

* easy installation (compare with installation process of redis commanger where you should install node, npm, install app, add them to auto-start, open ports in firewall, etc. and repeat it after migration to new node version which easy can broke installed application)
* better performance than web application
* don’t waste resources of production server when you don’t use it
* don’t require configuration of additional applications (i.e. firewall to restrict connections to web UI, “systemctl” for autostart, etc.)

GUI clients should not be installed to production environment as you mention. They should be installed in your dev environment (i.e. on you laptop).