Tuesday, July 21, 2009

if i'm a water drop!

if i'm a water drop..
i'll swimm through the pipes..
go through the valves..
through the meter and through that non return valve..
squeezed through the shower nipple..
i'll jump on to your face..
drape and stop..
near your lip!

Sunday, July 19, 2009

apache bandwidth with cband

cband is a handy apache module. with this, you can fix many of your day to day bandwidth issues. specially it can limit and apply certain limits based on usage. it provides a cool little webpage to view the summary of what's going on with your apache vhosts once you set those cute little CBand directives in them

will explain a bit detail tomorrow! ;)

setting the hostname


hostname -a will show your current hostname

simply run..

# hostname <yourhostname>

it will set the hostname you specified for your session

hostname -f will display the fully qualified domain name

debian uses /etc/hostname to store the hostname, so if you want to make the hostname change permanent add it there.

make sure you add entries to /etc/hosts file to prevent any name resolution

#sysctl kernel.hostname=<yourhostname> will set the name you want

and the same way, just

#sysctl kernel.hostname

wil show you the current host name