MapTail platform to build real-time access to tools

Maptail few days to discuss this topic more, taking the time today to do a bit deployment environment combed for your reference. Online

Second, the installation
1, depending on python2.6 ~ 2.7 support version of the module, python has been 2.6 or 2.7 version skip this step
view plainprint?

tar -zxvf Python-2.7.3.tgz
cd Python-2.7.3
make; make install
cd / usr / bin
mv python python.bak
ln -s / usr / local / bin / python python

2, the installation nodeJS
view plainprint?

tar -zxvf node-v0.8.16.tar.gz
cd node-v0.8.16
make; make install

3, template installation maptail
npm install maptail -g
* Npm NodeJS module as an online management tool, the official custodian station default rate in the country is poor, we recommend using a third agent; recommended, use Methods: npm –registry “” install maptail -g

4. Enable maptail monitor
cd / var / log / httpd (with apache logs, for example, the system supports log formats along any IP address will automatically match the IP rules)
nohup tail -f access.log | / maptail -h -p 8080 &

# Boot from the start
echo “/ usr / bin / nohup / usr / bin / tail -f / var / log / httpd / access_log | / usr / local / bin / node / usr / local / bin / maptail -h -p 8080 & “>> /etc/rc.local
Open the browser to: http: // 8080 /