Home > Article > Backend Development > 求教squid的安装步骤
最近在学习squid的反向代理,求squid的安装配置步骤
安装步骤
tar zxvf ....cd sq...../configure --prefix=/usr/local/squid --enable-storeio=diskd,ufs --enable-poll --disable-hostname-checks --enable-underscores --enable-x-accelerator-vary--enable-kill-parent-hack --enable-err-language="Simplify_Chinese"--enable-default-err-languages="Simplify_Chinese" --disable-ident-lookups--with-maxfd=65535;
maximum_object_size 10240 KB ### 能缓存的最大对象为 10Mmaximum_object_size_in_memory 512 KB ### 内存中缓存的最大对象 512K cache_mem 256 MB ###分配的大小refresh_pattern \.(jpg|png|gif|mp3|xml|html|htm|css|js) 1440 50% 2880 ignore-reload