Skip to content

Commit

Permalink
correct linkis home (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoPhilipse authored Jan 3, 2023
1 parent da3a42f commit 48a9020
Show file tree
Hide file tree
Showing 36 changed files with 109 additions and 109 deletions.
10 changes: 5 additions & 5 deletions docs/deployment/deploy-quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SPARK_CONF_DIR=/appcom/config/spark-config
#### LDAP login configuration (optional)
:::caution note
The default is to use a static user and password. The static user is the deployment user. The static password will generate a random password string during deployment and store it in `{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3 Version)
The default is to use a static user and password. The static user is the deployment user. The static password will generate a random password string during deployment and store it in `${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3 Version)
:::
Expand Down Expand Up @@ -245,8 +245,8 @@ To download the mysql driver, take version 5.1.49 as an example: [download link]
Copy the mysql driver package to the lib package
````
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
````
### 3.3 Configuration Adjustment (Optional)
Expand Down Expand Up @@ -383,7 +383,7 @@ If you need to modify the port or static resource directory, etc., please modify
### 4.4 Login to the console
Browser login `http://xx.xx.xx.xx:8188/#/login`
Username/password can be found in `{LINKIS_HOME}/conf/linkis-mg-gateway.properties`
Username/password can be found in `${LINKIS_HOME}/conf/linkis-mg-gateway.properties`
```shell script
wds.linkis.admin.user= #User
wds.linkis.admin.password= #Password
Expand Down Expand Up @@ -542,7 +542,7 @@ hdfs dfs -chown hadoop:hadoop/apps-data
### 8.3 Login password problem
By default, linkis uses a static user and password. The static user is the deployment user. The static password will randomly generate a password string during deployment and store it in
`{LINKIS_HOME}/conf/linkis-mg-gateway.properties` (>=1.0.3 version)
`${LINKIS_HOME}/conf/linkis-mg-gateway.properties` (>=1.0.3 version)
### 8.4 version compatibility issues
Expand Down
8 changes: 4 additions & 4 deletions docs/development/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ When starting engineplugin, you may encounter the following error:
You need to add the publicly dependent modules to the classpath of the ecp module, and modify the pom of pes to add the following dependencies:
linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
````xml
<dependency>
<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-dist</artifactId>
<version>${project.version}</version>
Expand All @@ -294,7 +294,7 @@ linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
</dependency>
````
Expand Down Expand Up @@ -492,7 +492,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
Identify the service where the package that needs to be debugged is located, and determine the service to which it belongs according to the location of the code to be debugged
### 4.2 Enter {LINKIS_HOME}/sbin/ext, modify the module configuration file to open the remote call port
### 4.2 Enter ${LINKIS_HOME}/sbin/ext, modify the module configuration file to open the remote call port
![c-port](images/c-port.png)
### 4.3 Restart the service that needs to be debugged
Expand All @@ -501,7 +501,7 @@ Identify the service where the package that needs to be debugged is located, and
sh linkis-daemon.sh restart ps-publicservice
````
(If you are not sure about the service name, check in {LINKIS_HOME}/sbin/linkis-start-all.sh )
(If you are not sure about the service name, check in ${LINKIS_HOME}/sbin/linkis-start-all.sh )
### 4.4 Compiler configuration remote debugging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sudo systemctl restart nginx

浏览器访问`http://linkis_ipaddr:linkis_port` 其中linkis_port为config.sh里面配置的端口,linkis_ipaddr为安装机器的IP

用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SPARK_CONF_DIR=/appcom/config/spark-config
#### LDAP 登录配置(可选)

:::caution 注意
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
:::


Expand Down Expand Up @@ -244,8 +244,8 @@ Your default account password is [hadoop/5e8e312b4]`

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```

### 3.3 配置调整(可选)
Expand Down Expand Up @@ -374,7 +374,7 @@ nginx的日志文件在 `/var/log/nginx/access.log` 和`/var/log/nginx/error.log
### 4.4 登录管理台

浏览器登陆 `http://xx.xx.xx.xx:8188/#/login`
用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down Expand Up @@ -533,7 +533,7 @@ hdfs dfs -chown hadoop:hadoop /apps-data
### 8.3 登陆密码问题
linkis默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于
`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`>=1.0.3版本)
`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`>=1.0.3版本)
### 8.4 版本兼容性问题
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ org.apache.linkis.filesystem.LinkisPublicServiceApp
需要把公共依赖的模块加到linkis-public-enhancements模块的classpath下,修改pes的pom增加以下依赖:
linkis-public-enhancements/pom.xml
```xml
<dependency>
<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-dist</artifactId>
<version>${project.version}</version>
Expand All @@ -203,7 +203,7 @@ linkis-public-enhancements/pom.xml
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
</dependency>

```

Expand Down Expand Up @@ -285,7 +285,7 @@ org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
需要把公共依赖的模块加到ecp模块的classpath下,修改pes的pom增加以下依赖:
linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
```xml
<dependency>
<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-dist</artifactId>
<version>${project.version}</version>
Expand All @@ -295,7 +295,7 @@ linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
</dependency>

```

Expand Down Expand Up @@ -505,7 +505,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
sh linkis-daemon.sh restart ps-publicservice
```

(如果不确定服务名称,在 {LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)
(如果不确定服务名称,在 ${LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)

### 4.4 编译器配置远程调试

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ Linkis1.0.3 默认已适配的引擎列表如下:

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ Linkis1.0.3 默认已适配的引擎列表如下:

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
sh linkis-daemon.sh restart ps-publicservice
```

(如果不确定服务名称,在 {LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)
(如果不确定服务名称,在 ${LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)

### 4.4 编译器配置远程调试

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SPARK_CONF_DIR=/appcom/config/spark-config
#### LDAP 登录配置(可选)

:::caution 注意
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
:::


Expand Down Expand Up @@ -238,8 +238,8 @@ Your default account password is [hadoop/5e8e312b4]`

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```

### 3.3 配置调整(可选)
Expand Down Expand Up @@ -378,7 +378,7 @@ nginx的日志文件在 `/var/log/nginx/access.log` 和`/var/log/nginx/error.log
### 4.4 登录管理台

浏览器登陆 `http://xx.xx.xx.xx:8188/#/login`
用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down Expand Up @@ -537,7 +537,7 @@ hdfs dfs -chown hadoop:hadoop /apps-data
### 8.3 登陆密码问题
linkis默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于
`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
### 8.4 版本兼容性问题
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sudo systemctl restart nginx

浏览器访问`http://linkis_ipaddr:linkis_port` 其中linkis_port为config.sh里面配置的端口,linkis_ipaddr为安装机器的IP

用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
sh linkis-daemon.sh restart ps-publicservice
```

(如果不确定服务名称,在 {LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)
(如果不确定服务名称,在 ${LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)

### 4.4 编译器配置远程调试

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SPARK_CONF_DIR=/appcom/config/spark-config
#### LDAP 登录配置(可选)

:::caution 注意
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
:::


Expand Down Expand Up @@ -239,8 +239,8 @@ Your default account password is [hadoop/5e8e312b4]`

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```

### 3.3 配置调整(可选)
Expand Down Expand Up @@ -382,7 +382,7 @@ nginx的日志文件在 `/var/log/nginx/access.log` 和`/var/log/nginx/error.log
### 4.4 登录管理台

浏览器登陆 `http://xx.xx.xx.xx:8188/#/login`
用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down Expand Up @@ -542,7 +542,7 @@ hdfs dfs -chown hadoop:hadoop /apps-data
### 8.3 登陆密码问题
linkis默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于
`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
### 8.4 版本兼容性问题
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sudo systemctl restart nginx

浏览器访问`http://linkis_ipaddr:linkis_port` 其中linkis_port为config.sh里面配置的端口,linkis_ipaddr为安装机器的IP

用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
sh linkis-daemon.sh restart ps-publicservice
```

(如果不确定服务名称,在 {LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)
(如果不确定服务名称,在 ${LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)

### 4.4 编译器配置远程调试

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SPARK_CONF_DIR=/appcom/config/spark-config
#### LDAP 登录配置(可选)

:::caution 注意
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
:::


Expand Down Expand Up @@ -239,8 +239,8 @@ Your default account password is [hadoop/5e8e312b4]`

拷贝mysql 驱动包至lib包下
```
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar {LINKIS_HOME}/lib/linkis-commons/public-module/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-spring-cloud-services/linkis-mg-gateway/
cp mysql-connector-java-5.1.49.jar ${LINKIS_HOME}/lib/linkis-commons/public-module/
```

### 3.3 配置调整(可选)
Expand Down Expand Up @@ -382,7 +382,7 @@ nginx的日志文件在 `/var/log/nginx/access.log` 和`/var/log/nginx/error.log
### 4.4 登录管理台

浏览器登陆 `http://xx.xx.xx.xx:8188/#/login`
用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down Expand Up @@ -542,7 +542,7 @@ hdfs dfs -chown hadoop:hadoop /apps-data
### 8.3 登陆密码问题
linkis默认是使用静态用户和密码,静态用户即部署用户,静态密码会在执行部署是随机生成一个密码串,存储于
`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`(>=1.0.3版本)
### 8.4 版本兼容性问题
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sudo systemctl restart nginx

浏览器访问`http://linkis_ipaddr:linkis_port` 其中linkis_port为config.sh里面配置的端口,linkis_ipaddr为安装机器的IP

用户名/密码在`{LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
用户名/密码在`${LINKIS_HOME}/conf/linkis-mg-gateway.properties`中查看
```shell script
wds.linkis.admin.user= #用户
wds.linkis.admin.password= #密码
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ GET http://127.0.0.1:9001/api/rest_j/v1/filesystem/openFile?path=file:///Users/l
sh linkis-daemon.sh restart ps-publicservice
```

(如果不确定服务名称,在 {LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)
(如果不确定服务名称,在 ${LINKIS_HOME}/sbin/linkis-start-all.sh 内查询)

### 4.4 编译器配置远程调试

Expand Down
Loading

0 comments on commit 48a9020

Please sign in to comment.