SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
SQUID SERVER: 
Squid is a high-performance HTTP and FTP caching proxy server. It is also known as a Web proxy 
cache. It can make your network connections more efficient. As it stores data from frequently used 
Web pages and files, it can often give your users the data they need without their systems having to 
look to the Internet. 
Studies on very busy networks suggest that a Squid server can reduce the size, or bandwidth, of 
your Internet connection. That can lead to considerable savings for larger offices. 
Squid uses the Inter-Cache Protocol (ICP) for transfers between participating peer and parent/child 
cache servers. It can be used either as a traditional caching proxy or as a front-end accelerator for a 
traditional Web server. 
STEPS TO CONFIGURE SQUID PROXY SERVER : 
1. Configure a TCP/IP for Squid Server : 
[root@localhost /]# netconfig or system-config-network or setup 
IP address: ________________ 
Netmask: 
___________ 
_____ 
Default 
gateway (IP): 
___________ 
_____ 
Primary 
nameserver: 
___________ 
_____
2. Configure the /etc/squid.conf file : 
· Change the default port no to 8080 
· Create a acl rule under the 127.0.0.01 
· Create a http_access allow and deny rule under the http_access 
[root@localhost /]# vi /etc/squid/squid.conf 
· Go to the port line : /3128 and change the port 
#detault: 
http_port 8080 
· Go to the line and create a acl rule: /127.0.0.01 
#Recommended minimum configuration: 
# Near the src acl src section 
#Recommended minimum configuration: 
acl all src 0.0.0.0/0.0.0.0 
acl manager proto cache_object 
acl localhost src 172.16.0.0/255.255.0.0 
acl to_localhost dst 127.0.0.0/8 
acl yahoo dstdomain .yahoo.com 
acl gmail dstdomain .gmail.com 
acl cric dstdomain .cricinfo.com 
acl CONNECT method CONNECT 
· Go to the line and allow the rules: /http_access 
#Recommended minimum configuration: 
# Only allow cachemgr access from localhost 
http_access deny yahoo 
http_access deny gmail 
http_access allow cric 
http_access allow local 
Restart the Squid services:
[root@localhost /]# service squid restart 
[root@localhost /]# /etc/init.d/squid restrart 
On the service of Squid server : 
[root@localhost /]# chkconfig squid on 
ON CLIENT SIDE : 
Configure a TCP/IP for your Lan computers : 
[root@localhost /]# netconfig or system-config-network or setup 
IP address: ________________ 
Netmask: ________________ 
Default gateway (IP): ________________ 
Primary nameserver: ________________ 
Go to the internet explorer 
Edit -> preferences -> internet connections-. 
Set the squid server ip address and port no

Más contenido relacionado

La actualidad más candente

Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARINGab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARINAZUG FR
 
Webserver
WebserverWebserver
WebserverARYA TM
 
Apache Presentation
Apache PresentationApache Presentation
Apache PresentationAnkush Jain
 
Backing up thousands of containers
Backing up thousands of containersBacking up thousands of containers
Backing up thousands of containersMarian Marinov
 
Passwordless login with unix auth_socket
Passwordless login with unix auth_socketPasswordless login with unix auth_socket
Passwordless login with unix auth_socketOtto Kekäläinen
 
Servers & Web Hosting
Servers & Web HostingServers & Web Hosting
Servers & Web HostingReza San
 
How to optimize CloudLinux OS limits
How to optimize CloudLinux OS limitsHow to optimize CloudLinux OS limits
How to optimize CloudLinux OS limitsCloudLinux
 
DevOps Meetup ansible
DevOps Meetup   ansibleDevOps Meetup   ansible
DevOps Meetup ansiblesriram_rajan
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesSeveralnines
 
Apache Web server Complete Guide
Apache Web server Complete GuideApache Web server Complete Guide
Apache Web server Complete Guidewebhostingguy
 
Web performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transitionWeb performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transitionseanwalbran
 
MySQL for Beginners - part 1
MySQL for Beginners - part 1MySQL for Beginners - part 1
MySQL for Beginners - part 1Ivan Zoratti
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request SmugglingAkash Ashokan
 

La actualidad más candente (20)

Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARINGab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARIN
 
Curl Tutorial
Curl Tutorial Curl Tutorial
Curl Tutorial
 
Basics of NGINX
Basics of NGINXBasics of NGINX
Basics of NGINX
 
Webserver
WebserverWebserver
Webserver
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Backing up thousands of containers
Backing up thousands of containersBacking up thousands of containers
Backing up thousands of containers
 
Oscon 2010 - ATS
Oscon 2010 - ATSOscon 2010 - ATS
Oscon 2010 - ATS
 
Passwordless login with unix auth_socket
Passwordless login with unix auth_socketPasswordless login with unix auth_socket
Passwordless login with unix auth_socket
 
Servers & Web Hosting
Servers & Web HostingServers & Web Hosting
Servers & Web Hosting
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
 
How to optimize CloudLinux OS limits
How to optimize CloudLinux OS limitsHow to optimize CloudLinux OS limits
How to optimize CloudLinux OS limits
 
DevOps Meetup ansible
DevOps Meetup   ansibleDevOps Meetup   ansible
DevOps Meetup ansible
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
 
Apache Web server Complete Guide
Apache Web server Complete GuideApache Web server Complete Guide
Apache Web server Complete Guide
 
Web performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transitionWeb performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transition
 
MySQL for Beginners - part 1
MySQL for Beginners - part 1MySQL for Beginners - part 1
MySQL for Beginners - part 1
 
Apache Web Server Setup 4
Apache Web Server Setup 4Apache Web Server Setup 4
Apache Web Server Setup 4
 
5 things MySql
5 things MySql5 things MySql
5 things MySql
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request Smuggling
 
Http smuggling 1 200523064027
Http smuggling 1 200523064027Http smuggling 1 200523064027
Http smuggling 1 200523064027
 

Destacado

Storage Server & Brach Cache
Storage Server & Brach CacheStorage Server & Brach Cache
Storage Server & Brach CacheAmit Gatenyo
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparisonRohit Kelapure
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCCal Henderson
 
NGINX High-performance Caching
NGINX High-performance CachingNGINX High-performance Caching
NGINX High-performance CachingNGINX, Inc.
 

Destacado (6)

Storage Server & Brach Cache
Storage Server & Brach CacheStorage Server & Brach Cache
Storage Server & Brach Cache
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparison
 
Proxy
ProxyProxy
Proxy
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
 
NGINX High-performance Caching
NGINX High-performance CachingNGINX High-performance Caching
NGINX High-performance Caching
 

Similar a 17937858 squid-server - [the-xp.blogspot.com]

Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hostingwebhostingguy
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersoazabir
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-serverHARRY CHAN PUTRA
 
Service Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and KubernetesService Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and KubernetesSreenivas Makam
 
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlationrahul8590
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy serverGreen Jb
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context ConstraintsAlessandro Arrichiello
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesSreenivas Makam
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011Mike Willbanks
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Conrad Cruz
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringConrad Cruz
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with NginxBud Siddhisena
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixDiana Tkachenko
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
 

Similar a 17937858 squid-server - [the-xp.blogspot.com] (20)

Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hosting
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-server
 
Service Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and KubernetesService Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and Kubernetes
 
Squid
SquidSquid
Squid
 
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlation
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
 
Unidade3 roteiro proxy
Unidade3 roteiro proxyUnidade3 roteiro proxy
Unidade3 roteiro proxy
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011
 
Squid server
Squid serverSquid server
Squid server
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filtering
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with Nginx
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
 
The SPDY Protocol
The SPDY ProtocolThe SPDY Protocol
The SPDY Protocol
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 

17937858 squid-server - [the-xp.blogspot.com]

  • 1. SQUID SERVER: Squid is a high-performance HTTP and FTP caching proxy server. It is also known as a Web proxy cache. It can make your network connections more efficient. As it stores data from frequently used Web pages and files, it can often give your users the data they need without their systems having to look to the Internet. Studies on very busy networks suggest that a Squid server can reduce the size, or bandwidth, of your Internet connection. That can lead to considerable savings for larger offices. Squid uses the Inter-Cache Protocol (ICP) for transfers between participating peer and parent/child cache servers. It can be used either as a traditional caching proxy or as a front-end accelerator for a traditional Web server. STEPS TO CONFIGURE SQUID PROXY SERVER : 1. Configure a TCP/IP for Squid Server : [root@localhost /]# netconfig or system-config-network or setup IP address: ________________ Netmask: ___________ _____ Default gateway (IP): ___________ _____ Primary nameserver: ___________ _____
  • 2. 2. Configure the /etc/squid.conf file : · Change the default port no to 8080 · Create a acl rule under the 127.0.0.01 · Create a http_access allow and deny rule under the http_access [root@localhost /]# vi /etc/squid/squid.conf · Go to the port line : /3128 and change the port #detault: http_port 8080 · Go to the line and create a acl rule: /127.0.0.01 #Recommended minimum configuration: # Near the src acl src section #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 172.16.0.0/255.255.0.0 acl to_localhost dst 127.0.0.0/8 acl yahoo dstdomain .yahoo.com acl gmail dstdomain .gmail.com acl cric dstdomain .cricinfo.com acl CONNECT method CONNECT · Go to the line and allow the rules: /http_access #Recommended minimum configuration: # Only allow cachemgr access from localhost http_access deny yahoo http_access deny gmail http_access allow cric http_access allow local Restart the Squid services:
  • 3. [root@localhost /]# service squid restart [root@localhost /]# /etc/init.d/squid restrart On the service of Squid server : [root@localhost /]# chkconfig squid on ON CLIENT SIDE : Configure a TCP/IP for your Lan computers : [root@localhost /]# netconfig or system-config-network or setup IP address: ________________ Netmask: ________________ Default gateway (IP): ________________ Primary nameserver: ________________ Go to the internet explorer Edit -> preferences -> internet connections-. Set the squid server ip address and port no