ObjectiveWhen using Apt-get or git pull or wget, you often consider using a proxy server for reasons of domestic network limitations.At this point, you need to set up the proxy at the command line without affecting the system's proxy settings.MethodYou can set up a
Tags: proxy server firewall squid
1. Traditional proxy
Traditional proxies can hide IP addresses mostly for the Internet.
In Linux, squid is not installed by default. Therefore, you must install the support for the Perl Language Pack in red hat.
The Squid proxy server
This paper introduces an application server to the reader-proxy server, then what is the proxy server, speak of the popular point is to find a server to help you do what you want to do, proxy
The online agent is naturally the first to find the online agent's website, Baidu online agent will appear a lot of agents, users can choose to use the online proxy site, as far as possible choose to rely on the previous search, because this type of Web site more windows, and some even have viruses, rely on the former site or relatively safe.
Then it's very simple, just enter the URL, and then click on the agent to browse. Of course, the
Proxy Server This word is believed that many people have heard, but also believe that many people just heard, do not know how to use proxy server. Here, I will not use those who have read the confusion of the professional terminology to explain, only a brief introduction of how to use, so that we can more easily use th
, GOPHER, SSL and WAIS protocol, temporarily can not proxy POP3, NNTP and other protocols. Squid can work in many operating systems, such as AIX, Digital, Unix, FreeBSD, HP-UX, Irix, Linux, NetBSD, Nextstep, SCO, Solaris, OS/2, and so on.
Installing and configuring Squid Server
Usually, there are two ways to install squid: one is to get the software's RPM packa
a simple agent, and performance will be more excellent.
Second, the old version of the build method
Nginx TCP proxy functionality is provided by the Nginx_tcp_proxy_module module, while monitoring backend host status. The modules include the following modules: Ngx_tcp_module, Ngx_tcp_core_module, Ngx_tcp_upstream_module, Ngx_tcp_proxy_module, Ngx_tcp_upstream_ip_ Hash_module.1. Installation
# wget http://nginx.org/download/nginx-1.4.4.tar.g
Reverse proxy practices can be more than a step for the safety of the site, like some banks must be using the agent is you go into the proxy server can not get any data, the following I introduce nginx with mod_proxy implementation of reverse proxy configuration method.
Bec
Apache server proxy and Cache
1. Proxy
Forward Proxy:
Reverse Proxy:
Mod_proxy module
A key module for implementing proxy and gateway in Apache.Load mod_proxy module: Loadmodule proxy_module modules/mod_proxy.so
Command:
Prox
In Ubuntu, use Squid to set a server as a proxy server. first install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid Configuration file sudogedit/etc/squid. conf and then go to # Andfinallydenyallother Ubuntu and use Squid to set a machine as a proxy
I have learned a lot about the development of proxy servers during this time.UDPThe implementation of the proxy service is also convenient for me to refer to later.
I. Communication Model
1Non-proxy Communication Model
This is typicalC-SCommunication Model. The client interacts with the server directly.
2,
In practice, due to office network restrictions, you must specify a proxy when connecting to the Internet,
However, when accessing servers with some virtual host domain names, there is no corresponding DNS resolution record. Therefore, it is very troublesome to manually configure the hosts file for ing.
According to the java.net. url API, we sorted out how to set the proxy
This time, talk about "proxy server".In the company, not through the proxy server can not connect to the Internet, due to proxy server reasons, some services are limited use.Someone might think why this kind of thing exists? (This
How to set up proxy in Internet Explorer
1. Proxy setting methods in IE4.0:
Select "View" → "internet Option" → "Connect" → "access internet via Proxy Server" on main menu, then fill in the proxy server address and port you find,
Original http://httpd.apache.org/docs/2.4/howto/reverse_proxy.htmlTranslationReverse Proxy GuideIn addition to being a "basic" Web server and providing static and dynamic content to end users, Apache httpd (and most other Web servers) can also act as a reverse proxy server, also known as a gateway server.In this case,
Here is an example of a proxy server crawling the http://www.proxy.com.ru site, with the following code:
#!/usr/bin/env python#coding:utf-8import urllib2import reimport threadingimport timeimport MySQLdbrawProxyList = [] Checkedproxylist = [] #抓取代理网站targets = []for i in Xrange (1,42): target = r "http://www.proxy.com.ru/list_%d.html"% i Targ Ets.append (target) #抓取代理服务器正则p = Re.compile (R ' "(\d+) (. +?)
Ubuntu8.04 use Squid as a proxy server-Linux Enterprise Application-Linux server application information. The following is a detailed description. I always wanted to create an Internet proxy server and run Openwrt on WRT54G. I had little knowledge to find, and I was unable t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.