{"id":291,"date":"2022-06-29T10:55:00","date_gmt":"2022-06-29T02:55:00","guid":{"rendered":"https:\/\/cn1.club\/?p=291"},"modified":"2025-03-15T23:44:32","modified_gmt":"2025-03-15T15:44:32","slug":"elasticsearch%e7%9a%84%e9%bb%98%e8%ae%a4%e8%b4%a6%e5%8f%b7%e5%af%86%e7%a0%81%e4%bb%a5%e5%8f%8a8-3-0%e4%bb%a5%e4%b8%8a%e7%89%88%e6%9c%ac%e4%bf%ae%e6%94%b9%e9%bb%98%e8%ae%a4%e5%af%86%e7%a0%81","status":"publish","type":"post","link":"http:\/\/cn1.club\/?p=291","title":{"rendered":"elasticsearch\u7684\u9ed8\u8ba4\u8d26\u53f7\u5bc6\u7801\u4ee5\u53ca8.3.0\u4ee5\u4e0a\u7248\u672c\u4fee\u6539\u9ed8\u8ba4\u5bc6\u7801"},"content":{"rendered":"\n<p>\u9ed8\u8ba4\u8d26\u53f7\u5bc6\u7801\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >\nuser: elastic password: changeme <\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1.\u4ee5\u7ba1\u7406\u5458\u65b9\u5f0f\u8fd0\u884c\uff1aelasticsearch.bat<\/li>\n\n\n\n<li>2.\u5728elasticsearch-8.3.0\\bin\u76ee\u5f55\u6253\u5f00cmd,\u4f8b\u5982\u9700\u8981\u4fee\u6539\u7528\u6237kibana\u7684\u5bc6\u7801\u5219\u8f93\u5165\uff1aelasticsearch-reset-password --username kibana -i<\/li>\n\n\n\n<li>3.\u8f93\u5165\u65b0\u5bc6\u7801,\u56de\u8f66\u540e\u4e8c\u6b21\u786e\u8ba4\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >D:\\sitemodel\\elasticsearch-8.3.0\\bin&gt;elasticsearch-reset-password --username kib\nana -i\nwarning: ignoring JAVA_HOME=&quot;D:\\sitemodel\\elasticsearch-8.3.0\\jdk&quot; ; using\nThis tool will reset the password of the &#091;kibana] user.\nYou will be prompted to enter the password.\nPlease confirm that you would like to continue &#091;y\/N]y\n\n\nEnter password for &#091;kibana]:\nRe-enter password for &#091;kibana]:\nPassword for the &#091;kibana] user successfully reset.\n\n\n\nD:\\sitemodel\\elasticsearch-8.3.0\\bin&gt;elasticsearch-reset-password --username ela\nstic -i\nwarning: ignoring JAVA_HOME=&quot;D:\\sitemodel\\elasticsearch-8.3.0\\jdk&quot; ; using\nThis tool will reset the password of the &#091;elastic] user.\nYou will be prompted to enter the password.\nPlease confirm that you would like to continue &#091;y\/N]y\n\n\nEnter password for &#091;elastic]:\nRe-enter password for &#091;elastic]:\nPassword for the &#091;elastic] user successfully reset.<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u9ed8\u8ba4\u8d26\u53f7\u5bc6\u7801\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-zheteng"],"_links":{"self":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=291"}],"version-history":[{"count":0,"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/291\/revisions"}],"wp:attachment":[{"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}