<?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: How to install the decompressed .gz file on AIX for a Splunk universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237650#M46157</link>
    <description>&lt;P&gt;&lt;A href="http://antmeetspenguin.blogspot.com/2014/01/aix-compression-with-tar-compress-gzip.html"&gt;Many&lt;/A&gt; &lt;A href="https://chenguangblog.wordpress.com/2011/06/16/tar-and-gzip-in-a-single-command-in-aix/"&gt;blogs&lt;/A&gt; seem to indicate that lacking the integrated options like tar has on linux, you just need to pipe the output of one command to the other. So (without an AIX system in front of me)... Assuming you downloaded splunkforwarder-6.3.1-f3e41e4b37b2-AIX-powerpc.tgz and it's on your system as /home/splunkforwarder.tgz: First become root with &lt;CODE&gt;sudo bash&lt;/CODE&gt; or &lt;CODE&gt;sudo -s&lt;/CODE&gt; or something like that. &lt;CODE&gt;cd /opt&lt;/CODE&gt; and then&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;gunzip -c /home/splunkforwarder.tgz | tar xvf -
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively, this one line might work, but you'd have to check me (lacking an AIX system to play with directly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cd /opt; gunzip -c /home/splunkforwarder.tgz | sudo tar xvf -
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Nov 2015 00:28:39 GMT</pubDate>
    <dc:creator>acharlieh</dc:creator>
    <dc:date>2015-11-18T00:28:39Z</dc:date>
    <item>
      <title>How to install the decompressed .gz file on AIX for a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237649#M46156</link>
      <description>&lt;P&gt;Well, this is technically a Unix question but still asked it here since it involves with Splunk.&lt;/P&gt;

&lt;P&gt;I already installed a forwarder on Linux and didn't have a problem with tar files, but I am having a hard time installing the forwarder for AIX. I don't know how to install the decompressed .gz file to the AIX OS unlike in Linux, you'll just have to type&lt;BR /&gt;
&lt;CODE&gt;sudo tar xvzf splunkforwarder.tar -C /opt/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;How about in AIX? I tried:&lt;BR /&gt;
&lt;CODE&gt;sudo tar xvf -C /opt/  /home/splunkforwarder.gz&lt;/CODE&gt; and it's not working. It's returning an error that directories are not located etc.. I already tried a variety of commands to run it.&lt;/P&gt;

&lt;P&gt;Tried &lt;CODE&gt;gzip -d splunkforwarder.gz&lt;/CODE&gt; and it's just decompressing it. Kindly show me the procedure please. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 13:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237649#M46156</guid>
      <dc:creator>lloydknight</dc:creator>
      <dc:date>2015-11-17T13:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to install the decompressed .gz file on AIX for a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237650#M46157</link>
      <description>&lt;P&gt;&lt;A href="http://antmeetspenguin.blogspot.com/2014/01/aix-compression-with-tar-compress-gzip.html"&gt;Many&lt;/A&gt; &lt;A href="https://chenguangblog.wordpress.com/2011/06/16/tar-and-gzip-in-a-single-command-in-aix/"&gt;blogs&lt;/A&gt; seem to indicate that lacking the integrated options like tar has on linux, you just need to pipe the output of one command to the other. So (without an AIX system in front of me)... Assuming you downloaded splunkforwarder-6.3.1-f3e41e4b37b2-AIX-powerpc.tgz and it's on your system as /home/splunkforwarder.tgz: First become root with &lt;CODE&gt;sudo bash&lt;/CODE&gt; or &lt;CODE&gt;sudo -s&lt;/CODE&gt; or something like that. &lt;CODE&gt;cd /opt&lt;/CODE&gt; and then&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;gunzip -c /home/splunkforwarder.tgz | tar xvf -
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively, this one line might work, but you'd have to check me (lacking an AIX system to play with directly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cd /opt; gunzip -c /home/splunkforwarder.tgz | sudo tar xvf -
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Nov 2015 00:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237650#M46157</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-11-18T00:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to install the decompressed .gz file on AIX for a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237651#M46158</link>
      <description>&lt;P&gt;I used &lt;CODE&gt;gzip -d /home/splunkforwarder.gz&lt;/CODE&gt; then &lt;CODE&gt;tar xvf splunkforwarder&lt;/CODE&gt;. that's it.  I'm having an error when using &lt;CODE&gt;|&lt;/CODE&gt;. thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:46:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-the-decompressed-gz-file-on-AIX-for-a-Splunk/m-p/237651#M46158</guid>
      <dc:creator>lloydknight</dc:creator>
      <dc:date>2015-11-24T08:46:15Z</dc:date>
    </item>
  </channel>
</rss>

