Setting up a proxy with Polipo

Source: Internet
Author: User

Requirements: When configuring the environment during the initial phase of the project, the software cannot be installed properly because many machines do not have an extranet address

Solution: setting up the agent with POLIPO can solve this problem quickly and easily

Polipo Configuration under Ubuntu12.04

Prerequisite: First to prepare a machine to access the external network installation Polipo.

1, installation

Apt-get Install Polipo

2,vim/etc/polipo/config

Add the following two lines:

proxyaddress = "0.0.0.0" # IPV4 only

ProxyPort = #指定端口

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

3, edit to save exit after completion,

4, start

/etc/init.d/polipo start

5, other machines if you need to access the external network installation software, run the following command to set the environment variables, then you can access the extranet

Export http_proxy=http://10.1.1.1:1080

^

IP is a machine IP configured with Polipo

6, check whether the setting is OK, can run export view

Tips: The software will read this parameter during installation, this configuration fails after restart, if you want to use for a long time, please modify the/etc/profile file


Setting up a proxy with Polipo

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.