<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux Splunk upgrade script in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60618#M3646</link>
    <description>&lt;P&gt;Any way to make this work with the wget through releases without having to update the script for each release?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2012 20:15:19 GMT</pubDate>
    <dc:creator>Smokex365</dc:creator>
    <dc:date>2012-12-17T20:15:19Z</dc:date>
    <item>
      <title>Linux Splunk upgrade script</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60616#M3644</link>
      <description>&lt;P&gt;The goal: A single script that can be run to:&lt;/P&gt;

&lt;P&gt;List item&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;download splunk using the wget links (or from a directory if that would be an issue)&lt;/LI&gt;
&lt;LI&gt;run the upgrade (the .deb file in my case)&lt;/LI&gt;
&lt;LI&gt;answer the terms&lt;/LI&gt;
&lt;LI&gt;and start splunk agian.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;List item&lt;/P&gt;

&lt;P&gt;I'm still very new to bash scripting so I have no clue even where to start. It would be nice to be able to just run this script and have everything done automatically. I could also see it being set as a scheduled task as long as some kind of check could be added to ensure it didn't spam the splunk servers and and download anything unless it's updated.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 04:17:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60616#M3644</guid>
      <dc:creator>Smokex365</dc:creator>
      <dc:date>2012-12-12T04:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Splunk upgrade script</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60617#M3645</link>
      <description>&lt;P&gt;not tested&lt;/P&gt;

&lt;PRE&gt;
#!/bin/bash
splunk_download="http://blah.vlah.blah.com/splunk_installer.deb"
splunk_installer="splunk_installer.deb"

wget $splunk_download
/opt/splunk/bin/splunk stop
dpkg -i $splunk_installer
/opt/splunk/bin/splunk start --accept-license
rm -rf $splunk_installer 
&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Dec 2012 15:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60617#M3645</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-12T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Splunk upgrade script</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60618#M3646</link>
      <description>&lt;P&gt;Any way to make this work with the wget through releases without having to update the script for each release?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 20:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60618#M3646</guid>
      <dc:creator>Smokex365</dc:creator>
      <dc:date>2012-12-17T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Splunk upgrade script</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60619#M3647</link>
      <description>&lt;P&gt;not that I am aware of, you still can create a local repository for your install bits&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 21:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60619#M3647</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-17T21:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Splunk upgrade script</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60620#M3648</link>
      <description>&lt;P&gt;Don't forget you'll have to restart splunk after an update due to the license agreement. So that script could probably make use of&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo service splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...and follow the instructions to move forward, unless there's something you can append to the dkpg line and do more?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 23:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-Splunk-upgrade-script/m-p/60620#M3648</guid>
      <dc:creator>Lsv</dc:creator>
      <dc:date>2013-11-22T23:03:51Z</dc:date>
    </item>
  </channel>
</rss>

