Squid in Windows change the default installation path configuration instructions

Source: Internet
Author: User

The official website downloads the version of Windows, the default is to put C:\squid, if you need to change the default path, you need to add at least the following configuration in etc\squid.conf file

 # uncomment and adjust the following to add a disk cache Directory.cache_dir UFS G:/apps/squid2/var/cache/squid 100 256 # Leave Coredumps in the first cache Dircoredump_dir g:/apps/squid2/var/cache/squidmime_table G:/apps/squid2 /etc/mime.conf logformat Squid%tl%ts.%0 3tu%6tr%>a%ss/%03hs%<st%rm%ru%un%sh/%<a%mt  logfile_daemon g:/apps/squid2/libexec/ Logfile-daemon.exediskd_program G:/apps/squid2/libexec/diskd-daemon.exeunlinkd_program G:/apps/squid2/libexec/ Unlinkd.exe#pinger_program G:/apps/squid2/libexec/pinger.exe#cache_dns_program G:/apps/squid2/libexec/ Dnsserver.exeicon_directory g:/apps/squid2/share/iconserror_directory g:/apps/squid2/share/errors/englishcache_ Log G:/apps/squid2/var/logs/cache.logcache_store_log G:/apps/squid2/var/logs/store.logaccess_log G:/apps/squid2/ Var/logs/access.log squid  need to manually create the cache directory Mkdir g:\apps\squid2\var\cache\squid execute squid.exe-f  when first running G:/apps/squid2/etc/squid.conf-z then executes squid.exe-f g:/apps/squid2/etc/squid.conf-i installs Windows service, you need to use the Administrator command Line window when installing, otherwise cannot install then can use net start squid to start

Squid in Windows change the default installation path configuration description

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.