{"id":1386,"date":"2020-09-30T13:50:24","date_gmt":"2020-09-30T18:50:24","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1386"},"modified":"2020-09-30T13:50:24","modified_gmt":"2020-09-30T18:50:24","slug":"how-to-install-and-configure-redis-on-debian-9-2","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/","title":{"rendered":"How to Install and Configure Redis on Debian 9"},"content":{"rendered":"\n<p>Redis can be used as a key-value database or also as a cache and message broker. Some of Redis&#8217; features are built-in transactions, replication, and support for a variety of data structures like strings, hashes, lists, sets, and so on. The Redis Sentinel makes Redis highly available and it supports automatic partitioning with Redis Cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"120\" height=\"120\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/set-up-install-redis-database-caching-software-on-debian-9-cloud-vps.jpg\" alt=\"\" class=\"wp-image-1388\"\/><\/figure>\n\n\n\n<p>The Redis package which comes with the built in Debian repositories is pretty outdated and contains many vulnerabilities when it comes to security. To fix this in this guide, we are going to use the source version to install Redis. At the moment when this was written, the latest stable version of Redis was 4.0.10. The installation process of Redis on a <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Debian 9 Cloud VPS<\/a> is a fairly easy task, but you have to follow the steps carefully as they are given in the tutorial below. Now let&#8217;s begin with the installation.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">1. Update the OS packages<\/h2>\n\n\n\n<p>Let&#8217;s start by upgrading our server to the latest version of all packages. Let&#8217;s fetch the latest list of packages, then upgrade our server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update\nsudo apt-get upgrade<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. Install dependencies<\/h2>\n\n\n\n<p>If we want to compile from source, the first thing we need to do is to install the build tools:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install build-essential tcl wget curl<\/pre>\n\n\n\n<p>You can use the official site to download the Redis source:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget http:\/\/download.redis.io\/redis-stable.tar.gz<\/pre>\n\n\n\n<p>Next, the compressed file needs to be extracted to a directory on your server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd opt\/\ntar -xvzf redis-stable.tar.gz\ncd redis-stable<\/pre>\n\n\n\n<p>The older Redis versions (up until 4.0) required compiling separate components. But now with version 4, compiling Redis compiles the needed dependencies at the same time, saving us time and reduces the chance of errors.<\/p>\n\n\n\n<p>Compile the source:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make<\/pre>\n\n\n\n<p>After you have compiled Redis, you then need to install the required binaries onto the server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make install<\/pre>\n\n\n\n<p>If you want, you can also test if the Redis binaries and its dependencies have been met by using the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make test<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. Starting Redis<\/h2>\n\n\n\n<p>We have downloaded the Redis source package which contains useful utilities that can automate the Redis startup process during system boot.<\/p>\n\n\n\n<p>The next thing on the to-do list is to change into the <code>utils<\/code> directory and execute the build script. The script runs interactively, all you have to do is to accept the default values when prompted.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd utils\/\n.\/install_server.sh<\/pre>\n\n\n\n<p>The relevant startup scripts which are recommended for the server are installed by the script above. Another thing you need to know is that you can locate the default Redis configuration file at <code>\/etc\/redis.conf<\/code>.<\/p>\n\n\n\n<p>Don&#8217;t forget to enable Redis during start up:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable redis_6379<\/pre>\n\n\n\n<p>Then you can start Redis like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start redis_6379<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. Configure Redis<\/h2>\n\n\n\n<p>At this point, the Redis development environment needs to be configurated. Therefore, you should first create a directory structure for Redis:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir \/etc\/redis\nmkdir \/var\/www\/redis<\/pre>\n\n\n\n<p>Now, by using the following command you will create a Redis user and group:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">adduser --system --group --no-create-home redis<\/pre>\n\n\n\n<p>Additionally, the Redis group and user ownership should be given to the Redis directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown redis:redis \/var\/www\/redis\nchmod 770 \/var\/www\/redis<\/pre>\n\n\n\n<p>Then you need to copy the Redis sample configuration file from the Redis source directory to the directory which was created above:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cp redis-stable\/redis.conf \/etc\/redis\/<\/pre>\n\n\n\n<p>As your next step, you should open the Redis configuration file. From there, you can make some changes as per your requirements:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/redis\/redis.conf<\/pre>\n\n\n\n<p>Our suggestion is for you to make the following changes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">port  6379\nsupervised systemd\nlogfile \/var\/log\/redis.log\ndir  \/var\/www\/redis\/\nbind your_server_IP_address<\/pre>\n\n\n\n<p>After you have finished with all of that, you can save and close the file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Create a Redis Systemd File<\/h2>\n\n\n\n<p>Furthermore, a system file that will control and manage the Redis daemon should be created.<br>This can be done by creating a <code>redis.service<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/systemd\/system\/redis.service<\/pre>\n\n\n\n<p>The following lines need to be added:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=Redis In-Memory Data Store\nAfter=network.target<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">[Service]\nUser=redis\nGroup=redis\nExecStart=\/usr\/local\/bin\/redis_server \/etc\/redis\/redis.conf\nExecStop=\/usr\/local\/bin\/redis-cli shutdown\nRestart=always<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<p>Once you are done with this, you can save and close the file. Then you can start the Redis service using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start redis<\/pre>\n\n\n\n<p>Next thing you need to do is to check the Redis service status and see whether it is running or not:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status redis<\/pre>\n\n\n\n<p>If you did everything right, you are going to see the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf redis.service - Redis In-Memory Data Store\n   Loaded: loaded (\/etc\/systemd\/system\/redis.service; disabled; vendor preset: enabled)\n   Active: active (running) since Sat 2018-07-28 01:10:03 EDT; 1min 6s ago\n Main PID: 1063 (redis-server)\n    Tasks: 4 (limit: 4915)\n   CGroup: \/system.slice\/redis.service\n           \u2514\u25001063 \/usr\/local\/bin\/redis-server 127.0.0.1:6379\n\n<\/pre>\n\n\n\n<p>Congratulations on completing the tutorial, you should now have the latest version of Redis installed on your Debian 9 Cloud VPS.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"120\" height=\"120\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/redis-fully-managed-support-by-experts-caching-setup-for-debian.jpg\" alt=\"\" class=\"wp-image-1390\"\/><\/figure><\/div>\n\n\n\n<p>Since Redis is such a useful and versatile program, it can be quite difficult to understand how to configure it or use it correctly. By using our <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Debian Cloud VPS hosting<\/a>, we can take care of your entire server for you. We can configure and install any software that you need, set up caching, optimize your server&#8217;s processes, and keep everything running at its best, all included for free with the VPS forever.<\/p>\n\n\n\n<p>If this tutorial helped you install Redis on your Debian 9 server or VPS, please let us know how the install went by leaving a comment in the comments section, or a share on social media with our share shortcuts would be greatly appreciated. Thank you.<strong><span style=\"color: #ff0000;\"><\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redis can be used as a key-value database or also as a cache and message broker. Some of Redis&#8217; features are built-in transactions, replication, and support for a variety of data structures like strings, hashes, lists, sets, and so on. The Redis Sentinel makes Redis highly available and it supports automatic partitioning with Redis Cluster. &#8230; <a title=\"How to Install and Configure Redis on Debian 9\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/\" aria-label=\"More on How to Install and Configure Redis on Debian 9\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[106,110,105],"class_list":["post-1386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cache","tag-debian","tag-redis"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis&#039; features are built-in transactions, replication, and\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis&#039; features are built-in transactions, replication, and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-30T18:50:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install and Configure Redis on Debian 9\",\"datePublished\":\"2020-09-30T18:50:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/\"},\"wordCount\":765,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/how-to-install-and-configure-redis-on-debian-9.jpg\",\"keywords\":[\"cache\",\"debian\",\"redis\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/\",\"name\":\"How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/how-to-install-and-configure-redis-on-debian-9.jpg\",\"datePublished\":\"2020-09-30T18:50:24+00:00\",\"description\":\"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis' features are built-in transactions, replication, and\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/how-to-install-and-configure-redis-on-debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/how-to-install-and-configure-redis-on-debian-9.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-and-configure-redis-on-debian-9-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure Redis on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog","description":"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis' features are built-in transactions, replication, and","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog","og_description":"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis' features are built-in transactions, replication, and","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2020-09-30T18:50:24+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install and Configure Redis on Debian 9","datePublished":"2020-09-30T18:50:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/"},"wordCount":765,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg","keywords":["cache","debian","redis"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/","name":"How to Install and Configure Redis on Debian 9 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg","datePublished":"2020-09-30T18:50:24+00:00","description":"Redis can be used as a key-value database or also as a cache and message broker. Some of Redis' features are built-in transactions, replication, and","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/09\/how-to-install-and-configure-redis-on-debian-9.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-and-configure-redis-on-debian-9-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure Redis on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1386"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1386\/revisions"}],"predecessor-version":[{"id":1393,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1386\/revisions\/1393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1389"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}