Category: Miscellaneous

Block Sites by IP

Block Sites by IP

Open httpd.conf and set AllowOverride All restart apache web server and create a .htaccess file on the directory you want to block by ip : order deny,allow allow from x.y.z.a deny from all

Sudo Tips and Tricks

Sudo Tips and Tricks

In many cases, if you are writing shell scripts to do certain tasks, you might need to grant access to the user to some commands without requiring interaction. In that case you might want...

Cloning disk image in Vmware Server via Command

Cloning disk image in Vmware Server via Command

You can clone images in vmware server via command line as : vmkfstools -i source.vmdk destination.vmdk

Change login background in windows 7

Change login background in windows 7

You can change the login background in windows 7 without any hacks or software. Go to : C:\windows\system32\oobe Create a new folder called Info C:\windows\system32\obe\Info Now create  a folder called backgrounds. C:\windows\system32\obe\Info\backgrounds Put the...