HTTP /S Traffic monitoring on linux

Hi All

i have been trying from past few days to install mitmproxy on my linux machine (ubuntu 14.04) but i couldn’t get it working, did anyone got it working with detailed steps on how to install and see it working

our idea is to monitor all http and https traffic on the machine