forked from alibaba/nacos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request alibaba#5 from nacos-group/master
Merge request
- Loading branch information
Showing
13 changed files
with
1,838 additions
and
1,814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"filename": "quick-start.md", | ||
"__html": "<p>This topic is about how to set up and use Nacos.</p>\n<h2>1.Prerequisites</h2>\n<p>Before you begin, install the following:</p>\n<ol>\n<li>64bit OS: Linux/Unix/Mac/Windows supported, Linux/Unix/Mac recommended.</li>\n<li>64bit JDK 1.8+: <a href=\"http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\">downloads</a>, <a href=\"https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/\">JAVA_HOME settings</a>.</li>\n<li>Maven 3.2.x+: <a href=\"https://maven.apache.org/download.cgi\">downloads</a>, <a href=\"https://maven.apache.org/settings.html\">settings</a>.</li>\n</ol>\n<h2>2.Download & Build from Release</h2>\n<p>There are two ways to get Nacos.</p>\n<h3>1)Download source code from Github</h3>\n<pre><code class=\"language-bash\">unzip nacos-source.zip\n<span class=\"hljs-built_in\">cd</span> nacos/\nmvn -Prelease-nacos clean install -U \n<span class=\"hljs-built_in\">cd</span> nacos/distribution/target/nacos-server-0.8.0/nacos/bin\n</code></pre>\n<h3>2)Download run package</h3>\n<p><a href=\"https://github.com/alibaba/nacos/releases/download/0.9.0/nacos-server-0.9.0.zip\">zip package Download</a></p>\n<p><a href=\"https://github.com/alibaba/nacos/releases/download/0.9.0/nacos-server-0.9.0.tar.gz\">tar.gz package Download</a></p>\n<pre><code class=\"language-bash\"> unzip nacos-server-0.9.0.zip OR tar -xvf nacos-server-0.9.0.tar.gz\n <span class=\"hljs-built_in\">cd</span> nacos/bin\n</code></pre>\n<h2>3.Start Server</h2>\n<h3>Linux/Unix/Mac</h3>\n<p>Run the following command to sart(standalone means non-cluster mode):</p>\n<p><code>sh startup.sh -m standalone</code></p>\n<h3>Windows</h3>\n<p>Run the following command to start:</p>\n<p><code>cmd startup.cmd</code></p>\n<p>Or double-click the startup.cmd run file.</p>\n<h2>4.Service & Configuration Management</h2>\n<h3>Service registration</h3>\n<p><code>curl -X POST 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'</code></p>\n<h3>Service discovery</h3>\n<p><code>curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instances?serviceName=nacos.naming.serviceName'</code></p>\n<h3>Publish config</h3>\n<p><code>curl -X POST "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test&content=helloWorld"</code></p>\n<h3>Get config</h3>\n<p><code>curl -X GET "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test"</code></p>\n<h2>5.Shutdown Servers</h2>\n<h3>Linux/Unix/Mac</h3>\n<p><code>sh shutdown.sh</code></p>\n<h3>Windows</h3>\n<p><code>cmd shutdown.cmd</code></p>\n", | ||
"__html": "<p>This topic is about how to set up and use Nacos.</p>\n<h2>1.Prerequisites</h2>\n<p>Before you begin, install the following:</p>\n<ol>\n<li>64bit OS: Linux/Unix/Mac/Windows supported, Linux/Unix/Mac recommended.</li>\n<li>64bit JDK 1.8+: <a href=\"http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\">downloads</a>, <a href=\"https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/\">JAVA_HOME settings</a>.</li>\n<li>Maven 3.2.x+: <a href=\"https://maven.apache.org/download.cgi\">downloads</a>, <a href=\"https://maven.apache.org/settings.html\">settings</a>.</li>\n</ol>\n<h2>2.Download & Build from Release</h2>\n<p>There are two ways to get Nacos.</p>\n<h3>1)Download source code from Github</h3>\n<pre><code class=\"language-bash\">unzip nacos-source.zip\n<span class=\"hljs-built_in\">cd</span> nacos/\nmvn -Prelease-nacos clean install -U \n<span class=\"hljs-built_in\">cd</span> nacos/distribution/target/nacos-server-0.8.0/nacos/bin\n</code></pre>\n<h3>2)Download run package</h3>\n<p><a href=\"https://github.com/alibaba/nacos/releases/download/0.9.0/nacos-server-0.9.0.zip\">zip package Download</a></p>\n<p><a href=\"https://github.com/alibaba/nacos/releases/download/0.9.0/nacos-server-0.9.0.tar.gz\">tar.gz package Download</a></p>\n<pre><code class=\"language-bash\"> unzip nacos-server-0.9.0.zip OR tar -xvf nacos-server-0.9.0.tar.gz\n <span class=\"hljs-built_in\">cd</span> nacos/bin\n</code></pre>\n<h2>3.Start Server</h2>\n<h3>Linux/Unix/Mac</h3>\n<p>Run the following command to sart(standalone means non-cluster mode):</p>\n<p><code>sh startup.sh -m standalone</code></p>\n<h3>Windows</h3>\n<p>Run the following command to start:</p>\n<p><code>cmd startup.cmd</code></p>\n<p>Or double-click the startup.cmd run file.</p>\n<h2>4.Service & Configuration Management</h2>\n<h3>Service registration</h3>\n<p><code>curl -X POST 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'</code></p>\n<h3>Service discovery</h3>\n<p><code>curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instance/list?serviceName=nacos.naming.serviceName'</code></p>\n<h3>Publish config</h3>\n<p><code>curl -X POST "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test&content=helloWorld"</code></p>\n<h3>Get config</h3>\n<p><code>curl -X GET "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test"</code></p>\n<h2>5.Shutdown Servers</h2>\n<h3>Linux/Unix/Mac</h3>\n<p><code>sh shutdown.sh</code></p>\n<h3>Windows</h3>\n<p><code>cmd shutdown.cmd</code></p>\n", | ||
"link": "/en-us/docs/quick-start.html", | ||
"meta": {} | ||
} |
Oops, something went wrong.