{"id":1864,"date":"2019-06-19T18:13:41","date_gmt":"2019-06-19T12:43:41","guid":{"rendered":"http:\/\/blog.tenthplanet.in\/?p=1864"},"modified":"2026-03-03T10:14:14","modified_gmt":"2026-03-03T10:14:14","slug":"steps-to-setup-pentaho-to-start-on-boot","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/blogs\/steps-to-setup-pentaho-to-start-on-boot\/","title":{"rendered":"Steps to setup Pentaho+ to start on boot"},"content":{"rendered":"<p>Below are the steps to start Pentaho+ BA Server during system boot<\/p>\n<p><strong>Step1:<\/strong> Create a&#8221;.sh&#8221; file in any location {example:vi pentaho_autostart.sh}<\/p>\n<p><strong>Step2:<\/strong> Open &#8220;.sh&#8221; file and insert the below command, &#8216;<strong>path to<\/strong>&#8216; in below command refers to the Pentaho+ directory path<\/p>\n<pre>su - username -c \"path to .\/ctlscript.sh start postgresql\"\npath to .\/ctlscript.sh start<\/pre>\n<p>example:-<\/p>\n<p>to start postgresql insert<\/p>\n<pre>{su - dev020 -c \"\/home\/dev020\/Pentaho\/.\/ctlscript.sh start postgresql\"}<\/pre>\n<p>to start pentaho server insert<\/p>\n<pre>{\/home\/dev020\/Pentaho\/.\/ctlscript.sh<\/pre>\n<p><strong>Step3:<\/strong> After the above commands are inserted save the&#8221;.sh&#8221;file and give executive permission.<\/p>\n<p><strong>Step4:<\/strong> Create a cron job by entering crontab -e in the terminal, which will open a new editor window, then insert<\/p>\n<p>&#8220;@reboot sh path to pentaho_autostart.sh&#8221; in the editor and save it.<\/p>\n<p>path to in above command refers to the path where the .sh(pentaho_autostart.sh) file was created<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre>{@reboot sh \/home\/dev020\/pentaho_autostart.sh}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Steps to setup Pentaho to start on boot<\/p>\n","protected":false},"author":23,"featured_media":1876,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[424],"tags":[543,499,544],"class_list":["post-1864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pentaho","tag-auto-start-pentaho","tag-pentaho","tag-pentaho-ba-server"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/comments?post=1864"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media\/1876"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media?parent=1864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/categories?post=1864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/tags?post=1864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}