1)a) Add the repositories fo file /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ bionic universe /etc/apt/sources.list deb http://minemeld-updates.panw.io/ubuntu trusty-minemeld main 1) $ sudo apt-get update 2) $ sudo apt-get upgrade # optional 3) $ sudo apt-get install -y gcc git python-minimal python2.7-dev libffi-dev libssl-dev make 4) $ wget https://bootstrap.pypa.io/get-pip.py 5) $ sudo -H python get-pip.py 6) $ sudo -H pip install ansible 7) $ git clone https://github.com/PaloAltoNetworks/minemeld-ansible.git 😎 $ cd minemeld-ansible 8)a) After setp 8), we modified configuration I copeid the files Ubuntu-16.04.yml to Ubuntu-18.04.yml in directory structure , these files didn't exist in setup. Current structure: ./roles/infrastructure/vars/Ubuntu-14.04.yml ./roles/infrastructure/vars/Ubuntu-16.04.yml ./roles/infrastructure/vars/Ubuntu-18.04.yml ./roles/minemeld/vars/Ubuntu-14.04.yml ./roles/minemeld/vars/Ubuntu-16.04.yml ./roles/minemeld/vars/Ubuntu-18.04.yml ./roles/minemeld/tasks/Ubuntu-18.04-post.yml ./roles/minemeld/tasks/Ubuntu-16.04-post.yml ./roles/minemeld/tasks/Ubuntu-14.04-post.yml 8)b) As indicated at the beginning of the README.MD installation manual, we have modified the local.yml file to be able to install the stable version instead of the "dev" development one. So that the local.yml file remains this way. ----------------------------------------- - name: minemeld playbook hosts: 127.0.0.1 connection: local become: true vars: # minemeld_version: develop file_permissions: 'u=rwX,g=rwX,o=rX' # uncomment the following to install stable minemeld_version: master group_permissions: 'u=rwX,g=rX,o=rX' # remove comment to set custom repositories # core_repo: " https://github.com/jtschichold/minemeld-core.git " # prototype_repo: " https://github.com/jtschichold/minemeld-node-prototypes.git " # webui_repo: " https://github.com/jtschichold/minemeld-webui.git " roles: - infrastructure - minemeld ------------------------------------------- 9) $ ansible-playbook -K -i 127.0.0.1, local.yml 10) $ usermod -a -G minemeld # add your user to minemeld group, useful for development
... View more