Squid Proxy Server 3.1: Beginner's Guide

Kulbir Saini

  • 出版商: Packt Publishing
  • 出版日期: 2011-02-26
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 332
  • 裝訂: Paperback
  • ISBN: 1849513902
  • ISBN-13: 9781849513906
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Reduce bandwidth use and deliver your most frequently requested web pages more quickly with Squid Proxy Server. This guide will introduce you to the fundamentals of the caching system and help you get the most from Squid.

  • Get the most out of your network connection by customizing Squid's access control lists and helpers
  • Set up and configure Squid to get your website working quicker and more efficiently
  • No previous knowledge of Squid or proxy servers is required
  • Part of Packt's Beginner's Guide series: lots of practical, easy-to-follow examples accompanied by screenshots

In Detail

Squid Proxy Server enables you to cache your web content and return it quickly on subsequent requests. System administrators often struggle with delays and too much bandwidth being used, but Squid solves these problems by handling requests locally. By deploying Squid in accelerator mode, requests are handled faster than on normal web servers making your site perform quicker than everyone else's!

Squid Proxy Server 3.1 Beginner's Guide will help you to install and configure Squid so that it is optimized to enhance the performance of your network. The Squid Proxy Server reduces the amount of effort that you will have to put in, saving your time to get the most out of your network. Whether you only run one site, or are in charge of a whole network, Squid is an invaluable tool that improves performance immeasurably. Caching and performance optimization usually requires a lot of work on the developer's part, but Squid does all that for you. This book will show you how to get the most out of Squid by customizing it for your network. You will learn about the different configuration options available and the transparent and accelerated modes that enable you to focus on particular areas of your network.

Applying proxy servers to large networks can be a lot of work as you have to decide where to place restrictions and who should have access, but the straightforward examples in this book will guide you through step by step so that you will have a proxy server that covers all areas of your network by the time you finish the book.

A practical guide to implementing the Squid Proxy Server in your network or for your website.

What you will learn from this book

  • Discover which configuration option would best suit your network
  • Gain better control over Squid with command-line options that help you to debug Squid
  • Devise an Access Control List (ACL) to decide which users are granted access to different ports
  • Understand logfiles and log format and how to customize them to suit your needs
  • Learn about Squid's Cache Manager web interface so that you can monitor your traffic in real time to prevent any problems before they happen
  • Implement a cache hierarchy to use in a large network
  • Use Squid in Accelerator Mode to quickly boost the performance of a very slow website
  • Write your own URL rewriters to customize the behavior of Squid
  • Learn how to troubleshoot Squid

Approach

Part of Packt's Beginner's Guide Series, this book has lots of screenshots and step-by-step instructions to help you get to grips with the techniques as quickly as possible. Each chapter is dedicated to a different aspect of the Squid proxy server, so you will have a thorough understanding of how everything works and how it is connected by the end of the book.

Who this book is written for

If you are a Linux or Unix system administrator and you want to enhance the performance of your network or you are a web developer and want to enhance the performance of your website, this book is for you. You are expected to have some basic knowledge of networking concepts, but may not have used caching systems or proxy servers before now.

商品描述(中文翻譯)

減少帶寬使用,並更快速地提供您最常請求的網頁,使用 Squid Proxy Server。本指南將介紹快取系統的基本原理,並幫助您充分利用 Squid。

- 通過自訂 Squid 的存取控制列表和輔助工具,充分發揮您的網路連接效能
- 設定和配置 Squid,使您的網站運行得更快、更有效率
- 不需要先前對 Squid 或代理伺服器的知識
- 這是 Packt 的初學者指南系列的一部分:提供大量實用且易於跟隨的範例,並附有截圖

詳細內容

Squid Proxy Server 使您能夠快取網頁內容,並在隨後的請求中快速返回。系統管理員經常面臨延遲和過多帶寬使用的問題,但 Squid 通過本地處理請求來解決這些問題。通過以加速器模式部署 Squid,請求的處理速度比正常的網頁伺服器更快,使您的網站表現得比其他網站更迅速!

《Squid Proxy Server 3.1 初學者指南》將幫助您安裝和配置 Squid,以優化網路性能。Squid Proxy Server 減少了您需要投入的努力,節省了時間,讓您能夠充分利用網路。無論您只運行一個網站,還是負責整個網路,Squid 都是一個無價的工具,能顯著改善性能。快取和性能優化通常需要開發者付出大量工作,但 Squid 為您完成所有這些。本書將教您如何通過為您的網路自訂 Squid 來獲得最佳效能。您將了解不同的配置選項以及透明和加速模式,這些模式使您能夠專注於網路的特定區域。

將代理伺服器應用於大型網路可能需要大量工作,因為您必須決定在哪裡設置限制以及誰應該有訪問權限,但本書中的簡單範例將逐步指導您,讓您在完成本書時擁有一個涵蓋網路所有區域的代理伺服器。

這是一本實用的指南,幫助您在網路或網站中實施 Squid Proxy Server。

您將從本書中學到什麼

- 發現哪個配置選項最適合您的網路
- 通過命令行選項更好地控制 Squid,幫助您進行除錯
- 設計一個存取控制列表 (ACL),決定哪些用戶可以訪問不同的端口
- 理解日誌文件和日誌格式,並學會如何自訂以滿足您的需求
- 了解 Squid 的快取管理員網頁介面,以便您能夠實時監控流量,防止問題發生
- 實施快取層級以用於大型網路
- 在加速器模式下使用 Squid,快速提升非常慢的網站性能
- 編寫自己的 URL 重寫器,自訂 Squid 的行為
- 學習如何排除 Squid 的故障

方法

作為 Packt 的初學者指南系列的一部分,本書包含大量截圖和逐步指導,幫助您儘快掌握技術。每一章都專注於 Squid 代理伺服器的不同方面,因此在本書結束時,您將對一切運作及其相互連結有透徹的理解。

本書的讀者對象

如果您是 Linux 或 Unix 系統管理員,想要提升網路性能,或是網頁開發者,想要提升網站性能,本書適合您。您應該具備一些基本的網路概念知識,但可能之前未曾使用過快取系統或代理伺服器。