更新时间:2024-04-25 GMT+08:00
分享

DSP DataRelease

安装到Tomcat

安装与配置

  1. 创建“DSPDataRelease”目录。
  2. 解压安装包到 “DSPDataRelease”目录中。

    • Linux

      #tar -xvf Primeton_DSP_7.0_DataRelease_Linux_64.tar -C DSPDataRelease

    • Windows

      用解压工具将 “Primeton_DSP_7.0_DataRelease_Windows_64.zip” 解压至 “DSPDataRelease” 目录

  3. 将数据库驱动包复制到“DSPDataRelease\apache-tomcat-8.5.51\webapps/datarelease/WEB-INF/lib”目录下。
  4. 在“DSPDataRelease/apache-tomcat-8.5.51/webapps/datarelease/WEB-INF/classes/application.yml”文件,修改数据库相关配置。

    (……)
    datasource:
    url: jdbc:mysql://127.0.0.1:3306/dsp
    driverClassName: com.mysql.jdbc.Driver
    username: root
    password: 123456
    (……)

  5. 如果datarelease和governor或scheduler在同一台服务器上,则需要修改DSPDataRelease/apache-tomcat-8.5.51/conf/server.xml中的端口号。

    <Server port="8005" shutdown="SHUTDOWN">

    (……)

    <Connector port="8080" protocol="HTTP/1.1"

    connectionTimeout="20000"

    redirectPort="8443" />

    //0~65535

    //0~65535

    (……)

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> //0~65535

验证

在“DSPDataRelease”目录下,执行如下命令,启动DSP DataRelease。

  • Linux

    #chmod -R +x

    #nohup ./startup.sh &

  • Windows

    >startup.cmd

启动完成后,如下图所示。

图1 启动DSP DataRelease

卸载

  1. 在“DSPDataRelease”目录下,执行如下命令,停止DSP DataRelease。

    • Linux

      #./shutdown.sh

    • Windows

      >shutdown.cmd

  2. 停止服务后,直接删除“DSP DataRelease”目录来卸载。
分享:

    相关文档

    相关产品