<?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 need steps to install minemeld on redhat in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/236821#M98395</link>
    <description>&lt;P&gt;need steps to install minemeld on redhat&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 10:31:28 GMT</pubDate>
    <dc:creator>LCMember3226</dc:creator>
    <dc:date>2018-10-24T10:31:28Z</dc:date>
    <item>
      <title>need steps to install minemeld on redhat</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/236821#M98395</link>
      <description>&lt;P&gt;need steps to install minemeld on redhat&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:31:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/236821#M98395</guid>
      <dc:creator>LCMember3226</dc:creator>
      <dc:date>2018-10-24T10:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: need steps to install minemeld on redhat</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/237251#M98396</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/18686"&gt;@LCMember3226&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;option A: Use the &lt;A href="https://github.com/PaloAltoNetworks/minemeld-ansible" target="_self"&gt;Ansible Playbook&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;option B: Add Docker support to your RedHat system and deploy the &lt;A href="https://hub.docker.com/r/jtschichold/minemeld/" target="_self"&gt;jtschichold/minemed image in DockerHub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 08:30:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/237251#M98396</guid>
      <dc:creator>xhoms</dc:creator>
      <dc:date>2018-10-26T08:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: need steps to install minemeld on redhat</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/237733#M98397</link>
      <description>&lt;P&gt;Installation on RHEL7 worked (for me) with the following steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Installation of required packages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sudo yum install wget git gcc python-devel libffi-devel openssl-devel&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install and setup pip and ansible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;wget &lt;A href="https://bootstrap.pypa.io/get-pip.py" target="_blank"&gt;https://bootstrap.pypa.io/get-pip.py&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sudo -H python get-pip.py&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sudo -H pip install ansible&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download application code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo git clone &lt;A href="https://github.com/PaloAltoNetworks/minemeld-ansible.git" target="_blank"&gt;https://github.com/PaloAltoNetworks/minemeld-ansible.git&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Downgrade pip to prevent an installation issue with Frigidaire (part of minemeld)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo -H /opt/minemeld/engine/current/bin/pip install -U "pip&amp;lt;10.0"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adjust ansible role to reflect environment (e.g. selinux was not active on this machine, so the ansible role failed with the first try)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo vim ./roles/minemeld/tasks/RedHat-7-post.yml&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncomment selinux policy deployment and selinux policies (if required)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#- name: enable nginx connections to upstream&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp; command: setsebool -P httpd_can_network_connect 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#- name: copy collectd selinux policy file&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp; copy:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; src: mmcollectd.pp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; dest: /tmp/mmcollectd.pp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; owner: root&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; group: root&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: 0600&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#- name: load selinux collectd policy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp; command: semodule -i /tmp/mmcollectd.pp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the local ansible services installation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo ansible-playbook -K -i 127.0.0.1, local.yml&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Installation should complete without errors (if there is an error, ansible logs give you a good indication what went wronf)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;127.0.0.1 : ok=78&amp;nbsp;&amp;nbsp; changed=29&amp;nbsp;&amp;nbsp; unreachable=0&amp;nbsp;&amp;nbsp;&amp;nbsp; failed=0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add users to minemeld group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo usermod -a -G minemeld root&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo usermod -a -G minemeld &amp;lt;you user&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check service status:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# sudo -u minemeld /opt/minemeld/engine/current/bin/supervisorctl -c /opt/minemeld/supervisor/config/supervisord.conf status&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4 Services should run (if not, check the logs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;minemeld-engine&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUNNING&amp;nbsp;&amp;nbsp; pid 26418, uptime 0:43:26&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;minemeld-supervisord-listener&amp;nbsp;&amp;nbsp;&amp;nbsp; RUNNING&amp;nbsp;&amp;nbsp; pid 26417, uptime 0:43:26&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;minemeld-traced&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUNNING&amp;nbsp;&amp;nbsp; pid 26419, uptime 0:43:26&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;minemeld-web&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RUNNING&amp;nbsp;&amp;nbsp; pid 26420, uptime 0:43:26&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ensure the Web Interface is up and running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Login as user admin an change the default password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; After this is complete, in case you want to use Client-Cert protected feeds; You need to update minmelds gevent (as it ssems to have an issue on rhel 7)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this, stop minemeld, install and upgrade python gevent, replace minemelds gevent, start minemeld services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo systemctl stop minemeld&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo pip install --upgrade gevent&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace &lt;FONT face="courier new,courier"&gt;/opt/minemeld/engine/current/lib/python2.7/site-packages/gevent&lt;/FONT&gt; with &lt;FONT face="courier new,courier"&gt;/usr/lib64/python2.7/site-packages/gevent&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#sudo systemctl start minemeld&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the installation, i suggest you move the logs to /var/log; implement logorotate, harden NGINX and the local services added by the minemeld installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Mining.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:14:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/need-steps-to-install-minemeld-on-redhat/m-p/237733#M98397</guid>
      <dc:creator>lukasj</dc:creator>
      <dc:date>2018-10-30T06:14:12Z</dc:date>
    </item>
  </channel>
</rss>

