<?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: Splunk Installation during Linux OS Install/Upgrade in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391610#M8518</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Is it possible to install the Splunk Enterprise as a part of Linux (RHEL, Ubuntu...) package.&lt;BR /&gt;
Yes. You can make splunk installation part of your build or adhoc script (&lt;A href="https://answers.splunk.com/answers/100989/forwarder-installation-script.html"&gt;sample&lt;/A&gt;) installation. &lt;BR /&gt;
Are you looking for Splunk Enterprise or Splunk Universal forwarder as Enteprise may be required only for handful of servers? &lt;/P&gt;

&lt;P&gt;If yes, do you have any script available for this?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;There are quite lot of scripts available. But my advice is to use &lt;CODE&gt;puppet&lt;/CODE&gt; or &lt;CODE&gt;ansible&lt;/CODE&gt; in your environment to do this rather than adhoc scripts.  In enterprise level, it is better to create &lt;CODE&gt;splunk&lt;/CODE&gt; user and group before installing splunk, so that you can control the UID's to filter them for various tools and control them centrally. If you install Splunk rpm directly, it will create local splunk user and group.&lt;BR /&gt;
But if you really want to do handcrafted scripts, then the main logic should involve . &lt;BR /&gt;
- installing rpm . (rpm -Uvh)&lt;BR /&gt;
- Enable boot start using splunk user&lt;BR /&gt;
- DO NOT start splunk without your configuration files &amp;amp; SSL certs/keys/password hash etc.  You can put all these configurations as built in package and copy it before you start splunk&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 08:41:54 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2019-05-27T08:41:54Z</dc:date>
    <item>
      <title>Splunk Installation during Linux OS Install/Upgrade</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391609#M8517</link>
      <description>&lt;P&gt;Hi All, Need a quick help on the below information:&lt;/P&gt;

&lt;P&gt;Is it possible to install the Splunk Enterprise as a part of Linux (RHEL, Ubuntu...) package.&lt;BR /&gt;
i.e. during the Linux OS installation/upgrade package I would like to include the steps (script) so that Splunk Enterprise also gets installed along with the OS install/upgrade.&lt;BR /&gt;
If yes, do you have any script available for this?&lt;/P&gt;

&lt;P&gt;regards,&lt;BR /&gt;
Santosh&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 06:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391609#M8517</guid>
      <dc:creator>santosh_hb</dc:creator>
      <dc:date>2019-05-27T06:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Installation during Linux OS Install/Upgrade</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391610#M8518</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Is it possible to install the Splunk Enterprise as a part of Linux (RHEL, Ubuntu...) package.&lt;BR /&gt;
Yes. You can make splunk installation part of your build or adhoc script (&lt;A href="https://answers.splunk.com/answers/100989/forwarder-installation-script.html"&gt;sample&lt;/A&gt;) installation. &lt;BR /&gt;
Are you looking for Splunk Enterprise or Splunk Universal forwarder as Enteprise may be required only for handful of servers? &lt;/P&gt;

&lt;P&gt;If yes, do you have any script available for this?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;There are quite lot of scripts available. But my advice is to use &lt;CODE&gt;puppet&lt;/CODE&gt; or &lt;CODE&gt;ansible&lt;/CODE&gt; in your environment to do this rather than adhoc scripts.  In enterprise level, it is better to create &lt;CODE&gt;splunk&lt;/CODE&gt; user and group before installing splunk, so that you can control the UID's to filter them for various tools and control them centrally. If you install Splunk rpm directly, it will create local splunk user and group.&lt;BR /&gt;
But if you really want to do handcrafted scripts, then the main logic should involve . &lt;BR /&gt;
- installing rpm . (rpm -Uvh)&lt;BR /&gt;
- Enable boot start using splunk user&lt;BR /&gt;
- DO NOT start splunk without your configuration files &amp;amp; SSL certs/keys/password hash etc.  You can put all these configurations as built in package and copy it before you start splunk&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391610#M8518</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-27T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Installation during Linux OS Install/Upgrade</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391611#M8519</link>
      <description>&lt;P&gt;Hi @santosh_hb,&lt;/P&gt;

&lt;P&gt;For your first question, yes Splunk exists as an rpm package for linux distros. It can be found here : &lt;BR /&gt;
&lt;A href="https://www.splunk.com/en_us/download/sem.html"&gt;https://www.splunk.com/en_us/download/sem.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;An example of an installation script can be found here, this is for UF, you can use something similar for Splunk enterprise : &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/100989/forwarder-installation-script.html"&gt;https://answers.splunk.com/answers/100989/forwarder-installation-script.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Feels free to post your install script here once you're done and we can help you review it.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391611#M8519</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-27T08:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Installation during Linux OS Install/Upgrade</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391612#M8520</link>
      <description>&lt;P&gt;Thanks David, for the details.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 06:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391612#M8520</guid>
      <dc:creator>santosh_hb</dc:creator>
      <dc:date>2019-05-28T06:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Installation during Linux OS Install/Upgrade</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391613#M8521</link>
      <description>&lt;P&gt;you're welcome @santosh_hb  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Please upvote/accept if it was helpful !&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 06:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Installation-during-Linux-OS-Install-Upgrade/m-p/391613#M8521</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-28T06:40:03Z</dc:date>
    </item>
  </channel>
</rss>

