在 RedHat/CentOS 7 系统上安装 - 7.1

Talend Data Integration 安装与升级指南 (Linux)

EnrichVersion
7.1
EnrichProdName
Talend Data Integration
task
数据治理
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio

开始之前

以下所有命令都必须使用超级用户权限来执行。

过程

  1. 使用以下命令创建服务文件:
    touch /etc/systemd/system/tomcat.service
  2. 向您创建的文件分配相关权限:
    chmod 664 /etc/systemd/system/tomcat.service
  3. 在该文件中粘贴以下内容并根据您的配置进行调整:
    [Unit]
    Description=Apache Tomcat Web Application Container
    After=syslog.target network.target
    
    [Service]
    Type=forking
    
    Environment=JAVA_HOME=/usr/lib/jvm/jre
    Environment=CATALINA_PID=/opt/tomcat/temp/tomcat.pid
    Environment=CATALINA_HOME=/opt/tomcat
    Environment=CATALINA_BASE=/opt/tomcat
    Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'
    Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom'
    
    ExecStart=/opt/tomcat/bin/startup.sh
    ExecStop=/bin/kill -15 $MAINPID
    
    [Install]
    WantedBy=multi-user.target
  4. 重新加载服务守护程序:
    systemctl daemon-reload
  5. 启动该服务:
    systemctl start tomcat.service