Thursday, September 10, 2009

HowTo Run Squid Proxy Server in Windows XP

Some of My Friend asked How they can run the world famous Linux Proxy server Squid in Windows XP.

It is better to use Linux for this purpose. , You can make an experiment in your windows and switch to Linux.

installing squid on windows

Download squid for windows from :

http://squid.acmeconsulting.it/download/squid-2.6.STABLE18-bin.zip

Full Installation Instructions are in the documentation.

Change the c:\squid\etc\squid.conf from the default :

acl home src 192.168.0.0/255.255.255.0 # (change it for your subnet)

http_access allow home

cache_dir aufs c:/squid/var/cache 1000 16 256

dns_nameservers 208.67.220.220

run the following commands :

mkdir c:\squid\var\cache

c:\squid\sbin\squid -z

Done,
Now your squid is ready.

squid

Wednesday, September 9, 2009

Howto Create A RAMDISK in Ubuntu / debian Linux

Some times we need to create Ramdisk for temporary use. Very easily you can make a ramdisk. it is lightning fast, because it is in RAM.

Open a Terminal


$ sudo mkdir /mnt/ramdisk

$ sudo mount -t tmpfs none /mnt/ramdisk

Sunday, September 6, 2009

Howto recover gnome-panel (disappeared Application Menu, Places Menu and System Menu ) in ubuntu / debian Linux

Reseting Gnome Settings

If your gnome-panel corrupt , Application Menu, Places Menu and System Menu and some other menu items will disappear.
How to recover it

Boot the system upto Login Window. Press Ctrl + Alt+F1

Now You will get a Text based login screen

login with your username and password

now you will get a $ prompt.

Type the following Command

$ rm -rf .gnome .gnome2 .gconf .gconfd

Now Press Ctrl + Alt+F7

and login Gnome. Every thing appear in the menu bar.