How to install Redis Ubuntu?
Redis can be installed on the Ubuntu machines by using the command:-
sudo apt-get install Redis-server
If the user wants Redis to be installed as an object cache for Wordpress or any other PHP, then the following command can be used:-
sudo apt-get install php-redis
If the user wants to configure the Redis as a cache, /etc/Redis/redis.conf file needs to be updated, and the text editor nano can be used for this purpose.
sudo nano /etc/redis/redis.conf
Any text editor can be used.
BY Best Interview Question ON 17 Feb 2019