Fish in the river

思考 技术
记录 回忆
  1. Main page
  2. 运维技术
  3. Windows
  4. Main content

squid on the windows

2025年8月8日 28hotness 0likes 0comments

Squid is a very popular proxy server.

It is usually running on the Linux.

But sometimes we will install it on the Windows because this method is easy and quickly.

After install it on the windows.

I want to set the cache.

Squid have two type cache. Memory cache and Disk cache.

Next is demo how to set disk cache on the windows.

1. Right-click the squid icon in the windows tray .

2.Select the "Open Squid Configuration" Menu

3.In the opened "squid.conf" text file, find the "cache_dir" line.Uncomment the line .Then change the default value. for example , you want to save the cache file in the "c:\squid\cache" directory. after changed it like follow.

cache_dir aufs C:\Squid\cache 3000 16 256

4. Save it and stop the Squid service through the menu right-click the icon in the tray.

5.Run " squid Terminal " as administator. which usually on the desktop.

6.In the command line. run the next command.

squid -z

7.Start Squid services.

That's all.

Have a enjoy.

Tag: Windows
Last updated:2025年8月8日

joey

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

Comments

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
Cancel

归档

  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024

分类目录

  • C#
  • Dock
  • Esxi
  • Excel
  • Kindle
  • Linux
  • Windows
  • 生活感悟
  • 群晖
  • 运维技术

COPYRIGHT © 2024 水中小鱼. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang