Installation Of A Single Service
tar -xvzf wedatasphere-linkis-0.11.0-dist.tar.gz
cd wedatasphere-linkis-0.11.0-dist
## 2. Select the corresponding service installation package and go to the corresponding installation directory: $SERVER_HOME
cp wedatasphere-linkis-0.11.0-dist/share/linkis/linkis-publicservice/linkis-publicservice.zip $SERVER_HOME
## 3. Copy the installation package to the corresponding installation directory. For example: publicservice needs to copy linkis-publicservice.zip
## Decompress the corresponding service
unzip $SERVERNAME.zip
## 4. The module package is a public package, except for gateway and Eureka, everything else needs to be copied.
cp ${workDir}/share/linkis/module/module.zip $SERVER_HOME
## 6. Copy the corresponding installation package
cp module/lib/* $SERVER_HOME/$SERVERNAME/lib/
2 Modify configuration
After the package is ready, it is to modify the configuration, the configuration mainly modify application.yml and linkis.properties, the configuration is under the conf directory
2.2 Modify linkis.properties
wds.linkis.ldap.proxy.url=$LDAP_URL #LDAP address, login required
wds.linkis.ldap.proxy.baseDN=$LDAP_BASEDN
wds.linkis.gateway.admin.user=$deployUser #Deployment user, as the administrator user
##Database connection information
wds.linkis.server.mybatis.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DB}?characterEncoding=UTF-8
wds.linkis.server.mybatis.datasource.username=$MYSQL_USER
wds.linkis.server.mybatis.datasource.password=$MYSQL_PASSWORD
wds.linkis.workspace.filesystem.hdfsuserrootpath.prefix=$HDFS_USER_ROOT_PATH ##HDFS user root directory
##Database connection information
wds.linkis.server.mybatis.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DB}?characterEncoding=UTF-8
wds.linkis.server.mybatis.datasource.username=$MYSQL_USER
wds.linkis.server.mybatis.datasource.password=$MYSQL_PASSWORD
wds.linkis.entrance.config.logPath=$WORKSPACE_USER_ROOT_PATH
wds.linkis.resultSet.store.path=$HDFS_USER_ROOT_PATH
- Additional parameters added by SparkEngineManager
## Configure engine jar
wds.linkis.enginemanager.core.jar=$SERVER_HOME/$SERVERNAME/lib/linkis-ujes-spark-engine-version.jar
wds.linkis.spark.driver.conf.mainjar=$SERVER_HOME/$SERVERNAME/conf:$SERVER_HOME/$SERVERNAME/lib/*