{"id":4218,"date":"2019-05-07T19:11:34","date_gmt":"2019-05-07T11:11:34","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=4218"},"modified":"2019-05-07T19:11:34","modified_gmt":"2019-05-07T11:11:34","slug":"%e5%88%ab%e6%b5%aa%ef%bc%8c%e7%8c%a5%e7%90%90%e5%8f%91%e8%82%b2%e3%80%82%e4%b8%80%e5%a4%a7%e6%b3%a2redis%e9%9d%a2%e8%af%95%e9%a2%98%e6%ad%a3%e5%9c%a8%e6%9d%a5%e4%b8%b4","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=4218","title":{"rendered":"\u522b\u6d6a\uff0c\u7325\u7410\u53d1\u80b2\u3002\u4e00\u5927\u6ce2Redis\u9762\u8bd5\u9898\u6b63\u5728\u6765\u4e34"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5fae\u4fe1\u7fa4\u91cc\u6709\u5f88\u591a\u5c0f\u4f19\u4f34\u5728\u8fdb\u884c\u9762\u8bd5\uff0c\u4ece\u6625\u5b63\u9762\u5230\u590f\u5b63\uff0c\u4e00\u76f4\u90fd\u6709\u4eba\u3002\u5176\u4e2d\u4e00\u4e2a\u5fae\u4fe1\u7fa4\u91cc\uff0c\u521a\u5f00\u59cb\u6211\u8d77\u540d\u5b57\u53eb\u201c\u6625\u5b63\u9762\u8bd5\u4ea4\u6d41\u7fa4\u201d\u3002\u540e\u6765\u53d1\u73b0\u8fd9\u51e0\u5929\u521a\u5230\u590f\u5929\u8fd8\u6709\u4eba\u8fdb\u6765\u5728\u8ba8\u8bba\u9762\u8bd5\uff0c\u4e8e\u662f\u6211\u5c31\u628a\u7fa4\u540d\u53c8\u6539\u4e86\u4e00\u4e0b\u3002\u201d\u590f\u5b63\u9762\u8bd5\u4ea4\u6d41\u7fa4\u201d\uff0c\u6539\u6765\u6539\u53bb\u592a\u9ebb\u70e6\u4e86\uff0c\u4e8e\u662f\u6709\u4eba\u76f4\u63a5\u8ba9\u6211\u6539\u6210\u201c\u4e00\u5e74\u56db\u5b63\u9762\u8bd5\u4ea4\u6d41\u7fa4\u201d\u3002\u8fd8\u662f\u7fa4\u53cb\u6709\u60f3\u8c61\u529b!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ee7\u6628\u5929\u90a3\u4e9b\u9762\u8bd5\u9898\u4e4b\u540e\uff0c\u6709\u4eba\u79c1\u4fe1\u6211\u8bf4\u60f3\u770b Redis \u76f8\u5173\u7684\u9762\u8bd5\u9898\u3002\u4e8e\u662f\uff0c\u6211\u4eca\u5929\u5c31\u6574\u7406\u4e86\u4e00\u4e9b\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u5e0c\u671b\u80fd\u591f\u5bf9\u4f60\u4eec\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx1.sinaimg.cn\/large\/8fa5dcfcgy1g2syob87vej20b80dtq55.jpg\" alt=\"\" \/><figcaption>\u76f4\u64ad\u5728\u7ebf\u4eba\u6570\u9020\u5047<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001Redis\u7684\u5168\u79f0\u662f\u4ec0\u4e48\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u95ee\u9898\u4f30\u8ba1\u5f88\u591a\u4eba\u4f1a\u88ab\u5ffd\u7565\uff0c\u6211\u504f\u504f\u559c\u6b22\u3002\u5168\u79f0\u662f Remote Dictionary Server\uff08\u8fdc\u7a0b\u6570\u636e\u670d\u52a1\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001Redis \u5b98\u65b9\u4e3a\u4ec0\u4e48\u4e0d\u63d0\u4f9b Windows \u7248\u672c\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u4e3a\u76ee\u524d Linux \u7248\u672c\u5df2\u7ecf\u76f8\u5f53\u7a33\u5b9a\uff0c\u800c\u4e14\u7528\u6237\u91cf\u5f88\u5927\uff0c\u5f00\u53d1 windows \u7248\u672c\u9700\u8981\u66f4\u591a\u7684\u7cbe\u529b\uff0c\u4f1a\u5e26\u6765\u517c\u5bb9\u6027\u7b49\u95ee\u9898\u3002\u800c\u4e14 Linux \u5728 IO \u6a21\u578b\u9009\u62e9\u4e0a\u6bd4 Windows \u66f4\u5177\u4f18\u52bf\u3002\u6211\u4eec\u4e00\u822c window \u4e0a\u8fdb\u884c\u5f00\u53d1\uff0c\u751f\u4ea7\u73af\u5883\u8fd8\u662f\u5efa\u8bae\u5728 Linux \u90e8\u7f72\uff0c\u867d\u7136\u5fae\u8f6f\u5b98\u65b9\u5728 Redis \u7684\u5f00\u6e90\u57fa\u7840\u4e0a\u63d0\u4f9b\u4e86\u4e00\u4e2a windows \u7248\u672c\u7684 redis \u5206\u652f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001Redis\u5982\u4f55\u8bbe\u7f6e\u5bc6\u7801\u53ca\u9a8c\u8bc1\u5bc6\u7801\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e00\u70b9\u4e5f\u6709\u5f88\u591a\u4eba\u5ffd\u7565\uff0c\u751a\u81f3\u5f88\u591a\u4e0d\u8bbe\u7f6e\u5bc6\u7801\u7684\u3002\u8bbe\u7f6e\u5bc6\u7801\uff1aconfig set requirepass xttblog\u3002\u6388\u6743\u5bc6\u7801\uff1aauth xttblog\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001Redis\u96c6\u7fa4\u4f1a\u6709\u5199\u64cd\u4f5c\u4e22\u5931\u5417\uff1f\u4e3a\u4ec0\u4e48\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e00\u4e2a\u95ee\u9898\uff0c\u5982\u679c\u4f60\u4e0d\u6df1\u5165\uff0c\u53ef\u80fd\u5c31\u4e0d\u77e5\u9053\u3002Redis\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u6570\u636e\u7684\u5f3a\u4e00\u81f4\u6027\uff0c\u8fd9\u5728\u5b9e\u9645\u4e2d\u96c6\u7fa4\u5728\u7279\u5b9a\u7684\u6761\u4ef6\u4e0b\u53ef\u80fd\u4f1a\u4e22\u5931\u5199\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3001Redis\u96c6\u7fa4\u5982\u4f55\u9009\u62e9\u6570\u636e\u5e93\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6ca1\u505a\u8fc7\u96c6\u7fa4\uff0c\u4f60\u53ef\u80fd\u4e5f\u4e0d\u77e5\u9053\u3002\u4f60\u6bcf\u6b21 set\u3001get \u7b49\u64cd\u4f5c\u5e76\u4e0d\u77e5\u9053\u5b58\u5728\u54ea\u4e2a\u5e93\u4e2d\u3002\u5b9e\u9645\u4e0aRedis\u96c6\u7fa4\u76ee\u524d\u65e0\u6cd5\u505a\u6570\u636e\u5e93\u9009\u62e9\uff0c\u9ed8\u8ba4\u57280\u6570\u636e\u5e93\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f4\u591a\u5173\u4e8e Redis \u7684\u9762\u8bd5\u9898\uff0c\u53c2\u89c1\u7a0b\u5e8f\u5458\u9762\u8bd5\u9898\u9898\u5e93\u5c0f\u7a0b\u5e8f\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=4218\">\u522b\u6d6a\uff0c\u7325\u7410\u53d1\u80b2\u3002\u4e00\u5927\u6ce2Redis\u9762\u8bd5\u9898\u6b63\u5728\u6765\u4e34<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u5fae\u4fe1\u7fa4\u91cc\u6709\u5f88\u591a\u5c0f\u4f19\u4f34\u5728\u8fdb\u884c\u9762\u8bd5\uff0c\u4ece\u6625\u5b63\u9762\u5230\u590f\u5b63\uff0c\u4e00\u76f4\u90fd\u6709\u4eba\u3002\u5176\u4e2d\u4e00\u4e2a\u5fae\u4fe1\u7fa4\u91cc\uff0c\u521a\u5f00\u59cb\u6211\u8d77\u540d\u5b57\u53eb\u201c\u6625\u5b63\u9762\u8bd5\u4ea4\u6d41\u7fa4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[1577,669,681,579,410],"class_list":["post-4218","post","type-post","status-publish","format-standard","hentry","category-sql","tag-nosql","tag-redis","tag-681","tag-579","tag-410"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4218"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4218\/revisions"}],"predecessor-version":[{"id":4219,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4218\/revisions\/4219"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}