This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new e0fc05ced2 update linkis_scriptis_install.md (#457)
e0fc05ced2 is described below
commit e0fc05ced2cfcaa6d12a6c8d702426d13593cf68
Author: 成彬彬 <[email protected]>
AuthorDate: Fri Jul 22 17:35:41 2022 +0800
update linkis_scriptis_install.md (#457)
* update linkis_scriptis_install.md
---
docs/deployment/linkis_scriptis_install.md | 54 +++---
.../current/deployment/linkis_scriptis_install.md | 32 ++--
.../deployment/linkis_scriptis_install.md | 192 ---------------------
.../deployment/linkis_scriptis_install.md | 20 +--
.../deployment/linkis_scriptis_install.md | 20 +--
5 files changed, 64 insertions(+), 254 deletions(-)
diff --git a/docs/deployment/linkis_scriptis_install.md
b/docs/deployment/linkis_scriptis_install.md
index cdf628bb47..4884cbfa95 100644
--- a/docs/deployment/linkis_scriptis_install.md
+++ b/docs/deployment/linkis_scriptis_install.md
@@ -1,37 +1,36 @@
---
-title: Installation and deployment of tool scripts
+title: Installation and deployment of the tool scriptis
sidebar_position: 10
---
## 1 Introduction
-> After Linkis 1.0 and DSS 1.1.0, scriptis can be deployed separately to
integrate Linkis. Using the interactive analysis function of scriptis, you can
write SQL, Pyspark, HiveQL and other scripts online on web pages and submit
them to Linkis for execution and support Features such as UDFs, functions,
resource management, and custom variables. This article will introduce how to
deploy the web component -scriptis separately, and use Linkis through the
scriptis web page.
+> After Apache Linkis >= 1.1.1 and DSS >= 1.1.0, scriptis can be deployed
separately and used in conjunction with Linkis. Using the interactive analysis
function of scriptis, you can write SQL, Pyspark, HiveQL, etc. online on web
pages Scripts are submitted to Linkis for execution and support features such
as UDFs, functions, resource management and custom variables. This article will
introduce how to deploy the web component-scriptis separately, and use Apache
Linkis through the script [...]
-Prerequisite: The linkis service (backend and management desk service) has
been successfully installed and can be used normally. For the deployment
process of linkis, see [Quick Deployment of Linkis](quick_deploy.md)
+Prerequisite: The Linkis service (backend and management desk service) has
been successfully installed and can be used normally. The deployment process of
Linkis can be found in [Quick Deployment of Apache Linkis](quick_deploy.md)
Example description:
+
- The address of the linkis-gateway service is 10.10.10.10 and the port is 9001
-- The linkis management console nginx is deployed on 10.10.10.10 and the port
is 8080
+- Linkis console nginx is deployed on 10.10.10.10 port 8080
## 2. Environment preparation
->Requires installation on first use
+
+> Requires installation on first use
### 2.1 Install node.js
```shell script
-Download node.js and install it. Download address: http://nodejs.cn/download/
(The latest stable version is recommended) This step only needs to be executed
for the first time
+Download node.js and install it. Download address: http://nodejs.cn/download/
(It is recommended to use node v14 version) This step only needs to be executed
for the first time
````
-
### 2.2 Install learn
```shell script
#Wait for the installation to complete, the installation of liarn only needs
to be executed when it is used for the first time
npm install lerna -g
-#init
-lerna init
````
## 3 Compile and deploy
-### 3.1 Get script code
+### 3.1 Get scriptis code
> scriptis is a pure front-end project, integrated as a component in the DSS
> web code component, we only need to compile the DSS web project with a
> separate scriptis module
```shell script
@@ -53,38 +52,39 @@ lerna bootstrap
#### 3.2.1 Configure linkis-gateway service address configuration
-If you start the service locally, you need to configure the backend
linkis-gateway service address in the code, the `.env` file in the
`web/packages/dss/` directory,
+If you start the service locally, you need to configure the backend
linkis-gateway service address in the code, in the `.env` file in the
`web/packages/dss/` directory,
No configuration is required when packaging and deploying
```shell script
// Backend linkis-gatway service address
VUE_APP_HOST=http://10.10.10.10:9001
VUE_APP_MN_CONFIG_PREFIX=http://10.10.10.10:9001/api/rest_j/v1
````
-#### 3.2.2 Running the scripts module
+#### 3.2.2 Running the scriptis module
```shell script
cd DataSphereStudio/web
-# run script component
+# run scriptis component
npm run serve --module=scriptis
````
Open the browser and access the application script through the link
`http://localhost:8080` (the default port for local requests is 8080), because
it will request the remote linkis-gatway service interface, which will cause
cross-domain problems, chrome browser To solve cross-domain problems, please
refer to [Solving Chrome Cross-Domain
Problems](https://www.jianshu.com/p/56b1e01e6b6a)
+
## 4 Packaging & deploying scriptis
### 4.1 Packaging
```shell script
-#Specify the scripts module
+#Specify scriptis module
cd DataSphereStudio/web
-#After the instruction is successfully executed, a folder named `dist` will
appear in the web directory, which is the component resource code of the
packaged script. We need to deploy the front-end resource to the nginx server
where linkis-web is located
+#After the command is executed successfully, a folder named `dist` will appear
in the web directory, which is the component resource code of the packaged
scriptis. We need to deploy the front-end resource to the nginx server where
linkis-web is located
npm run build --module=scriptis
````
### 4.2 Deployment
-Upload the static resources compiled in 3.1 to the server where the linkis
console is located, and store them in `/data/Install/scriptis-web/dist/`,
-In the nginx server configuration where the linkis management console is
installed, add scriptis static resource access rules. The nginx configuration
deployed by the linkis management console is generally located in
`/etc/nginx/conf.d/linkis.conf`
+Upload the static resources compiled in step 3.1 to the server where the
Linkis console is located, and store them in `/data/Install/scriptis-web/dist/`,
+In the nginx server configuration where Linkis console is installed, add
scriptis static resource access rules. The nginx configuration deployed by
Linkis console is generally located in `/etc/nginx/conf.d/linkis.conf`
```shell script
location /scripts {
@@ -115,7 +115,7 @@ server {
......
location /api {
- proxy_pass http://10.10.10.10:9001; #gatway's address
+ proxy_pass http://10.10.10.10:9001; address of #gatway
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header x_real_ipP $remote_addr;
@@ -140,23 +140,24 @@ location /api {
````
After modifying the configuration, reload the nginx configuration
+
```shell script
sudo nginx -s reload
````
-Note that in nginx, the difference between root and alias is used in the
locaiton configuration block
+Note the difference between root and alias in the location configuration block
in nginx
- The processing result of root is: root path + location path.
- The result of alias processing is: replace the location path with the alias
path.
-- alias is the definition of a directory alias, root is the definition of the
top-level directory
+- alias is the definition of a directory alias, root is the definition of the
topmost directory
## 5 scriptis usage steps
-### 5.1 Log in to the linkis console normally
+### 5.1 Log in to Linkis console normally
```shell script
#http://10.10.10.10:8080/#/
http://nginxIp:port/#/
````
-Because scriptis requires login verification, you need to log in first and get
the cookie.
+Because access to scriptis requires login verification, you need to log in
first, obtain and cache cookies.
### 5.2 Access the scriptis page after successful login
@@ -164,13 +165,14 @@ Because scriptis requires login verification, you need to
log in first and get t
#http://10.10.10.10:8080/scriptis/#/home
http://nginxIp:port/scriptis/#/home
````
-nginxIp: nginx server ip, port: port number for linkis management console
nginx configuration startup, `scriptis` is the location address of nginx
configuration for requesting scriptis project static files (can be customized)
+`nginxIp`: The ip of the nginx server deployed by the Linkis console, `port`:
the port number of the nginx configuration startup, `scriptis` is the location
address of the nginx configuration for requesting the static files of the
scriptis project (can be customized)
### 4.3 Using scriptis
-Take creating a new SQL query task as an example.
+
+Take creating a new sql query task as an example.
-step1 Create a new script and select the script type as sql type
+step1 Create a new script Select the script type as sql type

@@ -185,4 +187,4 @@ step3 run
shep4 View Results
-
+
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
index 5676379b8c..ec0c4be813 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
@@ -5,31 +5,31 @@ sidebar_position: 10
## 1. 介绍
-> 在 Apache Linkis 1.0 和 DSS 1.1.0 之后,支持将 scriptis 单独部署和 Apache Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache 。
+> 在 Apache Linkis >= 1.1.1 和 DSS >= 1.1.0 之后,支持将 scriptis 单独部署和 Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache Linkis 。
-前提:已经成功安装并可以正常使用了 Apache Linkis 服务(后端和管理台服务),Apache Linkis 的部署流程可以见[Apache
Linkis 的快速部署 ](quick_deploy.md)
+前提:已经成功安装并可以正常使用了 Linkis 服务(后端和管理台服务),Linkis 的部署流程可以见[Apache Linkis 的快速部署
](quick_deploy.md)
示例说明:
-- linkis-gateway 服务的地址为 10.10.10.10 端口为 9001
-- Apache Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
+
+- linkis-gateway 服务的地址为 10.10.10.10 端口为 9001
+- Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
## 2.环境准备
+
> 首次使用时需要安装
### 2.1 安装 node.js
```shell script
-将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ (建议使用最新的稳定版本) 该步骤仅第一次使用时需要执行
+将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ ( 建议使用node v14版本)
该步骤仅第一次使用时需要执行
```
### 2.2 安装 learn
```shell script
#等待安装完即可,安装 liarn 仅第一次使用时需要执行
npm install lerna -g
-#初始化
-lerna init
```
-## 3 编译部署
+## 3 编译部署
### 3.1 获取 scriptis 代码
> scriptis 是一个纯前端的项目,作为一个组件集成在 DSS 的 web 代码组件中,我们只需要将 DSS web 项目进行单独的 scriptis
> 模块编译
@@ -59,7 +59,7 @@ lerna bootstrap
VUE_APP_HOST=http://10.10.10.10:9001
VUE_APP_MN_CONFIG_PREFIX=http://10.10.10.10:9001/api/rest_j/v1
```
-#### 3.2.2 运行 scriptis 模块
+#### 3.2.2 运行 scriptis 模块
```shell script
cd DataSphereStudio/web
@@ -83,8 +83,8 @@ npm run build --module=scriptis
### 4.2 部署
-将步骤 3.1 编译出来的静态资源 上传至 Apache Linkis
管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
-在安装 Apache Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Apache Linkis
管理台部署的 nginx 配置一般位于 `/etc/nginx/conf.d/linkis.conf`
+将步骤 3.1 编译出来的静态资源 上传至 Linkis 管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
+在安装 Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Linkis 管理台部署的 nginx
配置一般位于 `/etc/nginx/conf.d/linkis.conf`
```shell script
location /scriptis {
@@ -139,7 +139,7 @@ location /api {
}
```
-修改配置后,重新加载 nginx 配置
+修改配置后,重新加载 nginx 配置
```shell script
sudo nginx -s reload
@@ -152,7 +152,7 @@ sudo nginx -s reload
## 5 scriptis 使用步骤
-### 5.1 正常登录 Apache Linkis 管理台
+### 5.1 正常登录 Linkis 管理台
```shell script
#http://10.10.10.10:8080/#/
http://nginxIp:port/#/
@@ -165,9 +165,9 @@ http://nginxIp:port/#/
#http://10.10.10.10:8080/scriptis/#/home
http://nginxIp:port/scriptis/#/home
```
-`nginxIp`:Apache Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx
配置启动的端口号,`scriptis`为请求 scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
+`nginxIp`:Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx 配置启动的端口号,`scriptis`为请求
scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
-### 4.3 使用 scriptis
+### 4.3 使用 scriptis
以新建一个 sql 查询任务为例。
@@ -185,7 +185,7 @@ step3 运行

-shep4 查看结果
+shep4 查看结果

diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/deployment/linkis_scriptis_install.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/deployment/linkis_scriptis_install.md
deleted file mode 100644
index 4c97807062..0000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/deployment/linkis_scriptis_install.md
+++ /dev/null
@@ -1,192 +0,0 @@
----
-title: 工具 scriptis 的安装部署
-sidebar_position: 10
----
-
-## 1. 介绍
-
-> 在 Apache Linkis 1.0 和 DSS 1.1.0 之后,支持将 scriptis 单独部署和 Apache Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache 。
-
-
-前提:已经成功安装并可以正常使用了 Apache Linkis 服务(后端和管理台服务),Apache Linkis 的部署流程可以见[Apache
Linkis 的快速部署 ](quick_deploy.md)
-
-示例说明:
-- linkis-gateway 服务的地址为 10.10.10.10 端口为 9001
-- Apache Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
-
-## 2.环境准备
-> 首次使用时需要安装
-
-### 2.1 安装 node.js
-```shell script
-将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ (建议使用最新的稳定版本) 该步骤仅第一次使用时需要执行
-```
-### 2.2 安装 learn
-```shell script
-#等待安装完即可,安装 liarn 仅第一次使用时需要执行
-npm install lerna -g
-#初始化
-lerna init
-```
-
-## 3 编译部署
-### 3.1 获取 scriptis 代码
-> scriptis 是一个纯前端的项目,作为一个组件集成在 DSS 的 web 代码组件中,我们只需要将 DSS web 项目进行单独的 scriptis
模块编译
-
-```shell script
-#通过git下载 >=dss 1.1.0 版本来编译scriptis组件
-git clone -b branch-1.1.0 https://github.com/WeBankFinTech/DataSphereStudio
-# 或则直接下载 zip 包 后解压
-https://github.com/WeBankFinTech/DataSphereStudio/archive/refs/heads/branch-1.1.0.zip
-
-#进入 web 目录
-cd DataSphereStudio/web
-
-#添加依赖 注意:这里不是通过 npm install 而是 lerna bootstrap 需先安装 learn 该步骤仅第一次使用时需要执行
-lerna bootstrap
-```
-
-### 3.2 本地运行项目(可选)
-
-> 如果不需要本地运行调试查看,可以跳过此步
-
-#### 3.2.1 配置 linkis-gateway 服务地址配置
-
-如果是在本地启动服务,需要在代码中配置后端 linkis-gateway 服务地址,在`web/packages/dss/`目录下的`.env`文件,
-打包部署时不需要进行配置
-```shell script
-// 后端 linkis-gatway 服务地址
-VUE_APP_HOST=http://10.10.10.10:9001
-VUE_APP_MN_CONFIG_PREFIX=http://10.10.10.10:9001/api/rest_j/v1
-```
-#### 3.2.2 运行 scriptis 模块
-
-```shell script
-cd DataSphereStudio/web
-# 运行 scriptis 组件
-npm run serve --module=scriptis
-```
-
-打开浏览器,通过链接`http://localhost:8080`(本地请求默认端口是 8080) 访问应用 scriptis ,因为会请求到远端的
linkis-gatway 服务接口,这会存在跨域问题,chrome 浏览器解决跨域问题可参考[解决 Chrome 跨域问题
](https://www.jianshu.com/p/56b1e01e6b6a)
-
-
-## 4 打包&部署 scriptis
-
-### 4.1 打包
-```shell script
-#指定 scriptis 模块
-cd DataSphereStudio/web
-
-#该指令成功执行后,web 目录下会出现一个名叫 `dist` 的文件夹,该文件夹即为打包好 scriptis 的组件资源代码。我们需要将该前端资源部署到
linkis-web 所在的 nginx 服务器上
-npm run build --module=scriptis
-```
-
-### 4.2 部署
-
-将步骤 3.1 编译出来的静态资源 上传至 Apache Linkis
管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
-在安装 Apache Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Apache Linkis
管理台部署的 nginx 配置一般位于 `/etc/nginx/conf.d/linkis.conf`
-
-```shell script
- location /scriptis {
- alias /data/Install/scriptis-web/dist/ ;
- index index.html ;
-}
-```
-
-sudo vim `/etc/nginx/conf.d/linkis.conf`
-
-```shell script
-server {
- listen 8080;# 访问端口
- server_name localhost;
- #charset koi8-r;
- #access_log /var/log/nginx/host.access.log main;
-
- location / {
- root /appcom/Install/linkis-web/dist/; # 静态文件目录
- index index.html;
- }
-
- location /scriptis { #scriptis 的资源带有 scriptis 前缀与 linkis 管理台区分开
- alias /data/Install/scriptis-web/dist/ ; #nginx scriptis
静态文件存放路径 (可自定义)
- index index.html ;
- }
-
- .......
-
-location /api {
- proxy_pass http://10.10.10.10:9001; #gatway 的地址
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header x_real_ipP $remote_addr;
- proxy_set_header remote_addr $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_http_version 1.1;
- proxy_connect_timeout 4s;
- proxy_read_timeout 600s;
- proxy_send_timeout 12s;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection upgrade;
- }
-
- #error_page 404 /404.html;
- # redirect server error pages to the static page /50x.html
- #
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- }
-
-```
-修改配置后,重新加载 nginx 配置
-
-```shell script
-sudo nginx -s reload
-```
-
-注意 nginx 中,location 配置块中使用 root 和 alias 区别
-- root 的处理结果是:root 路径+location 路径.
-- alias 的处理结果是:使用 alias 路径替换 location 路径.
-- alias 是一个目录别名的定义,root 则是最上层目录的定义
-
-## 5 scriptis 使用步骤
-
-### 5.1 正常登录 Apache Linkis 管理台
-```shell script
-#http://10.10.10.10:8080/#/
-http://nginxIp:port/#/
-```
-因访问 scriptis 需要进行登录验证,所以需要先进行登录,获取并缓存 cookie。
-
-### 5.2 登录成功后 访问 scriptis 页面
-
-```shell script
-#http://10.10.10.10:8080/scriptis/#/home
-http://nginxIp:port/scriptis/#/home
-```
-`nginxIp`:Apache Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx
配置启动的端口号,`scriptis`为请求 scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
-
-### 4.3 使用 scriptis
-
-以新建一个 sql 查询任务为例。
-
-
-step1 新建脚本 选择脚本类型为 sql 类型
-
-
-
-step2 输入要查询的语句
-
-
-
-step3 运行
-
-
-
-
-shep4 查看结果
-
-
-
-
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis_scriptis_install.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis_scriptis_install.md
index 4c97807062..ec0c4be813 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis_scriptis_install.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/deployment/linkis_scriptis_install.md
@@ -5,28 +5,28 @@ sidebar_position: 10
## 1. 介绍
-> 在 Apache Linkis 1.0 和 DSS 1.1.0 之后,支持将 scriptis 单独部署和 Apache Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache 。
+> 在 Apache Linkis >= 1.1.1 和 DSS >= 1.1.0 之后,支持将 scriptis 单独部署和 Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache Linkis 。
-前提:已经成功安装并可以正常使用了 Apache Linkis 服务(后端和管理台服务),Apache Linkis 的部署流程可以见[Apache
Linkis 的快速部署 ](quick_deploy.md)
+前提:已经成功安装并可以正常使用了 Linkis 服务(后端和管理台服务),Linkis 的部署流程可以见[Apache Linkis 的快速部署
](quick_deploy.md)
示例说明:
+
- linkis-gateway 服务的地址为 10.10.10.10 端口为 9001
-- Apache Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
+- Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
## 2.环境准备
+
> 首次使用时需要安装
### 2.1 安装 node.js
```shell script
-将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ (建议使用最新的稳定版本) 该步骤仅第一次使用时需要执行
+将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ ( 建议使用node v14版本)
该步骤仅第一次使用时需要执行
```
### 2.2 安装 learn
```shell script
#等待安装完即可,安装 liarn 仅第一次使用时需要执行
npm install lerna -g
-#初始化
-lerna init
```
## 3 编译部署
@@ -83,8 +83,8 @@ npm run build --module=scriptis
### 4.2 部署
-将步骤 3.1 编译出来的静态资源 上传至 Apache Linkis
管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
-在安装 Apache Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Apache Linkis
管理台部署的 nginx 配置一般位于 `/etc/nginx/conf.d/linkis.conf`
+将步骤 3.1 编译出来的静态资源 上传至 Linkis 管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
+在安装 Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Linkis 管理台部署的 nginx
配置一般位于 `/etc/nginx/conf.d/linkis.conf`
```shell script
location /scriptis {
@@ -152,7 +152,7 @@ sudo nginx -s reload
## 5 scriptis 使用步骤
-### 5.1 正常登录 Apache Linkis 管理台
+### 5.1 正常登录 Linkis 管理台
```shell script
#http://10.10.10.10:8080/#/
http://nginxIp:port/#/
@@ -165,7 +165,7 @@ http://nginxIp:port/#/
#http://10.10.10.10:8080/scriptis/#/home
http://nginxIp:port/scriptis/#/home
```
-`nginxIp`:Apache Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx
配置启动的端口号,`scriptis`为请求 scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
+`nginxIp`:Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx 配置启动的端口号,`scriptis`为请求
scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
### 4.3 使用 scriptis
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis_scriptis_install.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis_scriptis_install.md
index ad7a56c391..ec0c4be813 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis_scriptis_install.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.2/deployment/linkis_scriptis_install.md
@@ -5,21 +5,23 @@ sidebar_position: 10
## 1. 介绍
-> 在 Apache Linkis 1.0 和 DSS 1.1.0 之后,支持将 scriptis 单独部署和 Apache Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache 。
+> 在 Apache Linkis >= 1.1.1 和 DSS >= 1.1.0 之后,支持将 scriptis 单独部署和 Linkis
进行搭配使用,使用 scriptis 的交互式分析的功能,可以在 web 页面在线写 SQL、Pyspark、HiveQL 等脚本,提交给 Linkis
执行且支持 UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署 Web 组件-scriptis,并通过 scriptis 这种 Web
页面来使用 Apache Linkis 。
-前提:已经成功安装并可以正常使用了 Apache Linkis 服务(后端和管理台服务),Apache Linkis 的部署流程可以见[Apache
Linkis 的快速部署 ](quick_deploy.md)
+前提:已经成功安装并可以正常使用了 Linkis 服务(后端和管理台服务),Linkis 的部署流程可以见[Apache Linkis 的快速部署
](quick_deploy.md)
示例说明:
+
- linkis-gateway 服务的地址为 10.10.10.10 端口为 9001
-- Apache Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
+- Linkis 的管理台 nginx 部署在 10.10.10.10 端口为 8080
## 2.环境准备
+
> 首次使用时需要安装
### 2.1 安装 node.js
```shell script
-将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ (建议使用最新的稳定版本) 该步骤仅第一次使用时需要执行
+将 node.js 下载,安装即可。下载地址:http://nodejs.cn/download/ ( 建议使用node v14版本)
该步骤仅第一次使用时需要执行
```
### 2.2 安装 learn
```shell script
@@ -42,8 +44,6 @@ cd DataSphereStudio/web
#添加依赖 注意:这里不是通过 npm install 而是 lerna bootstrap 需先安装 learn 该步骤仅第一次使用时需要执行
lerna bootstrap
-#初始化
-lerna init
```
### 3.2 本地运行项目(可选)
@@ -83,8 +83,8 @@ npm run build --module=scriptis
### 4.2 部署
-将步骤 3.1 编译出来的静态资源 上传至 Apache Linkis
管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
-在安装 Apache Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Apache Linkis
管理台部署的 nginx 配置一般位于 `/etc/nginx/conf.d/linkis.conf`
+将步骤 3.1 编译出来的静态资源 上传至 Linkis 管理台所在的服务器上,存放于`/data/Install/scriptis-web/dist/`,
+在安装 Linkis 管理台的 nginx 服务器配置中,添加 scriptis 的静态资源访问规则,Linkis 管理台部署的 nginx
配置一般位于 `/etc/nginx/conf.d/linkis.conf`
```shell script
location /scriptis {
@@ -152,7 +152,7 @@ sudo nginx -s reload
## 5 scriptis 使用步骤
-### 5.1 正常登录 Apache Linkis 管理台
+### 5.1 正常登录 Linkis 管理台
```shell script
#http://10.10.10.10:8080/#/
http://nginxIp:port/#/
@@ -165,7 +165,7 @@ http://nginxIp:port/#/
#http://10.10.10.10:8080/scriptis/#/home
http://nginxIp:port/scriptis/#/home
```
-`nginxIp`:Apache Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx
配置启动的端口号,`scriptis`为请求 scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
+`nginxIp`:Linkis 管理台所部署的 nginx 服务器 ip,`port`:nginx 配置启动的端口号,`scriptis`为请求
scriptis 项目静态文件 nginx 配置的 location 地址(可自定义设置)
### 4.3 使用 scriptis
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]