Welcome to YLOAN.COM
HOME
MARKETS
TRADE
SOLUTIONS
TECH
CONTACT
yloan.com
»
Build-Muscle
» How to create cache in Squid 2.7 Easiest way
Health
Medical
Acne
Aerobics-Cardio
Alternative
Anti-Aging
Build-Muscle
Chronic-Illness
Dental-Care
Depression
Diabetes
Disability
Exercise
Eye-Care
Fitness-Equipment
Hair-Loss
Medicine
Meditation
Nutrition
Obesity
Polution
Quit-Smoking
Sidha
Supplements
Yeast Infection
H1N1 Swine Flu
SARS
herpes
therapy
panic
surgeon
hurts
teeth
remedies
eliminate
chiropractic
arthritis
ingredients
syndrome
binding
anxiety
surgery
medication
psychic
dental
reflux
doctor
relief
premature
emotional
stress
disorder
implants
wrinkles
vision
infection
aging
liposuction
seattle
stunning
sweating
hair
treatment
tinnitus
How to create cache in Squid 2.7 Easiest way
How to create cache in Squid 2.7 Easiest way
How to create cache in Squid 2.7 Easiest way
In this tutorial you learn how to create cache in squid and using squid as transparent proxy
Most operating system distributions provide packages in the formats appropriate for direct install on those systems.
Installation of Squid
For DEBIAN apt-get install squid
For Fedora yum install squid
For FreeBSD pkg_add -r squid
For Gentoo emerge squid
For Mandrivia urpmi squid
RedHat Enterprise Linux (RHEL) http://people.redhat.com/jskala/squid/squid-2.7.STABLE9-1.el4
Command rpm ivh squid-2.7.STABLE9-1.el4
For Solaris pkg-get -i squid
For Ubuntu apt-get install squid
For SUSE11 yum install squid
Define Access log
vi /etc/squid/squid.conf
search this line "TAG: access_log"
and define access_log location will be generated by Squid
Change squid Port and Squid Transparent
Search this line TAG: http_port under Network Setting
it is recommend to change port 3128 to xxxx & Define your own setting
example: http_port 192.168.1.1:3128 transparent
Create Cache Squid 2.7
Search cache_mem under Memory cache option
by default #cache_mem=8 MB
but this option vary your RAM size (increse ram and max cache_mem)
i suggest use 1/2 for your memory 1bg ram then use 512 MB
See next TAG: maximum_object_size_in_memory
change this to maximum_object_size_in_memory 5000 KB
and last define cache directory where squid create cache
by default location is cache_dir ufs /var/cache/squid 100 16 256
change this setting to cache_dir ufs /var/cache/squid 2000 16 256
minimum_object_size 10 KB
maximum_object_size 14096 KB
and you done for verfy check squid cache log and access log
Note: if your facing cache Problem harddive full
First Stop Squid 2.7
/etc/init.d/squid stop
goto cd /var/cache/squid/
then run this rm -rf * & squid -z
If you find usefull info In this article plz visit http://www.amenext.com
POST COMMENT
Have Fun With Stay Over Glossy And Dazzling Beaches Of Bangkok!!!
Plant Tissue Culture
Fountain Valley Chiropractor Helps People Suffering With Headache Pain
Los Gatos Chiropractic Headache Care
Stomach Pain Natural Remedies - Effective Stomachache Treatment
Live Lean For Life Teaches Us How To Lose Weight Fast And Effective For Free!
Expert Key To Reaching $400,000 Settlement With Defendant Who Denied Responsibility For Accident
How Galveston Plans On Restoring Sand To Its Beaches
Leadership Coaching - Preparing Employees For The Future
Coaching For Coaches - I'm Afraid I'll Get Ripped Off!
Managing A Property Minus The Headaches
A Coaching Dilemma: How To Discover What Your Coaching Client Really Needs
A Review of The Art of Approaching
print
www.yloan.com
guest:
register
|
login
|
search
IP(18.188.119.49) Paraiba / Alagoa Nova Processed in 0.008070 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 80 , 2259, 197,
How to create cache in Squid 2.7 Easiest way Alagoa Nova