صفحه 1 از 2 1 2 آخرینآخرین
نمایش نتایج: از شماره 1 تا 15 از مجموع 28

موضوع: ره اندازی سرور آفلاین

  
  1. #1


    خواننده شناسه تصویری Green
    تاریخ عضویت
    Feb 2006
    محل سکونت
    شهسوار
    نوشته
    85
    سپاسگزاری شده
    11
    سپاسگزاری کرده
    5

    ره اندازی سرور آفلاین

    با سلام خدمت دوستان عزیز

    خواستم بدونم توسط اسکوئید سرور و یا هر چیز دیگه ای می توان یک سرور راه اندازی کرد که بتونه تمامی دانلود هایی که مشترک یا همان یوزر چه لن و چه دایال آپ می زنن رو ذخیره کنه تا ما بعد اون بتونیم یک سرور آفلاین راه بندازیم و فایلهای دانلود شده رو در اونجا قرار بدیم .

    من توسط یکی از دوستان شنیدم که مثلا پارس آنلاین یه همچین کاری می کنه یعنی شما وقتی ازش وایرلس می گیری دانلود آفلاین هم داره که با سرعت بالا می تونی دانلود کنی ( به عبارتی از یک سرور داخلی مشغول دانلود می شی )



    موضوعات مشابه:

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

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    Squid داره
    Offline Mode



  3. #3


    خواننده شناسه تصویری Green
    تاریخ عضویت
    Feb 2006
    محل سکونت
    شهسوار
    نوشته
    85
    سپاسگزاری شده
    11
    سپاسگزاری کرده
    5

    #

    ممنونم دوست عزیز میشه یکمی بیشتر توضیح بدین و سایت یا مقاله ای رو معرفی کنین.



  4. #4
    نام حقيقي: هاشم سکاکی

    عضو عادی شناسه تصویری milad22
    تاریخ عضویت
    May 2005
    محل سکونت
    iran
    نوشته
    2,050
    سپاسگزاری شده
    320
    سپاسگزاری کرده
    197
    این همون کار کش سرور هاست.
    در Squid با استفاده از Refresh Pattern ها میتونی این کار رو انجام بدی.
    در ISA هم میتونی همچین کاری رو بکنی.



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

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    Offline به Refresh مریوط نیست عزیز
    چندتا کار هست بید انجام بدی تا Offline کار کنه



  6. #6


    عضو غیر فعال
    تاریخ عضویت
    Oct 2006
    نوشته
    191
    سپاسگزاری شده
    7
    سپاسگزاری کرده
    4
    بحث جالبی بود حیف قطع شد.
    چون با راه اندازی سروری که دانلود ها رو داخل شبکه به یوزر بده بازدهی پهنای باند رو خیلی با لا میبره.
    شما نظرتون چیه ؟



  7. #7
    نام حقيقي: َََAmin

    عضو غیر فعال
    تاریخ عضویت
    Mar 2006
    نوشته
    464
    سپاسگزاری شده
    36
    سپاسگزاری کرده
    14
    یه Tag توی Squid هست که اینکارو انجام میده ، دقیقاً یادم نیست ولی اسمش همین offline بود ،بگردین پیداش می کنین ، اگه پیدا نشد بفرمایید در خدمت هستیم .




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

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    tag اگه on کنی به تنهایی کار نمیکنه
    چندتا کار دیگه هم هست



  9. #9
    نام حقيقي: َََAmin

    عضو غیر فعال
    تاریخ عضویت
    Mar 2006
    نوشته
    464
    سپاسگزاری شده
    36
    سپاسگزاری کرده
    14
    چه کارایی ؟



  10. #10


    عضو غیر فعال
    تاریخ عضویت
    Jul 2006
    نوشته
    12
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0

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

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    تو Google چیزی پیدا نمیکنی
    خودت دست به کار بشی بهتره
    زودترر به نتیجه میرسی





  12. #12


    عضو غیر فعال
    تاریخ عضویت
    Jul 2006
    نوشته
    12
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0
    منظور از جستجو توی گوگل اینه که منابعی رو پیدا کنی که راهنماییت کنن خودت دست به کار شی!



  13. #13
    نام حقيقي: Alireza HBB

    عضو غیر فعال شناسه تصویری Alux
    تاریخ عضویت
    Jan 2006
    محل سکونت
    Tehran
    نوشته
    1,492
    سپاسگزاری شده
    286
    سپاسگزاری کرده
    399

    آفلاین

    Using Squid on Intermittent Connections

    One of the more frequent requests on the Squid mailing lists is for help configuring Squid to operate well on dial-up or demand-dial networks. Offline mode will function for some of these networks, but is far from ideal. Unfortunately many of the features of Squid's offline mode appear to have largely vanished during the development of the Squid 2.x series. In the 2.3 STABLE 4 version, the offline mode has nearly no effect at all

    Squid can be patched to work well with dial-up and other intermittent connections. Having a cache on the intermittent side of the link can take some of the curse off these connections, providing access to cached information and reducing bandwidth use on the link. Unpatched, Squid can work reasonably well on dial-on-demand connections, but dialing in each time it needs to resolve a query can become expensive.
    Standard mode

    Squid is designed for permanent connections. Making Squid work on intermittent connections requires changing how Squid handles stale web pages and stale DNS lookups.
    Pages are considered stale when their TTL (time to live) has expired. Many web pages have expiry data in the headers -- information on how often the page can be expected to be updated, and when to consider it "old." Squid has default expiry as well -- if there is no data in the headers, Squid sets its own. Stale pages are kept in the cache -- if the cache still has room for them.
    If the cache runs out of space, stale pages are thrown out on an oldest-first basis. This algorithm is called LRU (least recently used). Other algorithms are available in later versions of Squid. The compile time option --enable-heap-replacement allows you to choose other options.
    If this doesn't clear enough space, pages that are still fresh get thrown out as well. This is bad for cache efficiency -- if this is happening and there is room on the disk, or you can squeeze more disk space and RAM from your boss, adjust your configuration.
    Stale pages that remain in the cache are validated when a client requests the page. Squid sends a request, asking "Hey, has this page changed since [time]?", and the origin server responds with "Yeah, here's the new page," or "No, it's still good." The page is then considered fresh again, whether it's the new page or the old one. This is called an IMS request, shorthand for the term "if modified since." Since when? Since Squid last verified that it was fresh.
    DNS lookups are cached as well, and have a configurable TTL. When a cached Fully Qualified Domain Name (FQDN) or IP DNS entry expires, it is removed from the cache.


    Offline mode

    So why not just use offline mode?
    Offline mode is designed for complete disconnection from the network -- for reading only from what is already in the cache. It works well for demonstrations and presentations. If you were a guest on "60 Minutes" or were working offline from a trade show floor, you could display parts of your web site that are stored in the cache and they will appear with marketable speed. Just be sure to avoid anything that isn't in the cache


    Squid does this by switching off expiry of stale pages and stale lookups, and blocking off its attempts to retrieve web pages. If the web page is a "cache miss," it returns an error to the client rather than trying to retrieve the page.
    Offline mode also never expires cached DNS information, and never refreshes stale web pages. This is usually not what dial-up users and others with intermittent connections want.
    In the unmodified Squid configuration, offline_mode on signals Squid to never attempt to validate, and offline_mode off signals normal operation.
    Note: In Squid 2.3 STABLE 4, the offline mode no longer has most of these functions. If you add the "intermittent connections" patch, this functionality will be restored and extended.
    Intermittent mode

    To work with intermittent connections, Squid must be patched. The patch must be able to tell whether or not the connection is up.
    If it is connected, it must run as if in standard mode: expiring web pages; replacing stale web pages, if requested; and expiring and removing stale DNS entries.
    If disconnected, it must run almost as if in offline mode -- except it must mark old pages and DNS entries as stale, so they can be removed or replaced when Squid is next connected.
    Intermittent connections patch

    Intermittent connections patch

    A patch to enable intermittent connections is available from here.
    The file name is squid-tristate-offline-patch-1.0.txt. If any bugs (or even more miraculously, patches or bug fixes) turn up, please report them to dancer@users.sourceforge.net.



    The patch is currently against Squid 2.3 STABLE 4, a widely deployed Squid release. Some manual changes are required to patch against later versions. To install the patch:
    • Download the patch and the source code for Squid.
    • Unpack your Squid source-tree, and go into its top directory.
    • Run patch -p1 --dry-run < ../squid-tristate-offline-patch-1.0.txt
    • If no errors appear, remove the --dry-run parameter and run it again.
    • Compile, reinstall (make install), and modify your squid.conf file. Then restart Squid.
    Patch details

    This patch has the following effects:
    • In offline mode, no object is ever considered stale. Thus, no validation occurs.
    • In offline mode, no ipcache object is ever expired.
    • In offline mode, no fqdncache object is ever expired.
    • If a DNS lookup takes place in offline mode, Squid inserts a dummy cache entry with an immediate expiry (that cannot be expired until Squid is no longer in offline mode).
    • In offline mode, any attempt to go forward to query another server results in a "503 - Cannot Forward" error. This covers all MISS cases.
    • Offline mode is now tri-state. It can be on, off, or dependent on the status of a network interface.
    In a modified Squid, the offline_mode directive works differently. Formerly it was a simple boolean type with the values on or off. Now we use the values 0, 1, or 2.






    Normal online operation.
    offline_mode 0

    # Offline operation. Use cached information only.
    # Do not talk to the world.
    offline_mode 2

    # Conditionally offline.
    # Online if a monitored network interface
    # exists AND is up. If either condition is
    # false, Squid will act in offline mode.
    offline_mode 1

    The new directive network_interface takes a string parameter, which is the name of the network interface to check. If we are in mode 1, Squid will act in offline(2) or online(0)
    mode depending on the status of this interface. Squid will test the
    status of this interface no more frequently than once per second.
    watch ppp0
    network_interface ppp0You can use a dummy interface to manually toggle Squid between online and offline modes.
    In squid.conf, set


    network_interface dummy0



    متاسفانه سورس Patch از سایت مربوطه پاک شده







    microwave سپاسگزاری کرده است.

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

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    والا من که چنین چیزی ندیدم
    طور ریگه من فعال میکنم



  15. #15
    نام حقيقي: َََAmin

    عضو غیر فعال
    تاریخ عضویت
    Mar 2006
    نوشته
    464
    سپاسگزاری شده
    36
    سپاسگزاری کرده
    14
    شما هم توضیح بدین ، ببینیم روش شما چیه .



صفحه 1 از 2 1 2 آخرینآخرین

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

راه اندازی offline mod در اسکوئید

دانلود آفلاین

کش سرور اسکوئید آفلاین

چطوری دانلود افلاین راه بندازیم

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

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

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