{"id":1703,"date":"2023-03-25T23:03:14","date_gmt":"2023-03-25T15:03:14","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1703"},"modified":"2023-04-23T21:41:31","modified_gmt":"2023-04-23T13:41:31","slug":"rapid-deployment-of-nacos","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/rapid-deployment-of-nacos\/","title":{"rendered":"Nacos\u5feb\u901f\u90e8\u7f72"},"content":{"rendered":"<pre><code>\/\/https:\/\/github.com\/alibaba\/nacos\/releases\n# wget https:\/\/github.com\/alibaba\/nacos\/releases\/download\/1.3.2\/nacos-server-1.3.2.tar.gz\n# tar -zxf nacos-server-1.3.2.tar.gz -C \/usr\/local\/\n# cd \/usr\/local\/nacos\n# vim conf\/application.properties\n# sh bin\/startup.sh -m standalone<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>MySQL\u521d\u59cb\u5316\u811a\u672c\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/alibaba\/nacos\/blob\/master\/distribution\/conf\/nacos-mysql.sql\" title=\"nacos-mysql.sql\">nacos-mysql.sql<\/a><\/p>\n<pre><code>#*************** Spring Boot Related Configurations ***************#\n### Default web context path:\nserver.servlet.contextPath=\/\n### Default web server port:\nserver.port=8848\n\n#*************** Config Module Related Configurations ***************#\n### If use MySQL as datasource:\nspring.datasource.platform=mysql\n### Count of DB:\ndb.num=1\n\n### Connect URL of DB:\ndb.url.0=jdbc:mysql:\/\/127.0.0.1:3306\/nacos?characterEncoding=utf8&amp;connectTimeout=1000&amp;socketTimeout=3000&amp;autoReconnect=true&amp;useUnicode=true&amp;useSSL=false&amp;serverTimezone=UTC\ndb.user=nacos\ndb.password=xxxxxx<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/\/https:\/\/github.com\/alibaba\/nacos\/releases # wget http [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-1703","post","type-post","status-publish","format-standard","hentry","category-nacos"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1703"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1703\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}