irishnsa.blogg.se

Ubuntu install redis cli
Ubuntu install redis cli






Redis configuration is located in the /etc/redis/nf file. Tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 20478/redis-serverįrom output above we learned that redis server is already listening on port 6379 and bind to localhost or 127.0.0.1. We can also check using the netstat command whether redis-server is already listening on a port or not. You can check using the service command : $ sudo service redis-server status $ sudo apt-get -y install redis-serverīy default, redis-server is started after installation.

ubuntu install redis cli

$ sudo apt-get updateĪfter updating the system, it's time to install Redis from the repository. Before installing Redis, let's update the system to latest update first. Now, let's install Redis from the Ubuntu repository. You can find data structures that Redis support below :

ubuntu install redis cli

Redis supports multiple types of data structures. Quoting Introduction to Redis page : Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month.








Ubuntu install redis cli