freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于linux的squid代理服務(wù)器的架設(shè)-展示頁

2025-06-27 14:17本頁面
  

【正文】 戶,用REQUIRED表示所有合法用戶_access:代理訪問控制格式:_access allow|deny [!] acl_nameicp_access:icp訪問控制格式:icp_access allow|deny [!]acl_namecache_peer_access:其它緩存服務(wù)器訪問控制格式:cache_peer_access cache_host allow|deny [!]acl_name(8)管理員參數(shù)選cache_mgr mail地址:管理員電子郵件cache_effective_user 用戶名:運(yùn)行身份cache_effective_group 組名:運(yùn)行組身份(9)CACHE注冊服務(wù)選項(xiàng)announce_period 數(shù)字:發(fā)布緩存通告頻率announce_host 主機(jī)名:通告的主機(jī)announce_file 文件名:通告的信息announce_port 端口號:通告的對方端口(10) HTTPD加速選項(xiàng)d_accel_host 主機(jī)名/vitual:加速某服務(wù)器訪問d_accel_port 端口號:加速服務(wù)器的對方端口d_accel_single_host on/off:多臺服務(wù)器時(shí)設(shè)置offd_accel_with_proxy on/off:即作為加速器,又作為WEB緩存服務(wù)器,設(shè)置為ond_accel_uses_host_header on/off:為on,能支持不同的協(xié)議(11)雜項(xiàng)logfile_rotate 09:日志輪換版本數(shù)append_domain 域名:默認(rèn)域名tcp_recv_bufsize 數(shù)字(KB):TCP緩存區(qū)大小err_html_text 字符串:包含在錯(cuò)誤消息中的文本deny_info:禁用時(shí)顯示消息格式:deny_info err_page_name aclvisible_hostname 主機(jī)名錯(cuò)誤消息中顯示的服務(wù)器名稱error_directory 路徑:指定錯(cuò)誤消息文件目錄[5]4普通代理服務(wù)器的配置 安裝和配置(1)安裝squidtar xvfj (2) vi /etc/squid/_port 3128 icp_port 3130緩存目錄的設(shè)置,可以設(shè)置多個(gè)緩存目錄,語法為:cache_diraufs|ufs目錄所在 MBytes大小 dir1 dir2cache_dir ufs /var/spool/squid 4096 16 256下面是關(guān)于日志文件的放置目錄與文件名 cache_access_log /var/log/squid/cache_log /var/log/squid/cache_store_log /var/log/squid/pid_filename /var/run/關(guān)閉認(rèn)證機(jī)制auth_param basic children 5auth_param basic realm Squii proxycaching web serverauth_param basic credentialsttl 2 hours設(shè)置squid用戶及用戶組、管理員賬號cache_effective_user squidcache_effective_group squidcache_mgr youraccount 與內(nèi)存有關(guān)的配置cache_mem 128 MB與磁盤容量有關(guān)的配置cache_swap_low 90cache_swap_high 95maximum_object_size 4096 KB與內(nèi)存保存資料有關(guān)的配置maximum_object_size_in_memory 8 KB定義acl(訪問控制列表), 語法為:aclacl acl名稱 acl類型 配置的內(nèi)容acl All src acl manager proto cache_objectacl alhost src acl to_localhost dst /8 acl SSL_ports 443 563 acl safe_portsport 80acl safe_portsport 21acl safe_portsport 443 563acl safe_portsport 70acl safe_portsport 210acl safe_portsport 102565535acl safe_portsport 280acl safe_portsport 488acl safe_portsport 591acl safe_portsport 777acl CONNECT method CONNECT 利用前面定義的acl,定義訪問控制規(guī)則_access allow Manager Localhost _access deny Manager _access deny !Safe_ports _access deny CONNECT !SSL_ports _access deny All定義與其它代理服務(wù)器的關(guān)系,語法: cach
點(diǎn)擊復(fù)制文檔內(nèi)容
物理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1