{"id":21514,"date":"2026-11-03T10:35:06","date_gmt":"2026-11-03T02:35:06","guid":{"rendered":"https:\/\/blog.ywdevops.cn\/?p=21514"},"modified":"2026-11-03T14:10:58","modified_gmt":"2026-11-03T06:10:58","slug":"n9e-2","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2026\/11\/03\/n9e-2\/","title":{"rendered":"n9e-v9.3.0\u5355\u8282\u70b9\u5b89\u88c5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u4f7f\u7528 <a href=\"https:\/\/flashcat.cloud\/tags\/mysql\/\">MySQL<\/a> \u548c <a href=\"https:\/\/flashcat.cloud\/tags\/redis\/\">Redis<\/a> \u6765\u5b58\u50a8\u6570\u636e<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u4fee\u6539 <code>n9e\/etc\/config.toml<\/code> \u914d\u7f6e\u6587\u4ef6\uff0c\u914d\u7f6e <a href=\"https:\/\/flashcat.cloud\/tags\/mysql\/\">MySQL<\/a> \u548c Redis \u7684\u8fde\u63a5\u4fe1\u606f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;DB]\nDBType = \"mysql\"\nDSN = \"YourUsername:YourPassword@tcp(127.0.0.1:3306)\/n9e_v6?charset=utf8mb4&amp;parseTime=True&amp;loc=Local\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001Redis \u90e8\u5206\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Redis]\nAddress = \"127.0.0.1:6379\"\nPassword = \"YourRedisPassword\"\nRedisType = \"standalone\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u542f\u52a8\u8fdb\u7a0b\uff0c\u591c\u83ba\u4f1a\u81ea\u52a8\u521b\u5efa\u6570\u636e\u5e93\u8868\u3002\u5f53\u7136\uff0c\u8fd9\u9700\u8981\u4f60\u7684 DB \u8fde\u63a5\u8d26\u53f7\u5177\u5907\u521b\u5efa\u6570\u636e\u5e93\u8868\u3001\u6539\u8868\u7684\u6743\u9650<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\nDescription=Nightingale Monitoring Service\nAfter=network.target\n&#91;Service]\nType=simple\nExecStart=\/opt\/n9e\/n9e\nWorkingDirectory=\/opt\/n9e\nRestart=always\nRestartSec=5\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=n9e\n&#91;Install]\nWantedBy=multi-user.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee <a href=\"http:\/\/localhost:17000\/\">http:\/\/localhost:17000<\/a>\u3002\u9ed8\u8ba4\u7528\u6237\u540d\u662f <code>root<\/code>\uff0c\u9ed8\u8ba4\u5bc6\u7801\u662f <code>root.2020<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"361\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/11\/6.png\" alt=\"\" class=\"wp-image-21524\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/11\/6.png 621w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/11\/6-300x174.png 300w\" sizes=\"auto, (max-width: 621px) 100vw, 621px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u4f7f\u7528 MySQL \u548c Redis \u6765\u5b58\u50a8\u6570\u636e 1\u3001\u4fee\u6539 n9e\/etc\/config.toml \u914d [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":21516,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-21514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/21514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=21514"}],"version-history":[{"count":6,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/21514\/revisions"}],"predecessor-version":[{"id":21527,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/21514\/revisions\/21527"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/21516"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=21514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=21514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=21514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}