From 43ea00312e5fbfa4bd9f7b7be862a8a79f9dbd5f Mon Sep 17 00:00:00 2001 From: idbeta Date: Tue, 12 Jan 2021 11:59:25 +0800 Subject: [PATCH 1/7] docs: add readme for install Apache APISIX Dashboard with RPM package. --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0ef0ba323..aca91c39c0 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,23 @@ Note: Currently the Dashboard does not have complete coverage of Apache APISIX f Support the following ways currently. -- [Source Codes](./docs/deploy.md) -- [Docker](./docs/deploy-with-docker.md) +1. [Source Codes](./docs/deploy.md) +2. [Docker](./docs/deploy-with-docker.md) +3. RPM package(only for CentOS 7) + - Installation runtime dependencies: [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ + - install Apache APISIX Dashboard: + + ```shell + $ sudo yum install -y https://github.com/apache/apisix-dashboard/releases/download/v2.3/apisix-dashboard-v2.3-1.x86_64.rpm + ``` + + - start Apache APISIX Dashboard: + + ```shell + $ sudo nohup manager-api -p /usr/local/apisix/dashboard/ & + ``` + + **Note**: For more detail please follow [Source Codes](./docs/deploy.md). ## Development From 829ff7551fd0b3d2792cedaf06817025067806c6 Mon Sep 17 00:00:00 2001 From: idbeta Date: Tue, 12 Jan 2021 12:02:27 +0800 Subject: [PATCH 2/7] fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aca91c39c0..187ca463a6 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Support the following ways currently. 1. [Source Codes](./docs/deploy.md) 2. [Docker](./docs/deploy-with-docker.md) 3. RPM package(only for CentOS 7) - - Installation runtime dependencies: [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ + - install runtime dependencies: [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ - install Apache APISIX Dashboard: ```shell From eb2ab1aa550c37a5983b34fcea380f11bb646853 Mon Sep 17 00:00:00 2001 From: idbeta Date: Tue, 12 Jan 2021 13:21:40 +0800 Subject: [PATCH 3/7] use a new file to have detailed --- README.md | 16 +--------------- docs/deploy-with-rpm.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 15 deletions(-) create mode 100644 docs/deploy-with-rpm.md diff --git a/README.md b/README.md index 187ca463a6..65d2e1ec62 100644 --- a/README.md +++ b/README.md @@ -72,21 +72,7 @@ Support the following ways currently. 1. [Source Codes](./docs/deploy.md) 2. [Docker](./docs/deploy-with-docker.md) -3. RPM package(only for CentOS 7) - - install runtime dependencies: [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ - - install Apache APISIX Dashboard: - - ```shell - $ sudo yum install -y https://github.com/apache/apisix-dashboard/releases/download/v2.3/apisix-dashboard-v2.3-1.x86_64.rpm - ``` - - - start Apache APISIX Dashboard: - - ```shell - $ sudo nohup manager-api -p /usr/local/apisix/dashboard/ & - ``` - - **Note**: For more detail please follow [Source Codes](./docs/deploy.md). +3. [RPM package (only for CentOS 7)](./docs/deploy-with-rpm.md) ## Development diff --git a/docs/deploy-with-rpm.md b/docs/deploy-with-rpm.md new file mode 100644 index 0000000000..7fe5cf05ef --- /dev/null +++ b/docs/deploy-with-rpm.md @@ -0,0 +1,36 @@ + + +## install runtime dependencies + +- [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ + +## install Apache APISIX Dashboard + +```shell +$ sudo yum install -y https://github.com/apache/apisix-dashboard/releases/download/v2.3/apisix-dashboard-v2.3-1.x86_64.rpm +``` + +## start Apache APISIX Dashboard + +```shell +$ sudo nohup manager-api -p /usr/local/apisix/dashboard/ & +``` + +**Note**: For more detail please follow [Source Codes](./docs/deploy.md). From e975fee44ab76252db50c270b83cf6598dd37ae9 Mon Sep 17 00:00:00 2001 From: idbeta Date: Tue, 12 Jan 2021 13:26:28 +0800 Subject: [PATCH 4/7] fixed typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 65d2e1ec62..74bc6a34cc 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ Note: Currently the Dashboard does not have complete coverage of Apache APISIX f Support the following ways currently. -1. [Source Codes](./docs/deploy.md) -2. [Docker](./docs/deploy-with-docker.md) -3. [RPM package (only for CentOS 7)](./docs/deploy-with-rpm.md) +- [Source Codes](./docs/deploy.md) +- [Docker](./docs/deploy-with-docker.md) +- [RPM package(only for CentOS 7)](./docs/deploy-with-rpm.md) ## Development From 0beb6783398c2eafb1b8b5576fe179352870a63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C?= Date: Tue, 12 Jan 2021 13:47:21 +0800 Subject: [PATCH 5/7] Update deploy-with-rpm.md --- docs/deploy-with-rpm.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/deploy-with-rpm.md b/docs/deploy-with-rpm.md index 7fe5cf05ef..69ad62bb6a 100644 --- a/docs/deploy-with-rpm.md +++ b/docs/deploy-with-rpm.md @@ -17,20 +17,22 @@ # --> -## install runtime dependencies +# Deploy with RPM -- [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ +**NOTE:** Only support CentOS 7 currently, for more infomation, please refer to [here](./docs/deploy.md). -## install Apache APISIX Dashboard +## Install from RPM -```shell +```sh $ sudo yum install -y https://github.com/apache/apisix-dashboard/releases/download/v2.3/apisix-dashboard-v2.3-1.x86_64.rpm ``` -## start Apache APISIX Dashboard +## Run + +Before you start, make sure the following dependencies are installed and running in your environment. -```shell +- [etcd](https://etcd.io/docs/v3.4.0/dl-build/) 3.4.0+ + +```sh $ sudo nohup manager-api -p /usr/local/apisix/dashboard/ & ``` - -**Note**: For more detail please follow [Source Codes](./docs/deploy.md). From f10c6756c51f7bea329722ae76568897f13ec5db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C?= Date: Tue, 12 Jan 2021 15:26:43 +0800 Subject: [PATCH 6/7] Update deploy-with-rpm.md --- docs/deploy-with-rpm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploy-with-rpm.md b/docs/deploy-with-rpm.md index 69ad62bb6a..64c30eb1c6 100644 --- a/docs/deploy-with-rpm.md +++ b/docs/deploy-with-rpm.md @@ -19,7 +19,7 @@ # Deploy with RPM -**NOTE:** Only support CentOS 7 currently, for more infomation, please refer to [here](./docs/deploy.md). +**NOTE:** Only support CentOS 7 currently, for more information, please refer to [here](./docs/deploy.md). ## Install from RPM From d486e9a6d8f1df61a0b3a9918e902d7bf705a02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C?= Date: Tue, 12 Jan 2021 19:49:54 +0800 Subject: [PATCH 7/7] Update docs/deploy-with-rpm.md Co-authored-by: litesun --- docs/deploy-with-rpm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploy-with-rpm.md b/docs/deploy-with-rpm.md index 64c30eb1c6..407b7f2fa6 100644 --- a/docs/deploy-with-rpm.md +++ b/docs/deploy-with-rpm.md @@ -19,7 +19,7 @@ # Deploy with RPM -**NOTE:** Only support CentOS 7 currently, for more information, please refer to [here](./docs/deploy.md). +**NOTE:** Only support CentOS 7 currently, for more information, please refer to [here](./deploy.md). ## Install from RPM