Github user 2xyo commented on the issue: https://github.com/apache/incubator-metron/pull/220 here is my setup: # Metron full dev platform (Windows - 21/08/2016) Two Virtualbox (5.1.41) VM - Client : - Ubuntu (from ubuntu-16.04.1-desktop-amd64.iso) - Disk : 40 GB - RAM : 4 GB - vCPU : 2 - Hostname : yoyo-vm - Metron : - Centos (from CentOS-6.7-x86_64-minimal.iso) - Disk : 200 GB - RAM : 16 GB - vCPU : 4 - Hostname : node1 ## Metron Update/upgrade ``` # yum update && reboot # yum install lsof vim # ip addr # grab the ip ``` ## Client Update/upgrade ``` $ sudo apt update && sudo apt upgrade && sudo apt install vim && sudo reboot ``` Install basic dependencies for ansible ``` $ wget https://bootstrap.pypa.io/get-pip.py && sudo -H python get-pip.py $ sudo apt install python-dev libssl-dev $ sudo -H pip install --upgrade ansible ``` Setup connection: ``` $ ssh-keygen -t rsa -b 4096 $ echo "192.168.1.13 node1" | sudo tee -a /etc/hosts >/dev/null ``` Check connection: ``` $ ping node1 $ ssh root@node1 ``` Upload ssh key and check that password is not needed anymore ``` $ ssh-copy-id root@node1 $ ssh root@node1 ``` Setup dev environment: ``` $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt update $ sudo apt install oracle-java8-installer git oracle-java8-set-default maven $ . /etc/profile.d/jdk.sh $ env |grep JAVA $ cd && git clone https://github.com/apache/incubator-metron.git $ cd incubator-metron && git rev-parse HEAD 225a490cf4a475e728bf9129ea3e662b543f5cc4 ``` Build metron ``` $ mvn clean package -DskipTests ``` Setup Ansible connection: ``` $ cd ~/incubator-metron/metron-deployment $ sed -i '/\[defaults\]/a remote_user = root' vagrant/full-dev-platform/ansible.cfg $ sed -i 's/eth1/eth0/g' inventory/full-dev-platform/group_vars/all $ cd ~/incubator-metron/metron-deployment/vagrant/full-dev-platform $ ansible -i inventory/full-dev-platform/hosts all -m ping ``` Fix some stuff : - Support of ansible 2.1 : https://github.com/apache/incubator-metron/pull/219 - Permissions https://github.com/apache/incubator-metron/pull/220 - Elasticsearch https://github.com/apache/incubator-metron/pull/221 Install everything: ``` $ cd ~/incubator-metron/metron-deployment/vagrant/full-dev-platform $ ansible-playbook -i ../../inventory/full-dev-platform/hosts ../../playbooks/metron_full_install.yml ... TASK [deployment-report : debug] *********************************************** ok: [node1] => { "Success": [ "Apache Metron deployed successfully", " Metron @ http://node1:5000", " Ambari @ http://node1:8080", " Sensor Status @ http://node1:2812", " Topology Status @ http://node1:2812", " Zookeeper @ node1:2181", " Kafka @ node1:6667", "For additional information, see https://metron.incubator.apache.org/'" ] } PLAY RECAP ********************************************************************* node1 : ok=307 changed=147 unreachable=0 failed=0 ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---