{"id":53,"date":"2014-09-20T03:37:00","date_gmt":"2014-09-20T03:37:00","guid":{"rendered":"http:\/\/onlinelab.info\/2014\/09\/20\/redis-environment-2\/"},"modified":"2014-09-20T03:37:00","modified_gmt":"2014-09-20T03:37:00","slug":"redis-environment-2","status":"publish","type":"post","link":"https:\/\/www.asianux.org.vn\/index.php\/2014\/09\/20\/redis-environment-2\/","title":{"rendered":"Redis &#8211; Environment"},"content":{"rendered":"<h2>Install Redis on Ubuntu<\/h2>\n<p>To install the Redis on Ubuntu, go to terminal and type the following commands:  <\/p>\n<pre><span>$sudo apt-get update<\/span><br \/><span>$sudo apt-get install redis-server<\/span><br \/><\/pre>\n<p>This will install redis on your machine.<br \/> <b>Start Redis<\/b> <\/p>\n<pre><span>$redis-server<\/span><br \/><\/pre>\n<p><b>Check if redis is working?<\/b> <\/p>\n<pre><span>$redis-cli<\/span><br \/><\/pre>\n<p>This will open a redis prompt, as shown below:  <\/p>\n<pre><span>redis 127.0.0.1:6379&gt;<\/span><br \/><\/pre>\n<p>In the above prompt <b>127.0.0.1<\/b> is your machine&#8217;s IP address and <b>6379<\/b> is port on which redis server is running. Now type the <b>PING<\/b> command as shown below. <\/p>\n<pre><span>redis 127.0.0.1:6379&gt; ping<\/span><br \/><span>PONG<\/span><br \/><\/pre>\n<p>This shows that you have successfully installed redis on your machine. <\/p>\n<h2>Install Redis Desktop Manager on Ubuntu<\/h2>\n<p>To install redis dessktop manager on ubuntu, just download the package from <a href=\"http:\/\/redisdesktop.com\/download\" target=\"_blank\" rel=\"noopener\">http:\/\/redisdesktop.com\/download<\/a> Open the downloaded package and install it.<br \/> Redis desktop manager will give you UI to manage your redis keys and data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Redis on Ubuntu To install the Redis on Ubuntu, go to terminal and type the following commands: $sudo apt-get update$sudo apt-get install redis-server This will install redis on your machine. Start Redis $redis-server Check&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}