Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to deploy Job of kettle under Linux

Shulou Source: shulou.com Published: 2022-06-01 16:45:50 10月03日 Update

This article mainly introduces "how to deploy Job of kettle under Linux". In daily operation, I believe many people have doubts about how to deploy Job of kettle under Linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubt of "how to deploy Job of kettle under Linux". Next, please follow the editor to study!

I won't go into details about how to create job with kettle and how to deploy kettle to linux. Everyone should. Let's focus on how to make job execute. First, upload the created script to the directory specified by kettle, and create a script file that calls job execution.

Export JAVA_HOME=/usr/java/jre1.6.0_23export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar/opt/pentaho/data-integration/kitchen.sh-file=/opt/pentaho/KettleJob/test.kjb

And then empower

Chmod + x / opt/pentaho/KettleJob/test.sh

Execution

. / opt/pentaho/KettleJob/test.sh

During the execution process, the console will output specific information. Finally, we add scheduled tasks by using the crontab command, not to mention the details.

At this point, the study on "how to deploy the Job of kettle under Linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Learning more scripts help utility next tasks information commands consoles files articles methods theories directories knowledge articles websites materials empowerment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft Huawei Docker macOS