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?
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar -zxvf Python-2.7.3.tgz
cd Python-2.7.3
./configure
make; make install
cd / usr / bin
mv python python.bak
ln -s / usr / local / bin / python python
2, the installation nodeJS
view plainprint?
wget http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz
tar -zxvf node-v0.8.16.tar.gz
cd node-v0.8.16
./configure
make; make install
3, template installation maptail
npm install maptail -g
* Npm NodeJS module as an online management tool, the official custodian station https://registry.npmjs.org default rate in the country is poor, we recommend using a third agent; recommended http://registry.npmjs.vitecho.com, use Methods: npm –registry “http://registry.npmjs.vitecho.com” 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 192.168.1.5 -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 192.168.1.5 -p 8080 & “>> /etc/rc.local
Open the browser to: http: //192.168.1.5: 8080 /