نمایش نتایج: از شماره 1 تا 2 از مجموع 2

موضوع: لطفا کمکم کنید!!!!!!!

  
  1. #1
    نام حقيقي: Mahla

    عضو غیر فعال
    تاریخ عضویت
    Jun 2008
    محل سکونت
    gorgan
    نوشته
    29
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    1

    لطفا کمکم کنید!!!!!!!

    از سایت www.squid-cache.org/versions/v2/2.6
    squid2.6stable20 دانلود کردم

    اول extract کردم و بعد compile
    بعد دستور locate رو نوشتم بعدداخل مسیر /usr/local/squid/etc//squid.conf

    این دستورات و نوشتم

    http_port 3128 transparent
    #icp_port 3130
    #http_accel_host virtual
    #http_accel_port 80
    #http_accel_with_proxy on
    #http_accel_uses_host_header on
    cache_mem 64 MB
    cache_dir diskd/var/log/squid 3000 16 256
    #coredump_dir/var/spool/squid
    #useragent_log/var/log/squid/user.log
    #referer_log none
    cache_access_log/var/spool/squid/access.log
    cache_store_log/var/squid/store.log
    cache_log/var/log/squid/cache.log
    hierarchy_stoplist cgi-bin
    acl QUERY urlpath_regex cgi\?
    no_cache deny QUERY
    #quick_abort_min 64KB
    #quick_abort_pct 75%
    quick_abort_max 1024KB
    #cache_dns_program/usr/lib/squid/dnsserver
    #dns_children 34
    #auth_param basic children 5
    #auth_param basic realm squid proxy-caching web server
    #redirect_children 8
    refresh_pattern ^ftp://480 60% 22160
    refresh_pattern ^gopher://30 20% 120
    refresh_pattern 480 40% 22160
    refresh_pattern http://*.windowsupdate.microsoft.com/ 0 60% 20160
    refresh_pattern http://office.microsoft.com/ 0 60% 20160
    refresh_pattern http://wxpsp2.microsoft.com/0 60% 20160
    refresh_pattern http://xpsp1.microsoft.com/0 60% 2160
    refresh_pattern http://w2ksp4.microsoft.com/0 60% 2160
    refresh pattern http://download.microsoft.com/0 60% 2160
    maximum_object_size 100MB
    minimum_object_size 0KB
    negative_header_max_size 8KB
    negative_ttl 5minutres
    positive_dns_ttl 40seconds
    negative_dns_ttl_30seconds
    read_timeout 30minutes
    client_lifetime 14 hours
    pconn_timeout 30seconds
    request_timeout 1minutes
    shutdown_lifetime 10seconds
    ipcache_size 10240
    ipcache_low 98
    ipcache_high 99
    #cache_mgr etemmadi@gmail.com
    cache_effective_user squid
    cache_effective_group squid
    #cachemgr_passwd peyman all
    #visible_hostname darklove
    #pid_filename/var/run/squid.pid
    #debug_option ALL,198,2
    #max_open_disk_fds 55
    memory_pools on
    emulate_httpd_log off
    log_fqdn off
    forwarded_for off
    #icp_hit_stable on
    strip_query_terms off
    log_icp_queries off
    logfile_rotate 10
    acl all src0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl mynet src 192.168.0.0/24
    acl ssl_ports port 443 563
    acl safe_ports port 80 20 21 443 563 70 210 280 448 591 777 1025-65535
    acl CONNECT method CONNECT
    acl purge method PURGE
    http_access allow manager localhost
    http_access allow manager mynet
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access allow mynet
    http_access deny all
    http_access allow purge localhost
    http_access allow purge mynet
    http_access deny purge
    http_reply_access allow all
    #icp_access allow all
    reply_body_max_size80000000000allow all
    #acl snmppublic snmp_community public
    #snmp_access allow snmppublic localhost
    #snmp_access deny all
    #snmp_incoming_address 0.0.0.0
    #snmp_outgoing_address 255.255.255.255
    #error_directory/usr/share/squid/errors/english
    acl magic_word1 url_regex-i 192.168
    acl magic_word2 url_regex-i ftp.exe.mp3.vqf.tar.gz.gz.rmp.zip.rar.avi.mpeg.mpe .mpg.ram.rm.iso.raw.wav.mov
    acl day time07::00-23:59
    delay_pools 2
    delay_class 1 2
    delay_classess 1 allow magic_words1
    delay_access 1 deny all
    delay_class 2 2
    delay_parameters 1 -1/-1/-1/-1 8000/8000
    delay_parameters 2 700/150000 500/150000
    delay_access 2 allow day
    delay_access 2 allow magic_words2
    delay_access 2 deny !day




    الان باید چه کار کنم لطفا کمکم کنید..

    من اولین باره که این کار و می کنم لطفا طوری توضیح بدید که متوجه بشم


    ممنونم




  2. #2
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    کد:
     
    
    /usr/local/squid/sbin squid -z
    /usr/local/squid/sbin squid -D




کلمات کلیدی در جستجوها:

هیچ کلمه ای ثبت نشده است.

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •