1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > windows中squid更改默认安装路径配置说明

windows中squid更改默认安装路径配置说明

时间:2019-01-06 17:47:54

相关推荐

windows中squid更改默认安装路径配置说明

官网下载的windows版本,默认是要放c:\squid中,如果需要改默认路径的话,需要etc\squid.conf文件中至少增加如下配置

# Uncomment and adjust the following to add a disk cache directory. cache_dir ufs G:/apps/squid2/var/cache/squid 100 16 256 # Leave coredumps in the first cache dir coredump_dir G:/apps/squid2/var/cache/squid mime_table G:/apps/squid2/etc/mime.conf logformat squid %tl %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt logfile_daemon G:/apps/squid2/libexec/logfile-daemon.exe diskd_program G:/apps/squid2/libexec/diskd-daemon.exe unlinkd_program G:/apps/squid2/libexec/unlinkd.exe #pinger_program G:/apps/squid2/libexec/pinger.exe #cache_dns_program G:/apps/squid2/libexec/dnsserver.exe icon_directory G:/apps/squid2/share/icons error_directory G:/apps/squid2/share/errors/English cache_log G:/apps/squid2/var/logs/cache.log cache_store_log G:/apps/squid2/var/logs/store.log access_log G:/apps/squid2/var/logs/access.log squid 首次运行的时候需要手工创建cache目录 mkdirG:\apps\squid2\var\cache\squid 执行 squid.exe -fG:/apps/squid2/etc/squid.conf -z 然后执行squid.exe -fG:/apps/squid2/etc/squid.conf -i 安装windows服务,安装的时候需要使用管理员命令行窗口,否则无法安装 然后就可以使用net start squid来启动了

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。