{"id":47943,"date":"2025-07-30T09:57:44","date_gmt":"2025-07-30T01:57:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/47943.html"},"modified":"2025-07-30T09:57:44","modified_gmt":"2025-07-30T01:57:44","slug":"linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%ba%8c%e8%bf%9b%e5%88%b6%e9%83%a8%e7%bd%b2nacos%ef%bc%88%e4%b8%8d%e6%98%af%e9%9b%86%e7%be%a4%ef%bc%8c%e5%8d%95%e5%ae%9e%e4%be%8b%ef%bc%89%ef%bc%882025%e4%ba%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/47943.html","title":{"rendered":"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09"},"content":{"rendered":"<h3>\u4e00\u3001<\/h3>\n<h3>\u524d\u8a00<\/h3>\n<p>naocs\u662f\u4e00\u4e2a\u670d\u52a1\u6cbb\u7406\u8f6f\u4ef6&#xff0c;\u5982\u679c\u6ca1\u6709\u8bb0\u9519\u7684\u8bdd&#xff0c;\u8be5\u8f6f\u4ef6\u662f\u963f\u91cc\u51fa\u54c1\u7684&#xff0c;\u540e\u9762\u8be5\u8f6f\u4ef6\u5f00\u6e90\u5728\u4e86apache\u793e\u533a<\/p>\n<p>\u90a3\u4e48&#xff0c;\u73b0\u5728\u5e02\u9762\u4e0a\u6709N\u591a\u7684\u670d\u52a1\u6cbb\u7406&#xff0c;\u670d\u52a1\u7ba1\u7406\u8f6f\u4ef6&#xff0c;\u672c\u6587\u4e0d\u6253\u7b97\u8ba8\u8bba\u4ec0\u4e48consul&#xff0c;etcd&#xff0c;Eureka&#xff0c;zookeeper\u7b49\u7b49\u8f6f\u4ef6\u548cnacos\u7684\u6027\u80fd\u5dee\u5f02&#xff0c;\u672c\u6587\u53ea\u5f3a\u8c03\u4e00\u70b9&#xff0c;nacos\u53ef\u4ee5\u4f5c\u4e3a\u00a0Spring Cloud Alibaba\u00a0\u7684\u7ec4\u4ef6&#xff0c;\u63d0\u4f9b\u52a8\u6001\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u529f\u80fd&#xff0c;\u652f\u6301\u670d\u52a1\u5b9e\u4f8b\u7684\u5fc3\u8df3\u76d1\u6d4b\u548c\u6e05\u5355\u66f4\u65b0&#xff0c;\u5e2e\u52a9\u5b9e\u73b0\u670d\u52a1\u6cbb\u7406\u7684\u81ea\u52a8\u5316<\/p>\n<p>nacos\u7684\u8f6f\u4ef6\u67b6\u6784\u662f\u7531java\u8bed\u8a00\u7f16\u5199\u7684j\u4e00\u4e2ajar\u5305&#xff0c;\u4e5f\u5c31\u662f\u8bf4\u4e00\u4e2ajar\u5305\u6253\u5929\u4e0b<\/p>\n<p>nacos\u7684\u90e8\u7f72\u65b9\u5f0f\u975e\u5e38\u591a&#xff0c;docker&#xff0c;podman&#xff0c;\u4e8c\u8fdb\u5236&#xff0c;\u6e90\u7801&#xff0c;rpm\u7b49\u7b49\u65b9\u5f0f\u90fd\u662f\u652f\u6301\u7684&#xff0c;\u4e0d\u8fc7\u9700\u8981\u660e\u786e\u7684\u662f&#xff0c;\u4e3b\u6d41\u90e8\u7f72\u65b9\u5f0f\u5c31docker&#xff0c;\u4e8c\u8fdb\u5236&#xff1b;\u6e90\u7801\u90e8\u7f72\u9700\u8981\u5f88\u591a\u7684\u6761\u4ef6&#xff0c;\u96be\u5ea6\u8f83\u9ad8&#xff0c;\u56e0\u6b64\u4e00\u822c\u4e0d\u91c7\u7528\u7684<\/p>\n<p>nacos\u7531\u4e8e\u662f\u5e26\u6709web\u7ba1\u7406\u754c\u9762\u7684&#xff0c;\u56e0\u6b64&#xff0c;\u8be5\u8f6f\u4ef6\u9700\u8981\u505a\u6570\u636e\u6301\u4e45\u5316&#xff0c;\u4e5f\u5c31\u662f\u5fae\u670d\u52a1\u7684\u7248\u672c\u63a7\u5236\u7ba1\u7406\u529f\u80fd\u9700\u8981\u6570\u636e\u6301\u4e45\u5316&#xff0c;\u901a\u4fd7\u8bf4\u9700\u8981\u5916\u90e8\u6570\u636e\u6e90<\/p>\n<p>nacos\u7684\u6570\u636e\u6301\u4e45\u5316\u6bd4\u8f83\u7279\u6b8a&#xff0c;\u4e3b\u8981\u662f\u4e09\u79cd\u65b9\u5f0f<\/p>\n<p>\u7b2c\u4e00\u79cd\u662f\u5185\u5d4c\u6570\u636e\u5e93&#xff0c;\u4e5f\u5c31\u662fderby\u5d4c\u5165\u5f0f\u6570\u636e\u5e93&#xff0c;\u5fb7\u6bd4&#xff08;Apache\u00a0Derby&#xff09;\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf&#xff0c;\u57fa\u4e8eJava\u8bed\u8a00\u5f00\u53d1&#xff0c;\u652f\u6301\u5d4c\u5165\u5f0f\u6570\u636e\u5e93\u5e94\u7528\u573a\u666f&#xff0c;\u9002\u7528\u4e8e\u8f7b\u91cf\u7ea7\u6570\u636e\u5b58\u50a8\u9700\u6c42\u3002\u8be5\u7cfb\u7edf\u91c7\u7528\u5d4c\u5165\u5f0f\u67b6\u6784\u6a21\u5f0f&#xff0c;\u65e0\u9700\u72ec\u7acb\u670d\u52a1\u5668\u5373\u53ef\u8fd0\u884c&#xff0c;\u652f\u6301\u6807\u51c6SQL\u8bed\u6cd5\u53caACID\u4e8b\u52a1\u7279\u6027\u3002<span style=\"color:#fe2c24\">\u8fd9\u91cc\u9700\u8981\u660e\u786e\u4e00\u70b9&#xff0c;nacos\u7684\u5355\u8282\u70b9\u542f\u52a8\u65b9\u5f0f\u624d\u9002\u7528\u4f7f\u7528derby\u5d4c\u5165\u5f0f\u6570\u636e\u5e93&#xff0c;\u5355\u8282\u70b9\u542f\u52a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5916\u90e8\u6570\u636e\u6e90&#xff1b;\u96c6\u7fa4\u542f\u52a8\u65b9\u5f0f\u5fc5\u987b\u4f7f\u7528\u4e0b\u9762\u7684\u4e24\u79cd\u65b9\u5f0f&#xff0c;\u4e5f\u5c31\u662f\u5fc5\u987b\u4f7f\u7528\u5916\u90e8\u6570\u636e\u6e90\u505a\u6570\u636e\u6301\u4e45\u5316<\/span><\/p>\n<p>\u5982\u4e0b\u56fe\u6240\u793a&#xff0c;Nacos started successfully in stand alone mode. use embedded storage &#xff0c;\u8fd9\u4e2a\u65f6\u5019\u5355\u5b9e\u4f8b\u542f\u52a8\u624d\u662f\u4f7f\u7528\u7684\u5185\u5d4c\u5fb7\u6bd4\u6570\u636e\u5e93<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"803\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015737-68897c11b1ebf.png\" width=\"2294\" \/><\/p>\n<p>\u7b2c\u4e8c\u79cd\u662fMySQL\u6570\u636e\u5e93&#xff0c;nacos\u4ece2.2\u7248\u672c\u5305\u62ec\u6b64\u7248\u672c\u4e4b\u540e\u90fd\u652f\u6301MySQL\u6570\u636e\u5e93&#xff0c;\u65e0\u9700\u4efb\u4f55\u6539\u9020&#xff0c;\u539f\u751f\u652f\u6301<\/p>\n<p>\u5982\u4e0b\u56fe&#xff0c;\u8fd9\u4e2a\u65f6\u5019\u662f\u5355\u5b9e\u4f8b\u542f\u52a8\u7684nacos&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u5916\u90e8\u6570\u636e\u6e90&#xff0c;\u4e5f\u5c31\u662fexternal storage<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"269\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015738-68897c12cd16c.png\" width=\"2349\" \/><\/p>\n<p>\u7b2c\u4e09\u79cd\u662fpg\u6570\u636e\u5e93&#xff0c;Oracle\u6570\u636e\u5e93\u4ee5\u53ca\u9ad8\u65af\u7b49\u7b49\u5176\u5b83\u6570\u636e\u5e93&#xff0c;nacos\u4ece2.2\u7248\u672c\u5305\u62ec\u6b64\u7248\u672c\u4e4b\u540e\u90fd\u652f\u6301&#xff0c;\u9700\u8981\u6e90\u7801\u6539\u9020&#xff0c;\u4e8c\u8fdb\u5236\u90e8\u7f72\u65b9\u5f0f\u65e0\u6cd5\u4f7f\u7528&#xff0c;\u6539\u9020\u96be\u5ea6\u6bd4\u8f83\u9ad8<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1050\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015739-68897c13464d1.png\" width=\"1288\" \/><\/p>\n<p><span style=\"color:#0d0016\">\u4e0b\u9762\u5c06\u5c31\u5982\u4f55\u5728Linux\u4e0b\u4f7f\u7528\u4e8c\u8fdb\u5236nacos\u90e8\u7f72\u5355\u5b9e\u4f8bnacos\u4ee5\u53ca\u4f7f\u7528\u4e8c\u8fdb\u5236nacos\u90e8\u7f72\u96c6\u7fa4nacos&#xff08;\u5916\u90e8\u6570\u636e\u6e90\u4f7f\u7528MySQL\u6570\u636e\u5e93&#xff09;<\/span><\/p>\n<h3><span style=\"color:#0d0016\">\u4e8c\u3001<\/span><\/h3>\n<h3><span style=\"color:#0d0016\">naocs\u7684\u67b6\u6784<\/span><\/h3>\n<p>[root&#064;centos14 ~]# ls -alh nacos-server-2.2.3.zip<br \/>\n-rw-r&#8211;r&#8211; 1 root root 143M Jul  3 21:43 nacos-server-2.2.3.zip<br \/>\n[root&#064;centos14 ~]# cd nacos<br \/>\n[root&#064;centos14 nacos]# ll<br \/>\ntotal 28<br \/>\ndrwxr-xr-x 4 root root   123 Jul  6 13:31 bin<br \/>\ndrwxr-xr-x 4 root root   296 Jul  5 13:41 conf<br \/>\ndrwxr-xr-x 5 root root    54 Jul  3 22:21 data<br \/>\n-rw-r&#8211;r&#8211; 1 root root 16583 Mar  6  2023 LICENSE<br \/>\ndrwxr-xr-x 2 root root  4096 Jul  3 22:44 logs<br \/>\n-rw-r&#8211;r&#8211; 1 root root  1305 May 14  2020 NOTICE<br \/>\ndrwxr-xr-x 4 root root    36 Jul  3 22:21 plugins<br \/>\ndrwxr-xr-x 2 root root    30 Jul  6 13:30 target<\/p>\n<p>\u4e00\u822c\u4e0b\u8f7d\u4e0b\u6765\u7684nacos\u4e8c\u8fdb\u5236\u89e3\u538b\u540e&#xff0c;\u5927\u6982\u5982\u4e0a\u56fe\u6240\u793a&#xff08;\u6ca1\u6709plugins\u8fd9\u4e2a\u76ee\u5f55&#xff0c;\u8fd9\u4e2a\u76ee\u5f55\u6211\u540e\u9762\u521b\u5efa\u7684&#xff09;&#xff0c;target\u76ee\u5f55\u4e0b\u5c31\u662f\u8be5\u8f6f\u4ef6\u6700\u4e3b\u8981\u7684\u90e8\u5206&#xff0c;\u4e00\u4e2a\u540d\u4e3anacos-server.jar\u7684jar\u5305&#xff0c;\u6253\u5f00jar\u5305\u540e&#xff0c;\u5c31\u53ef\u4ee5\u77e5\u9053\u8be5\u8f6f\u4ef6\u662f\u54ea\u4e2a\u7248\u672c\u4e86&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1189\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015740-68897c1428032.png\" width=\"960\" \/><\/p>\n<p>\u5176\u5b83\u76ee\u5f55\u6bd4\u5982bin\u76ee\u5f55&#xff0c;\u53ea\u662f\u542f\u52a8\u811a\u672c&#xff08;Windows\u4e0b\u7684\u548cLinux\u4e0b\u7684&#xff09;&#xff1b;conf\u76ee\u5f55&#xff0c;\u662fjar\u5305\u8fd0\u884c\u65f6\u5019\u7684\u914d\u7f6e\u6587\u4ef6\u4ee5\u53ca\u7528\u4e8e\u914d\u7f6e\u96c6\u7fa4\u7684\u6587\u4ef6\u4ee5\u53ca\u5185\u5d4ctomcat\u7528\u4e8eweb\u7ba1\u7406\u754c\u9762&#xff1b;logs\u76ee\u5f55\u5f53\u7136\u5c31\u662f\u670d\u52a1\u8fd0\u884c\u65f6\u7684\u5b58\u653e\u76ee\u5f55&#xff1b;\u6574\u4f53\u7ed3\u6784\u6bd4\u8f83\u7b80\u5355\u660e\u4e86<\/p>\n<p>\u5728\u542f\u52a8\u811a\u672c\u5185&#xff0c;\u53ef\u4ee5\u770b\u5230\u9700\u8981jdk\u7248\u672c\u4e3a8\u6216\u8005\u4ee5\u4e0a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"166\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015740-68897c14d3621.png\" width=\"1249\" \/><\/p>\n<p>nacos\u7684\u4e0b\u8f7d\u5730\u5740\u5982\u4e0b&#xff1a;<\/p>\n<\/p>\n<p>\u53d1\u5e03\u5386\u53f2 | Nacos \u5b98\u7f51<\/p>\n<\/p>\n<h3>\u4e09\u3001<\/h3>\n<h3>nacos\u4e8c\u8fdb\u5236\u5b89\u88c5\u6b65\u9aa4<\/h3>\n<h4>1\u3001<\/h4>\n<h4>jdk\u73af\u5883<\/h4>\n<p>\u9a8c\u8bc1\u662f\u5426\u5177\u5907jdk\u73af\u5883<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"82\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015741-68897c152fd2a.png\" width=\"563\" \/><\/p>\n<p>jdk\u73af\u5883\u90e8\u7f72\u5c31\u4e0d\u5728\u8fd9\u91cc\u8fc7\u591a\u5e9f\u8bdd\u4e86&#xff0c;\u592a\u57fa\u7840\u7684\u4e1c\u897f&#xff0c;\u4e00\u822c\u5b89\u88c5jdk8\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p>\u73af\u5883\u53d8\u91cf\u5982\u4e0b&#xff1a;<\/p>\n<p>JAVA_HOME&#061;\/usr\/local\/jdk<br \/>\nPATH&#061;.$PATH:$JAVA_HOME\/bin<br \/>\nCLASSPATH&#061;$JAVA_HOME\/jre\/lib\/ext:$JAVA_HOME\/lib\/tools.jar<br \/>\nexport CLASSPATH PATH JAVA_HOME<\/p>\n<h4>2\u3001<\/h4>\n<h4>MySQL\u6570\u636e\u5e93<\/h4>\n<p>\u8fd9\u4e2a\u4e5f\u6ca1\u4ec0\u4e48\u597d\u8bf4\u7684&#xff0c;\u6570\u636e\u5e93\u90e8\u7f72\u5b8c\u6bd5\u540e&#xff0c;\u53ef\u4ee5navicat\u6b63\u5e38\u8fde\u63a5\u5c31\u53ef\u4ee5\u4e86&#xff0c;\u672c\u6b21\u6848\u4f8b\u4f7f\u7528\u7684\u670d\u52a1\u5668IP\u662f192.168.123.14&#xff0c;\u6570\u636e\u5e93\u7248\u672c\u662fMySQL-7.43&#xff0c;\u6570\u636e\u5e93\u90e8\u7f72\u5b8c\u6bd5\u540e\u9700\u8981\u6d4b\u8bd5\u8fdc\u7a0b\u8fde\u63a5\u662f\u5426\u6b63\u5e38<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"107\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015741-68897c1555f41.png\" width=\"971\" \/><\/p>\n<p>\u9700\u8981\u6570\u636e\u5e93\u521b\u5efa\u540d\u4e3anacos\u7684\u5e93<\/p>\n<h4>3\u3001<\/h4>\n<h4>\u4fee\u6539nacos\u7684\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u4e3b\u8981\u662fnacos\u670d\u52a1\u7aef\u53e3\u653e\u5f00&#xff0c;\u5f00\u542f\u9274\u6743&#xff0c;\u5199\u5165MySQL\u6570\u636e\u5e93\u7684\u8fde\u63a5\u5730\u5740<\/p>\n<p>#*************** Spring Boot Related Configurations ***************#<br \/>\n### Default web context path:<br \/>\nserver.servlet.contextPath&#061;\/nacos<br \/>\n### Include message field<br \/>\nserver.error.include-message&#061;ALWAYS<br \/>\n### Default web server port:<br \/>\nserver.port&#061;18848<\/p>\n<p>#*************** Network Related Configurations ***************#<br \/>\n### If prefer hostname over ip for Nacos server addresses in cluster.conf:<br \/>\n# nacos.inetutils.prefer-hostname-over-ip&#061;false<\/p>\n<p>### Specify local server&#039;s IP:<br \/>\n# nacos.inetutils.ip-address&#061;<\/p>\n<p>#*************** Config Module Related Configurations ***************#<br \/>\n### If use MySQL as datasource:<br \/>\n### Deprecated configuration property, it is recommended to use &#096;spring.sql.init.platform&#096; replaced.<br \/>\n#spring.datasource.platform&#061;mysql<br \/>\n#spring.sql.init.platform&#061;mysql<\/p>\n<p>### Count of DB:<br \/>\n#db.num&#061;1<\/p>\n<p>### Connect URL of DB:<br \/>\n#db.url.0&#061;jdbc:mysql:\/\/192.168.123.14:13306\/mysql?characterEncoding&#061;utf8&amp;connectTimeout&#061;1000&amp;socketTimeout&#061;3000&amp;autoReconnect&#061;true&amp;useUnicode&#061;true&amp;useSSL&#061;false&amp;serverTimezone&#061;UTC<br \/>\n#db.user.0&#061;root<br \/>\n#db.password.0&#061;\u5bc6\u7801<\/p>\n<p>### Connection pool configuration: hikariCP<br \/>\ndb.pool.config.connectionTimeout&#061;30000<br \/>\ndb.pool.config.validationTimeout&#061;10000<br \/>\ndb.pool.config.maximumPoolSize&#061;20<br \/>\ndb.pool.config.minimumIdle&#061;2<\/p>\n<p>\u4e0b\u9762\u8fd9\u4e00\u90e8\u5206\u6ce8\u91ca\u6389\u5c31\u8868\u793a\u91c7\u7528\u5185\u5d4c\u6570\u636e\u5e93&#xff0c;\u5426\u5219\u8868\u793a\u4f7f\u7528MySQL\u6570\u636e\u5e93&#xff0c;\u603b\u8ba1\u662f\u516d\u884c&#xff1a;<\/p>\n<p>#*************** Config Module Related Configurations ***************#<br \/>\n### If use MySQL as datasource:<br \/>\n### Deprecated configuration property, it is recommended to use &#096;spring.sql.init.platform&#096; replaced.<br \/>\n#spring.datasource.platform&#061;mysql<br \/>\n#spring.sql.init.platform&#061;mysql<\/p>\n<p>### Count of DB:<br \/>\n#db.num&#061;1<\/p>\n<p>### Connect URL of DB:<br \/>\n#db.url.0&#061;jdbc:mysql:\/\/192.168.123.14:13306\/mysql?characterEncoding&#061;utf8&amp;connectTimeout&#061;1000&amp;socketTimeout&#061;3000&amp;autoReconnect&#061;true&amp;useUnicode&#061;true&amp;useSSL&#061;false&amp;serverTimezone&#061;UTC<br \/>\n#db.user.0&#061;root<br \/>\n#db.password.0&#061;\u5bc6\u7801<\/p>\n<p>MySQL\u6570\u636e\u5e93\u7528\u7684\u811a\u672c\u901a\u5e38\u5728conf\u76ee\u5f55\u4e0b&#xff0c;\u653e\u5230MySQL\u670d\u52a1\u5668\u4e0b&#xff0c;\u6267\u884c\u4e00\u4e0b\u5373\u53ef&#xff0c;\u6211\u8fd9\u91cc\u6ca1\u6709\u65b0\u5efa\u6570\u636e\u5e93&#xff0c;\u5e76\u4e14\u4f7f\u7528\u7684\u662froot\u7528\u6237&#xff0c;\u5f53\u7136\u4e86&#xff0c;\u4f60\u53ef\u4ee5\u81ea\u5df1\u521b\u5efa\u6570\u636e\u5e93\u4ee5\u53ca\u65b0\u7528\u6237<\/p>\n<p>\u9274\u6743&#xff08;\u4e0d\u7ba1\u662f\u4f7f\u7528\u5185\u5d4c\u5fb7\u6bd4\u6570\u636e\u5e93\u8fd8\u662fMySQL\u7b49\u5176\u5b83\u6570\u636e\u5e93&#xff0c;\u5efa\u8bae\u9274\u6743\u90fd\u914d\u7f6e\u597d&#xff09;&#xff1a;<\/p>\n<p>### If turn on auth system:<br \/>\nnacos.core.auth.enabled&#061;true<\/p>\n<p>### Turn on\/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay.<br \/>\nnacos.core.auth.caching.enabled&#061;true<\/p>\n<p>### Since 1.4.1, Turn on\/off white auth for user-agent: nacos-server, only for upgrade from old version.<br \/>\nnacos.core.auth.enable.userAgentAuthWhite&#061;false<\/p>\n<p>### Since 1.4.1, worked when nacos.core.auth.enabled&#061;true and nacos.core.auth.enable.userAgentAuthWhite&#061;false.<br \/>\n### The two properties is the white list for auth and used by identity the request from other server.<br \/>\nnacos.core.auth.server.identity.key&#061;nacos<br \/>\nnacos.core.auth.server.identity.value&#061;DxeUFmDd4IyWOaFWGozMvQLspivCEmE\/d53ADz299dw&#061;<\/p>\n<p>### worked when nacos.core.auth.system.type&#061;nacos<br \/>\n### The token expiration in seconds:<br \/>\nnacos.core.auth.plugin.nacos.token.cache.enable&#061;false<br \/>\nnacos.core.auth.plugin.nacos.token.expire.seconds&#061;18000<br \/>\n### The default token (Base64 String):<br \/>\nnacos.core.auth.plugin.nacos.token.secret.key&#061;SecretKey012345678901234567890123456789012345678901234567890123456789 <\/p>\n<p>nacos.core.auth.plugin.nacos.token.secret.key&#061; \u7684\u503c\u662f32\u4f4d\u968f\u673a\u6570&#xff0c;\u672c\u6587\u7684\u8fd9\u4e2a\u6700\u597d\u4e0d\u8981\u7528&#xff0c;nacos.core.auth.enabled&#061;true\u662f\u9274\u6743\u5f00\u5173&#xff0c;\u9664\u4e86nacos\u81ea\u8eab\u9274\u6743&#xff0c;\u4e5f\u53ef\u4ee5\u4f7f\u7528ldap&#xff0c;\u8fd9\u91cc\u5c31\u4e0d\u5c55\u5f00\u8bb2\u4e86<\/p>\n<h4>4\u3001<\/h4>\n<h4>postgresql\u6570\u636e\u5e93\u521d\u59cb\u5316\u811a\u672c&#xff08;pg\u6570\u636e\u5e93\u6211\u73b0\u5728\u4e00\u6b21\u6ca1\u6709\u6210\u529f\u8fc7&#xff0c;\u8fd9\u91cc\u5927\u5bb6\u53c2\u8003\u5c31\u884c&#xff0c;\u4e0d\u9700\u8981\u4ed4\u7ec6\u770b&#xff09;<\/h4>\n<p>cat \/var\/lib\/pgsql\/pg_schema.sql<br \/>\n\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; config_info   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE config_info (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) DEFAULT NULL,<br \/>\n    content text NOT NULL,<br \/>\n    md5 varchar(32) DEFAULT NULL,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    src_user varchar(128) DEFAULT NULL,<br \/>\n    src_ip varchar(50) DEFAULT NULL,<br \/>\n    app_name varchar(128) DEFAULT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;,<br \/>\n    c_desc varchar(256) DEFAULT NULL,<br \/>\n    c_use varchar(64) DEFAULT NULL,<br \/>\n    effect varchar(64) DEFAULT NULL,<br \/>\n    type varchar(64) DEFAULT NULL,<br \/>\n    c_schema text DEFAULT NULL,<br \/>\n    UNIQUE (data_id, group_id, tenant_id)<br \/>\n);<\/p>\n<p>CREATE INDEX configinfo_dataid_key ON config_info(data_id);<br \/>\nCREATE INDEX configinfo_groupid_key ON config_info(group_id);<br \/>\nCREATE INDEX configinfo_md5_key ON config_info(md5);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; config_info_aggr   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE config_info_aggr (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) NOT NULL,<br \/>\n    datum_id varchar(255) NOT NULL,<br \/>\n    content text NOT NULL,<br \/>\n    gmt_modified timestamp NOT NULL,<br \/>\n    app_name varchar(128) DEFAULT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;,<br \/>\n    UNIQUE (data_id, group_id, tenant_id, datum_id)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; config_info_beta   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE config_info_beta (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) NOT NULL,<br \/>\n    app_name varchar(128) DEFAULT NULL,<br \/>\n    content text NOT NULL,<br \/>\n    beta_ips varchar(1024) DEFAULT NULL,<br \/>\n    md5 varchar(32) DEFAULT NULL,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    src_user varchar(128) DEFAULT NULL,<br \/>\n    src_ip varchar(50) DEFAULT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;,<br \/>\n    UNIQUE (data_id, group_id, tenant_id)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; config_info_tag   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE config_info_tag (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) NOT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;,<br \/>\n    tag_id varchar(128) NOT NULL,<br \/>\n    app_name varchar(128) DEFAULT NULL,<br \/>\n    content text NOT NULL,<br \/>\n    md5 varchar(32) DEFAULT NULL,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    src_user varchar(128) DEFAULT NULL,<br \/>\n    src_ip varchar(50) DEFAULT NULL,<br \/>\n    UNIQUE (data_id, group_id, tenant_id, tag_id)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; config_tags_relation   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE config_tags_relation (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    tag_name varchar(128) NOT NULL,<br \/>\n    tag_type varchar(64) DEFAULT NULL,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) NOT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;<br \/>\n);<\/p>\n<p>CREATE INDEX config_tags_relation_dataid_idx ON config_tags_relation(data_id);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; group_capacity   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE group_capacity (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    group_id varchar(128) NOT NULL DEFAULT &#039;&#039;,<br \/>\n    quota int NOT NULL DEFAULT 0,<br \/>\n    usage int NOT NULL DEFAULT 0,<br \/>\n    max_size int NOT NULL DEFAULT 0,<br \/>\n    max_aggr_count int NOT NULL DEFAULT 0,<br \/>\n    max_aggr_size int NOT NULL DEFAULT 0,<br \/>\n    max_history_count int NOT NULL DEFAULT 0,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    UNIQUE (group_id)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; his_config_info   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE his_config_info (<br \/>\n    id bigint NOT NULL,<br \/>\n    nid bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    data_id varchar(255) NOT NULL,<br \/>\n    group_id varchar(128) NOT NULL,<br \/>\n    app_name varchar(128) DEFAULT NULL,<br \/>\n    content text NOT NULL,<br \/>\n    md5 varchar(32) DEFAULT NULL,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    src_user varchar(128) DEFAULT NULL,<br \/>\n    src_ip varchar(50) DEFAULT NULL,<br \/>\n    op_type char(10) DEFAULT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;<br \/>\n);<\/p>\n<p>CREATE INDEX his_config_info_dataid_key ON his_config_info(data_id);<br \/>\nCREATE INDEX his_config_info_groupid_key ON his_config_info(group_id);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; tenant_capacity   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE tenant_capacity (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    tenant_id varchar(128) NOT NULL DEFAULT &#039;&#039;,<br \/>\n    quota int NOT NULL DEFAULT 0,<br \/>\n    usage int NOT NULL DEFAULT 0,<br \/>\n    max_size int NOT NULL DEFAULT 0,<br \/>\n    max_aggr_count int NOT NULL DEFAULT 0,<br \/>\n    max_aggr_size int NOT NULL DEFAULT 0,<br \/>\n    max_history_count int NOT NULL DEFAULT 0,<br \/>\n    gmt_create timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    gmt_modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n    UNIQUE (tenant_id)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; tenant_info   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE tenant_info (<br \/>\n    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br \/>\n    kp varchar(128) NOT NULL,<br \/>\n    tenant_id varchar(128) DEFAULT &#039;&#039;,<br \/>\n    tenant_name varchar(128) DEFAULT &#039;&#039;,<br \/>\n    tenant_desc varchar(256) DEFAULT NULL,<br \/>\n    create_source varchar(32) DEFAULT NULL,<br \/>\n    gmt_create bigint NOT NULL,<br \/>\n    gmt_modified bigint NOT NULL,<br \/>\n    UNIQUE (kp, tenant_id)<br \/>\n);<\/p>\n<p>CREATE INDEX tenant_info_tenantid_idx ON tenant_info(tenant_id);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; users   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE users (<br \/>\n    username varchar(64) NOT NULL PRIMARY KEY,<br \/>\n    password varchar(256) NOT NULL,<br \/>\n    enabled boolean NOT NULL DEFAULT true<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; roles   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE roles (<br \/>\n    username varchar(64) NOT NULL,<br \/>\n    role varchar(64) NOT NULL,<br \/>\n    PRIMARY KEY (username, role)<br \/>\n);<\/p>\n<p>\/******************************************\/<br \/>\n\/*   \u6570\u636e\u5e93\u5168\u540d &#061; nacos_config   *\/<br \/>\n\/*   \u8868\u540d\u79f0 &#061; permissions   *\/<br \/>\n\/******************************************\/<br \/>\nCREATE TABLE permissions (<br \/>\n    role varchar(64) NOT NULL,<br \/>\n    resource varchar(64) NOT NULL,<br \/>\n    action varchar(8) NOT NULL,<br \/>\n    PRIMARY KEY (role, resource, action)<br \/>\n);<\/p>\n<p>&#8212; \u521d\u59cb\u5316\u7528\u6237\u6570\u636e (\u7528\u6237\u540d: nacos, \u5bc6\u7801: nacos)<br \/>\nINSERT INTO users (username, password) VALUES (&#039;nacos&#039;, &#039;$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu&#039;);<br \/>\nINSERT INTO roles (username, role) VALUES (&#039;nacos&#039;, &#039;ROLE_ADMIN&#039;);<\/p>\n<h4>5\u3001<\/h4>\n<h4>\u96c6\u7fa4\u8bbe\u7f6e<\/h4>\n<p>cluster.conf \u6587\u4ef6\u5185\u5199\u5165\u96c6\u7fa4\u6240\u6709\u8282\u70b9\u548c\u5f00\u653e\u7684web\u7aef\u53e3\u5c31\u53ef\u4ee5\u4e86&#xff0c;nacos\u96c6\u7fa4\u6ca1\u6709\u4ec0\u4e48\u542f\u52a8\u987a\u5e8f<\/p>\n<p>[root&#064;centos14 ~]# cat nacos\/conf\/cluster.conf<br \/>\n#2025-07-13T17:53:01.822<br \/>\n192.168.123.14:18848<br \/>\n192.168.123.15:18848<br \/>\n192.168.123.16:18848<\/p>\n<h4><\/h4>\n<h4>6\u3001<\/h4>\n<h4>\u542f\u52a8nacos\u670d\u52a1\u4ee5\u5355\u5b9e\u4f8b\u65b9\u5f0f\u8fd0\u884c<\/h4>\n<p>[root&#064;centos14 bin]# .\/startup.sh -m standalone<br \/>\n\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.412.b08-1.el7_9.x86_64\/jre\/bin\/java -Djava.ext.dirs&#061;\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.412.b08-1.el7_9.x86_64\/jre\/jre\/lib\/ext:\/usr\/lib\/jvm\/java-1.8.0-openjdk-1.8.0.412.b08-1.el7_9.x86_64\/jre\/lib\/ext  -server -Xms2g -Xmx2g -Xmn1g -XX:MetaspaceSize&#061;128m -XX:MaxMetaspaceSize&#061;320m -XX:-OmitStackTraceInFastThrow -XX:&#043;HeapDumpOnOutOfMemoryError -XX:HeapDumpPath&#061;\/root\/nacos\/logs\/java_heapdump.hprof -XX:-UseLargePages -Dnacos.member.list&#061; -Xloggc:\/root\/nacos\/logs\/nacos_gc.log -verbose:gc -XX:&#043;PrintGCDetails -XX:&#043;PrintGCDateStamps -XX:&#043;PrintGCTimeStamps -XX:&#043;UseGCLogFileRotation -XX:NumberOfGCLogFiles&#061;10 -XX:GCLogFileSize&#061;100M -Dloader.path&#061;\/root\/nacos\/plugins,\/root\/nacos\/plugins\/health,\/root\/nacos\/plugins\/cmdb,\/root\/nacos\/plugins\/selector -Dnacos.home&#061;\/root\/nacos -jar \/root\/nacos\/target\/nacos-server.jar  &#8211;spring.config.additional-location&#061;file:\/root\/nacos\/conf\/ &#8211;logging.config&#061;\/root\/nacos\/conf\/nacos-logback.xml &#8211;server.max-http-header-size&#061;524288<br \/>\nnacos is starting with cluster<br \/>\nnacos is starting&#xff0c;you can check the \/root\/nacos\/logs\/start.out<\/p>\n<h4>7\u3001\u542f\u52a8naocs\u670d\u52a1\u4ee5\u96c6\u7fa4\u65b9\u5f0f\u8fd0\u884c&#xff1a;<\/h4>\n<p>[root&#064;centos14 ~]# nacos\/bin\/startup.sh -m cluster<br \/>\n\/usr\/local\/jdk\/bin\/java -Djava.ext.dirs&#061;\/usr\/local\/jdk\/jre\/lib\/ext:\/usr\/local\/jdk\/lib\/ext  -server -Xms2g -Xmx2g -Xmn1g -XX:MetaspaceSize&#061;128m -XX:MaxMetaspaceSize&#061;320m -XX:-OmitStackTraceInFastThrow -XX:&#043;HeapDumpOnOutOfMemoryError -XX:HeapDumpPath&#061;\/root\/nacos\/logs\/java_heapdump.hprof -XX:-UseLargePages -Dnacos.member.list&#061; -Xloggc:\/root\/nacos\/logs\/nacos_gc.log -verbose:gc -XX:&#043;PrintGCDetails -XX:&#043;PrintGCDateStamps -XX:&#043;PrintGCTimeStamps -XX:&#043;UseGCLogFileRotation -XX:NumberOfGCLogFiles&#061;10 -XX:GCLogFileSize&#061;100M -Dloader.path&#061;\/root\/nacos\/plugins,\/root\/nacos\/plugins\/health,\/root\/nacos\/plugins\/cmdb,\/root\/nacos\/plugins\/selector -Dnacos.home&#061;\/root\/nacos -jar \/root\/nacos\/target\/nacos-server.jar  &#8211;spring.config.additional-location&#061;file:\/root\/nacos\/conf\/ &#8211;logging.config&#061;\/root\/nacos\/conf\/nacos-logback.xml &#8211;server.max-http-header-size&#061;524288<br \/>\nnacos is starting with cluster<br \/>\nnacos is starting&#xff0c;you can check the \/root\/nacos\/logs\/start.out<br \/>\n[root&#064;centos14 ~]# vim \/root\/nacos\/logs\/start.out <\/p>\n<p>\u770b\u5230successfully\u5b57\u6837\u8868\u793anacos\u670d\u52a1\u542f\u52a8\u6b63\u5e38&#xff0c;\u5426\u5219\u9700\u8981\u6392\u67e5&#xff1b;nacos\u5c31\u4e24\u79cd\u542f\u52a8\u65b9\u5f0f&#xff0c;\u4e00\u4e2a\u662f\u4e0d\u5e26\u53c2\u6570\u7684\u96c6\u7fa4\u542f\u52a8&#xff0c;\u4e00\u4e2a\u662f\u5355\u5b9e\u4f8b\u6a21\u5f0f&#xff0c;\u4e5f\u5c31\u662f.\/startup.sh -m standalone&#xff0c;\u5982\u679c\u96c6\u7fa4\u6ca1\u6709\u8bbe\u7f6e\u6216\u8005\u542f\u52a8\u8282\u70b9\u4e0d\u8db3&#xff0c;\u90a3\u4e48&#xff0c;\u90fd\u4f1a\u5bfc\u81f4nacos\u542f\u52a8\u5931\u8d25<\/p>\n<p>web\u7ba1\u7406\u7684\u767b\u9646\u754c\u9762\u5982\u4e0b&#xff08;IP:\u7aef\u53e3\/nacos&#xff09;&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"938\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015741-68897c157109a.png\" width=\"2480\" \/> \u7531\u4e8enacos\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u670d\u52a1&#xff0c;\u56e0\u6b64&#xff0c;\u5c3d\u91cf\u4e0d\u8981\u628a\u8fd9\u4e2a\u670d\u52a1\u66b4\u9732\u5230\u516c\u7f51\u4e0a&#xff0c;\u5e76\u4e14\u4f7f\u7528nacos\/nacos \u767b\u9646\u8fdb\u53bb\u540e&#xff0c;\u5c3d\u5feb\u4fee\u6539\u4e00\u4e2a\u590d\u6742\u5bc6\u7801<\/p>\n<h3>\u56db\u3001<\/h3>\n<h3>\u4e8c\u8fdb\u5236\u90e8\u7f72\u7684nacos\u670d\u52a1\u7684\u4f18\u5316<\/h3>\n<p>\u4f18\u5316\u5de5\u4f5c\u4e3b\u8981\u662f\u5728\u542f\u52a8\u811a\u672c\u90a3\u91cc\u505a&#xff0c;\u4e5f\u5c31\u662fjvm\u90a3\u4e00\u5757&#xff1a;<\/p>\n<p>#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# JVM Configuration<br \/>\n#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nif [[ &#034;${MODE}&#034; &#061;&#061; &#034;standalone&#034; ]]; then<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -Xms512m -Xmx512m -Xmn256m&#034;<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -Dnacos.standalone&#061;true&#034;<br \/>\nelse<br \/>\n    if [[ &#034;${EMBEDDED_STORAGE}&#034; &#061;&#061; &#034;embedded&#034; ]]; then<br \/>\n        JAVA_OPT&#061;&#034;${JAVA_OPT} -DembeddedStorage&#061;true&#034;<br \/>\n    fi<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -server -Xms2g -Xmx2g -Xmn1g -XX:MetaspaceSize&#061;128m -XX:MaxMetaspaceSize&#061;320m&#034;<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -XX:-OmitStackTraceInFastThrow -XX:&#043;HeapDumpOnOutOfMemoryError -XX:HeapDumpPath&#061;${BASE_DIR}\/logs\/java_heapdump.hprof&#034;<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -XX:-UseLargePages&#034;<\/p>\n<p>fi<\/p>\n<p>if [[ &#034;${FUNCTION_MODE}&#034; &#061;&#061; &#034;config&#034; ]]; then<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -Dnacos.functionMode&#061;config&#034;<br \/>\nelif [[ &#034;${FUNCTION_MODE}&#034; &#061;&#061; &#034;naming&#034; ]]; then<br \/>\n    JAVA_OPT&#061;&#034;${JAVA_OPT} -Dnacos.functionMode&#061;naming&#034;<br \/>\nfi<\/p>\n<p>\u4ee5\u4e0a\u7684\u5185\u5b58\u6570\u503c\u6309\u81ea\u5df1\u7684\u670d\u52a1\u5668\u7684\u5b9e\u9645\u60c5\u51b5\u4fee\u6539\u5373\u53ef&#xff0c;\u4fee\u6539\u5b8c\u6bd5\u540e&#xff0c;\u91cd\u542fnacos\u670d\u52a1\u5c31\u7b97\u5b8c\u4e8b\u4e86<\/p>\n<p>\u4e94\u3001<\/p>\n<p>nacos\u7684\u6570\u636e\u5e93\u8bbe\u7f6e<\/p>\n<p>&#8212; \u521b\u5efa\u4e13\u5c5e\u7528\u6237&#xff08;\u7981\u6b62\u8d85\u7ea7\u7528\u6237\u6743\u9650&#xff09;<br \/>\nCREATE USER nacos_app WITH PASSWORD &#039;Rtg8$kL!9qW#mZ2pYvE*&#039;;<br \/>\nGRANT CONNECT ON DATABASE nacos TO nacos_app;<\/p>\n<p>&#8212; \u4ec5\u8d4b\u4e88\u5fc5\u8981\u8868\u6743\u9650<br \/>\nGRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO nacos_app;<br \/>\nREVOKE CREATE, DROP, ALTER ON DATABASE nacos FROM nacos_app; <\/p>\n<p>nacos\u4f7f\u7528pg\u6570\u636e\u5e93\u4f5c\u4e3a\u5916\u90e8\u6570\u636e\u6e90\u4ee5\u540e\u5728\u8bf4&#xff0c;\u73b0\u5728\u603b\u662f\u5931\u8d25<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb794\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf16\u6b21\u3002naocs\u662f\u4e00\u4e2a\u670d\u52a1\u6cbb\u7406\u8f6f\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u8bb0\u9519\u7684\u8bdd\uff0c\u8be5\u8f6f\u4ef6\u662f\u963f\u91cc\u51fa\u54c1\u7684\uff0c\u540e\u9762\u8be5\u8f6f\u4ef6\u5f00\u6e90\u5728\u4e86apache\u793e\u533a\u90a3\u4e48\uff0c\u73b0\u5728\u5e02\u9762\u4e0a\u6709N\u591a\u7684\u670d\u52a1\u6cbb\u7406\uff0c\u670d\u52a1\u7ba1\u7406\u8f6f\u4ef6\uff0c\u672c\u6587\u4e0d\u6253\u7b97\u8ba8\u8bba\u4ec0\u4e48consul\uff0cetcd\uff0cEureka\uff0czookeeper\u7b49\u7b49\u8f6f\u4ef6\u548cnacos\u7684\u6027\u80fd\u5dee\u5f02\uff0c\u672c\u6587\u53ea\u5f3a\u8c03\u4e00\u70b9\uff0cnacos\u53ef\u4ee5\u4f5c\u4e3a Spring Cloud Alibaba \u7684\u7ec4\u4ef6\uff0c\u63d0\u4f9b\u52a8\u6001\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u529f\u80fd\uff0c\u652f\u6301\u670d\u52a1\u5b9e\u4f8b\u7684\u5fc3\u8df3\u76d1\u6d4b\u548c\u6e05\u5355\u66f4\u65b0\uff0c\u5e2e\u52a9\u5b9e\u73b0\u670d\u52a1\u6cbb\u7406\u7684\u81ea\u52a8\u5316nacos\u7684\u8f6f\u4ef6\u67b6\u6784\u662f\u7531java\u8bed\u8a00\u7f16\u5199\u7684j\u4e00\u4e2ajar\u5305\uff0c\u4e5f\u5c31\u662f\u8bf4\u4e00\u4e2ajar_2025-07-24t08:47:01.258905z 5 [note] aborted connection 5 to db: \\&#8217;nacos\\&#8217; use<\/p>\n","protected":false},"author":2,"featured_media":47935,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,481,569,100,43,487,44],"topic":[],"class_list":["post-47943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-mysql","tag-569","tag-100","tag-43","tag-487","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/47943.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb794\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf16\u6b21\u3002naocs\u662f\u4e00\u4e2a\u670d\u52a1\u6cbb\u7406\u8f6f\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u8bb0\u9519\u7684\u8bdd\uff0c\u8be5\u8f6f\u4ef6\u662f\u963f\u91cc\u51fa\u54c1\u7684\uff0c\u540e\u9762\u8be5\u8f6f\u4ef6\u5f00\u6e90\u5728\u4e86apache\u793e\u533a\u90a3\u4e48\uff0c\u73b0\u5728\u5e02\u9762\u4e0a\u6709N\u591a\u7684\u670d\u52a1\u6cbb\u7406\uff0c\u670d\u52a1\u7ba1\u7406\u8f6f\u4ef6\uff0c\u672c\u6587\u4e0d\u6253\u7b97\u8ba8\u8bba\u4ec0\u4e48consul\uff0cetcd\uff0cEureka\uff0czookeeper\u7b49\u7b49\u8f6f\u4ef6\u548cnacos\u7684\u6027\u80fd\u5dee\u5f02\uff0c\u672c\u6587\u53ea\u5f3a\u8c03\u4e00\u70b9\uff0cnacos\u53ef\u4ee5\u4f5c\u4e3a Spring Cloud Alibaba \u7684\u7ec4\u4ef6\uff0c\u63d0\u4f9b\u52a8\u6001\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u529f\u80fd\uff0c\u652f\u6301\u670d\u52a1\u5b9e\u4f8b\u7684\u5fc3\u8df3\u76d1\u6d4b\u548c\u6e05\u5355\u66f4\u65b0\uff0c\u5e2e\u52a9\u5b9e\u73b0\u670d\u52a1\u6cbb\u7406\u7684\u81ea\u52a8\u5316nacos\u7684\u8f6f\u4ef6\u67b6\u6784\u662f\u7531java\u8bed\u8a00\u7f16\u5199\u7684j\u4e00\u4e2ajar\u5305\uff0c\u4e5f\u5c31\u662f\u8bf4\u4e00\u4e2ajar_2025-07-24t08:47:01.258905z 5 [note] aborted connection 5 to db: &#039;nacos&#039; use\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/47943.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T01:57:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015737-68897c11b1ebf.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47943.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/47943.html\",\"name\":\"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T01:57:44+00:00\",\"dateModified\":\"2025-07-30T01:57:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/47943.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/47943.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47943.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/47943.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb794\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf16\u6b21\u3002naocs\u662f\u4e00\u4e2a\u670d\u52a1\u6cbb\u7406\u8f6f\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u8bb0\u9519\u7684\u8bdd\uff0c\u8be5\u8f6f\u4ef6\u662f\u963f\u91cc\u51fa\u54c1\u7684\uff0c\u540e\u9762\u8be5\u8f6f\u4ef6\u5f00\u6e90\u5728\u4e86apache\u793e\u533a\u90a3\u4e48\uff0c\u73b0\u5728\u5e02\u9762\u4e0a\u6709N\u591a\u7684\u670d\u52a1\u6cbb\u7406\uff0c\u670d\u52a1\u7ba1\u7406\u8f6f\u4ef6\uff0c\u672c\u6587\u4e0d\u6253\u7b97\u8ba8\u8bba\u4ec0\u4e48consul\uff0cetcd\uff0cEureka\uff0czookeeper\u7b49\u7b49\u8f6f\u4ef6\u548cnacos\u7684\u6027\u80fd\u5dee\u5f02\uff0c\u672c\u6587\u53ea\u5f3a\u8c03\u4e00\u70b9\uff0cnacos\u53ef\u4ee5\u4f5c\u4e3a Spring Cloud Alibaba \u7684\u7ec4\u4ef6\uff0c\u63d0\u4f9b\u52a8\u6001\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u529f\u80fd\uff0c\u652f\u6301\u670d\u52a1\u5b9e\u4f8b\u7684\u5fc3\u8df3\u76d1\u6d4b\u548c\u6e05\u5355\u66f4\u65b0\uff0c\u5e2e\u52a9\u5b9e\u73b0\u670d\u52a1\u6cbb\u7406\u7684\u81ea\u52a8\u5316nacos\u7684\u8f6f\u4ef6\u67b6\u6784\u662f\u7531java\u8bed\u8a00\u7f16\u5199\u7684j\u4e00\u4e2ajar\u5305\uff0c\u4e5f\u5c31\u662f\u8bf4\u4e00\u4e2ajar_2025-07-24t08:47:01.258905z 5 [note] aborted connection 5 to db: 'nacos' use","og_url":"https:\/\/www.wsisp.com\/helps\/47943.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T01:57:44+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730015737-68897c11b1ebf.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"11 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/47943.html","url":"https:\/\/www.wsisp.com\/helps\/47943.html","name":"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T01:57:44+00:00","dateModified":"2025-07-30T01:57:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/47943.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/47943.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/47943.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux|\u670d\u52a1\u5668|\u4e8c\u8fdb\u5236\u90e8\u7f72nacos\uff08\u4e0d\u662f\u96c6\u7fa4\uff0c\u5355\u5b9e\u4f8b\uff09\uff082025\u4e86\uff0c\u4e0d\u5141\u8bb8\u8fd8\u6709\u4eba\u4e0d\u4f1a\u90e8\u7f72nacos\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/47943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=47943"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/47943\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/47935"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=47943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=47943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=47943"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=47943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}