This is an automated email from the ASF dual-hosted git repository. yunqing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong-website.git
The following commit(s) were added to refs/heads/master by this push: new 1ac61284f3 [INLONG-687][Doc] Optimize the standalone deployment guide (#688) 1ac61284f3 is described below commit 1ac61284f383daa77e5277f256f0a290811647ab Author: Charles Zhang <dockerzh...@apache.org> AuthorDate: Thu Feb 23 17:23:41 2023 +0800 [INLONG-687][Doc] Optimize the standalone deployment guide (#688) --- docs/deployment/docker.md | 9 ++++- docs/deployment/standalone.md | 40 ++++++++++++++++------ .../current/deployment/docker.md | 4 +-- .../current/deployment/standalone.md | 40 ++++++++++++++++------ 4 files changed, 70 insertions(+), 23 deletions(-) diff --git a/docs/deployment/docker.md b/docs/deployment/docker.md index 25ffaf2141..186b880bae 100644 --- a/docs/deployment/docker.md +++ b/docs/deployment/docker.md @@ -23,6 +23,13 @@ cd docker/docker-compose docker-compose up -d ``` +## Cluster Initialize +When all containers are successfully started, you can access the Inlong dashboard address `http: // localhost`, and use the following default account to log in: +``` +User: admin +Password: inlong +``` + ### Create Cluster Tag Click [Clusters]->[ClusterTags]->[Create] on the page to specify the cluster label name and person in charge:  @@ -41,7 +48,7 @@ The ClusterTags selects the newly created `default_cluster`, the Pulsar cluster Service URL is `pulsar://pulsar:6650`, Admin URL is `http://pulsar:8080`. ::: -### Create Data Stream +## Use You can refer [Pulsar Example](quick_start/pulsar_example.md) to create Data Stream. ## Destroy diff --git a/docs/deployment/standalone.md b/docs/deployment/standalone.md index 7a08b04ffd..170c7a4f99 100644 --- a/docs/deployment/standalone.md +++ b/docs/deployment/standalone.md @@ -16,7 +16,9 @@ InLong Support the following Message Queue services now, you can choose one of t ## Download the Binary Package You can get binary package from [Download Page](https://inlong.apache.org/download) ,or you can build the InLong refer to [How to Build](quick_start/how_to_build.md). +:::note Extract `apache-inlong-[version]-bin.tar.gz` and `apache-inlong-[version]-sort-connectors.tar.gz`, and make sure the `inlong-sort/connectors/` directory contains `sort-connector-[type]-[version].jar`. +::: ## DB Dependencies - If the backend database is MySQL, please download [mysql-connector-java-8.0.27.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.27/mysql-connector-java-8.0.27.jar) and put it into the following directories: @@ -33,12 +35,14 @@ In `conf/inlong.conf`, configure the parameters according to the actual situatio ```shell # local IP local_ip= -# Configure MySQL +# Configure Database, MySQL or PostgreSQL spring_datasource_hostname= spring_datasource_port=3306 spring_datasource_username=root spring_datasource_password=inlong -# Configure Pulsar or TubeMQ Address +# Configure Pulsar Address if use Pulsar for Audit +pulsar_service_url=pulsar://172.17.0.2:6650 +pulsar_admin_url=http://172.17.0.2:8080 # the REST server address for Flink flink_rest_address= # the REST server Port for Flink @@ -50,12 +54,28 @@ flink_rest_port=8081 bin/inlong-daemon start standalone ``` -## Register Message Queue -You can register message queue for Manger according to [Register MQ Cluster](https://inlong.apache.org/docs/next/modules/manager/quick_start/#register-mq-cluster). +## Cluster Initialize +When all containers are successfully started, you can access the Inlong dashboard address `http: // localhost`, and use the following default account to log in: +``` +User: admin +Password: inlong +``` -## Check -After all component run successfully, you can access `http://localhost` with default account: -```shell -user: admin -password: inlong -``` \ No newline at end of file +### Create Cluster Tag +Click [Clusters]->[ClusterTags]->[Create] on the page to specify the cluster label name and person in charge: + + +:::caution +Since each component reports the ClusterTags as `default_cluster` by default, do not use other names. +::: + +### Register Pulsar Cluster +Click [Clusters]->[ClusterTags]->[Create] on the page to register Pulsar Cluster: + + +:::note +The ClusterTags selects the newly created `default_cluster`, and then configuring the Pulsar cluster info. +::: + +## Use +You can refer [Pulsar Example](quick_start/pulsar_example.md) to create Data Stream. \ No newline at end of file diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/docker.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/docker.md index 309de929c2..5d7b1753aa 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/docker.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/docker.md @@ -23,7 +23,7 @@ cd docker/docker-compose docker-compose up -d ``` -## 注册集群 +## 集群初始化 当所有容器都成功启动后,可以访问 InLong Dashboard 地址`http://localhost`,并使用以下默认账号登录: ``` User: admin @@ -48,7 +48,7 @@ Password: inlong Service URL 为 `pulsar://pulsar:6650`,Admin URL 为 `http://pulsar:8080`。 ::: -### 创建数据流 +## 使用 创建数据流可以参考 [Pulsar Example](quick_start/pulsar_example.md). ## 销毁 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md index 5fc4ac9c9c..6cf3979ffd 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md @@ -15,7 +15,9 @@ InLong 当前支持以下消息队列,根据使用情况**选择其一**即可 ## 下载安装包 可以从 [下载页面](https://inlong.apache.org/download) 获取二进制包,或参考 [如何编译](quick_start/how_to_build.md) 编译需要的版本。 +:::note 解压 `apache-inlong-[version]-bin.tar.gz` 和 `apache-inlong-[version]-sort-connectors.tar.gz`,并确保 `inlong-sort/connectors/` 目录包含 `sort-connector-[type]-[version].jar`。 +::: ## DB 依赖 - 如果后端连接 MySQL 数据库,请下载 [mysql-connector-java-8.0.27.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.27/mysql-connector-java-8.0.27.jar), 并将其放入以下目录: @@ -33,12 +35,14 @@ inlong-tubemq-manager/lib/ ```shell # 本地机器 IP local_ip= -# MySQL 配置 +# 数据库配置,MySQL 或者 PostgreSQL spring_datasource_hostname= spring_datasource_port=3306 spring_datasource_username=root spring_datasource_password=inlong -# 配置 Pulsar 或者 TubeMQ 地址 +# 配置 Pulsar 集群地址,如果 Audit 使用 Pulsar +pulsar_service_url=pulsar://172.17.0.2:6650 +pulsar_admin_url=http://172.17.0.2:8080 # Flink REST server 地址 flink_rest_address= # Flink REST server 端口 @@ -50,14 +54,30 @@ flink_rest_port=8081 bin/inlong-daemon start standalone ``` -## 注册消息队列 -可参考 [注册 MQ 集群](https://inlong.apache.org/zh-CN/docs/next/modules/manager/quick_start/#%E6%B3%A8%E5%86%8C-mq-%E9%9B%86%E7%BE%A4) 向 Manger 注册消息队列服务。 - -## 检查 -当所有组件都成功启动后,可以访问`http://localhost`,并使用以下默认账号登录: -```shell -user: admin -password: inlong +## 集群初始化 +当所有容器都成功启动后,可以访问 InLong Dashboard 地址`http://localhost`,并使用以下默认账号登录: ``` +User: admin +Password: inlong +``` + +### 创建集群标签 +页面点击 [集群管理]->[标签管理]->[新建],指定集群标签名称和负责人: + + +:::caution +由于各个组件默认上报集群标签为 `default_cluster`,请勿使用其它名称。 +::: + +### 注册 Pulsar 集群 +页面点击 [集群管理]->[集群管理]->[新建集群],注册 Pulsar 集群: + + +:::note +集群标签选择刚创建的 `default_cluster`,然后配置 Pulsar 集群信息。 +::: + +## 使用 +创建数据流可以参考 [Pulsar Example](quick_start/pulsar_example.md).