Wednesday, 5 August 2009

Squid command (Proxy)

Use tail command to display log files in real time as follows:
#tail -f /var/log/squid/access.log

Search log files
Use grep command as follows:
#grep 'string-to-search' /var/log/squid/access.log

Monday, 20 July 2009

Saturday, 18 July 2009

Tuesday, 14 July 2009

How to Backup Zenoss?

#zenbackup --save-mysql-access --file=/tmp/zenbackup.tgz

Monday, 13 July 2009

How do you send Ctrl+Alt+Delete to windows in VMWare Player?

press Ctrl + Alt + Insert

Saturday, 11 July 2009

How to Update MySQL to 5.1.36 on CentOS

#cd /etc/yum.repos.d/
#wget http://rpms.famillecollet.com/remi-enterprise.repo
#yum --enablerepo=remi update mysql
#rpm -q mysql

Sunday, 5 July 2009

How to install EHCP?

EHCP (Easy Hosting Control Panel) is Opensource Hosting Control Panel

#wget www.ehcp.net/download
#tar -zxvf ehcp_latest.tgz
#cd ehcp
#./install.sh

How to restore MySQL?

#mysql -u root -p database < db.sql

Tuesday, 23 June 2009

Google Search