{"id":1704,"date":"2021-03-16T20:57:13","date_gmt":"2021-03-16T17:27:13","guid":{"rendered":"https:\/\/parsdev.com\/wpblog\/install-redis\/"},"modified":"2025-07-28T08:54:11","modified_gmt":"2025-07-28T05:24:11","slug":"install-redis","status":"publish","type":"post","link":"https:\/\/parsdev.com/blog\/install-redis\/","title":{"rendered":"\u0646\u0635\u0628 Redis \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633"},"content":{"rendered":"<p>\u0646\u0635\u0628 <strong>Redis<\/strong> \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f\u060c \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0647&nbsp;\u062f\u0648 \u0631\u0648\u0634 \u0646\u0635\u0628 \u0627\u0632 <strong>Source<\/strong> \u0648 \u0646\u0635\u0628 \u0627\u0632 \u0637\u0631\u06cc\u0642 <strong>Package Manager<\/strong> \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 Redis \u062f\u0631 \u0645\u062d\u06cc\u0637 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 \u062e\u0627\u0646\u0648\u0627\u062f\u0647 Redhat \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0627\u0628\u062a\u062f\u0627 \u0645\u062e\u0632\u0646 Epel \u0631\u0627 \u0646\u0635\u0628 \u0648 \u0633\u067e\u0633 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 Redis \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<pre dir=\"ltr\">\r\n<code class=\"bash\">\r\nyum install epel-release -y\r\nyum install redis\r\n<\/code><\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u062f\u0631 \u062e\u0627\u0646\u0648\u0627\u062f\u0647 \u062f\u0628\u06cc\u0627\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<pre>\r\n<code class=\"bash\">\r\napt install redis\r\n<\/code><\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0627\u0632 Source&nbsp;Code \u0628\u0639\u062f \u0627\u0632 \u062f\u0627\u0646\u0644\u0648\u062f \u0641\u0627\u06cc\u0644 \u0641\u0634\u0631\u062f\u0647 \u0622\u0646 \u0631\u0627 \u0627\u0632 \u062d\u0627\u0644\u062a \u0641\u0634\u0631\u062f\u0647 \u062e\u0627\u0631\u062c \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631 \u067e\u0648\u0634\u0647 redis-stable \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 make \u0631\u062f\u06cc\u0633 \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<pre>\r\n<code class=\"bash\">\r\nwget https:\/\/download.redis.io\/redis-stable.tar.gz\r\ntar xvzf redis-stable.tar.gz\r\ncd redis-stable\r\nmake\r\nmake install\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0646\u0635\u0628 \u062d\u062a\u0645\u0627 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0648\u0627\u0631\u062f \u0627\u0645\u0646\u06cc\u062a\u06cc \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a redis \u0628\u0647 \u0622\u062f\u0631\u0633 \/etc\/resis.conf \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645 :<br \/>\n&#8211; \u0631\u062f\u06cc\u0633 \u0627\u0632 \u067e\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u06f6\u06f3\u06f7\u06f9 tcp \u0627\u0633\u062a\u0641\u0627\u062f\u0647&nbsp; \u0645\u06cc \u06a9\u0646\u062f.<br \/>\n&#8211; \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f bind 127.0.0.1 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a\u060c \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u0631\u062f\u06cc\u0633 \u0628\u0631 \u0631\u0648\u06cc \u0634\u0628\u06a9\u0647 \u0633\u0631\u0648\u06cc\u0633\u062f\u0647\u06cc \u0646\u06a9\u0646\u062f.<br \/>\n&#8211; \u06cc\u06a9 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0642\u0648\u06cc \u0645\u0642\u0627\u0628\u0644 \u0645\u0642\u062f\u0627\u0631&nbsp;requirepass \u062f\u0631 \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<br \/>\n&#8211; \u067e\u0648\u0631\u062a \u06f6\u06f3\u06f7\u06f9 \u0631\u0627 \u062f\u0631 \u0634\u0628\u06a9\u0647 \u0645\u0633\u062f\u0648\u062f \u06a9\u0646\u06cc\u062f.<br \/>\n&#8211; \u062a\u0646\u0647\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u0631\u06cc\u0645\u0648\u062a \u062f\u06cc\u06af\u0631\u06cc \u0633\u0631\u0648\u06cc\u0633\u062f\u0647\u06cc \u06a9\u0646\u062f bind \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0646 \u0622\u06cc \u067e\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0648 \u067e\u0648\u0631\u062a \u06f6\u06f3\u06f7\u06f9 \u0631\u0627 \u0627\u0632 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644 \u0633\u0627\u0632\u06cc \u0645\u0648\u0642\u0639 \u0628\u0648\u062a \u0648 \u0634\u0631\u0648\u0639 Redis \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u06a9\u0647 \u0627\u0632 systemctl \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>\r\n<code class=\"bash\">\r\nsystemctl enable redis\r\nsystemctl restart redis\r\n<\/code><\/pre>\n<p>\u0645\u0648\u0641\u0642 \u0628\u0627\u0634\u06cc\u062f<\/p>\n","protected":false},"excerpt":{"rendered":"\u0646\u0635\u0628 Redis \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f\u060c \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0647&nbsp;\u062f\u0648 \u0631\u0648\u0634 \u0646\u0635\u0628 \u0627\u0632 Source \u0648 \u0646\u0635\u0628&hellip;","protected":false},"author":1,"featured_media":1703,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[3],"tags":[30],"class_list":{"0":"post-1704","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-linux","8":"tag-database","9":"cs-entry"},"_links":{"self":[{"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/posts\/1704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/comments?post=1704"}],"version-history":[{"count":1,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/posts\/1704\/revisions"}],"predecessor-version":[{"id":5541,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/posts\/1704\/revisions\/5541"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/media\/1703"}],"wp:attachment":[{"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/media?parent=1704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/categories?post=1704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parsdev.com/blog\/wp-json\/wp\/v2\/tags?post=1704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}