bluiop.blogg.se

How to install redis
How to install redis








PONG Step 6 (OPTIONAL) Accessing redis from the remote systemīy default, redis is accessible from localhost but if you wish to access redis server from a remote location then we need to make some changes in the configuration file. We can now issue 'Ping' command & if the redis service is up, we will get 'PONG ' as a response, To login to redis server & check if redis is working fine, open the terminal & run the command, Step 5- Checking if the Redis service is working If you are using more than one redis instance or have changed the port number for redis instance, then you can replace 6379 with the port number you have chosen to stop/start the redis service. To start the Redis service, the command is Note:- We can also set up a number of redis instances by running this script again & changing the port number for the new redis instance. Is this ok? Then press ENTER to go on or Ctrl-C to abort.Ĭopied /tmp/nf => /etc/init.d/redis_6379įor this installation, we have used all the default settings, but we can modify any settings as per our need.

how to install redis

Please select the redis executable path Ĭli Executable : /usr/local/bin/redis-cli Please select the data directory for this instance Selected default - /var/log/redis_6379.log Please select the redis config file name

how to install redis

Please select the redis port for this instance: This script will help you easily set up a running redis server We will now be asked with some information regarding redis server, as shown below,










How to install redis