Home > Support > HOWTO List > Quicklook

About Quicklook

From the Quicklook website

Quick Look is a package to collect system statistics and output pretty graphics and (X)HTML pages. It allows system administrators to have a quick look on the status of their systems, without going for a more advanced (and heavier) solution.

Quick Look currently shows...

To get started, cd to your home folder eg: run "cd ~" without the quotes. Paste the following snippets in order on the console

Enable rpmforge package repository and install supporting packages

wget -c http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
apt-get update
apt-get install rrdtool python-rrdtool python-cheetah

Get the latest version of Quicklook from {link:Google Code:http://code.google.com/p/quicklook/downloads/list}. We recomend you install that into /usr/local/quicklook

curl http://quicklook.googlecode.com/files/quicklook-$VERSION.tar.gz > quicklook-$VERSION.tar.gz
tar -zxvf quicklook-$VERSION.tar.gz
cd quicklook-$VERSION
make DESTDIR=/usr/local/quicklook install
cp extras/quicklook.cron /etc/cron.d/quicklook

By default quicklook sets up data files in /var/www/quicklook. To view your stats via apache, you can do something like the following. after restarting apache you should see it at http://'yourip'/quicklook

cd /var/www/html
ln -s ../quicklook

Or you can put the following in any of your favourite site configurations to view the data at http://'yourdomain'/quicklook

Alias /quicklook /var/www/quicklook

It is also recommended that you secure your quicklook site, for more info visit http://httpd.apache.org/docs/2.2/howto/htaccess.html

Installing Cheetah

During installation, quicklook will sometimes complain about not finding cheetah. You can install it using the following commands:

wget http://jaist.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
tar xvzf Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py install