适用产品...
Data Fabric
Data Services Platform
ESB
MDM Platform
Real-Time Big Data Platform
安装 Apache Karaf Service Wrapper 以生成 Talend Runtime 服务文件。
步骤
- 浏览到 Talend Runtime 安装目录的 bin 文目录,然后通过以 root 用户身份执行 trun 文件来启动该容器。
-
要安装包装器功能,请键入:
karaf@trun> feature:install wrapper
一经安装,包装器功能就会在trun
中提供wrapper:install
新命令,此命令允许您将 Talend Runtime 安装为服务。 -
要安装该服务,请键入以下命令:
karaf@trun> wrapper:install
或者,要将该容器注册为自动启动模式的服务,只需键入:karaf@trun> wrapper:install -s AUTO_START -n TALEND-CONTAINER -d Talend-Container -D "Talend Container Service"
其中TALEND-CONTAINER
是服务名称,Talend-Container
是服务的显示名称,"Talend Container Service (Talend 容器服务)"
是服务的描述。下面是在 Linux 上执行的wrapper:install
命令的示例:karaf@trun()> feature:install wrapper karaf@trun()> wrapper:install -s AUTO_START -n TALEND-CONTAINER \ -d Talend-Container -D "Talend Container Service" Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER-wrapper Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER-service Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER.service Creating file: <TalendRuntimePath>/etc/TALEND-CONTAINER-wrapper.conf Creating file: <TalendRuntimePath>/lib/libwrapper.so Creating file: <TalendRuntimePath>/lib/karaf-wrapper.jar Creating file: <TalendRuntimePath>/lib/karaf-wrapper-main.jar Setup complete. You may want to tweak the JVM properties in the wrapper configuration file: <TalendRuntimePath>/etc/TALEND-CONTAINER-wrapper.conf before installing and starting the service.
结果
Talend Runtime 服务文件已生成。您可以安装 Talend Runtime 服务了。