IPIPGO ip proxy centos set proxy ip: Linux server yum/wget proxy configuration

centos set proxy ip: Linux server yum/wget proxy configuration

Teach you to hang a proxy ip to the Centos server hand in hand to teach you to engage in the server of buddies understand, sometimes under a dependency package slow as a snail. This time to find a reliable proxy ip, speed directly take off. Today we take our family ipipgo's proxy service as an example, teach you how to yum and wget on Centos to hang the proxy ...

centos set proxy ip: Linux server yum/wget proxy configuration

Hands-on teaching you to Centos server proxy ip hanging

The server guys all know, sometimes under a dependency package slow as a snail. This time to find a reliable proxy ip, speed directly take off. Today we will take ouripipgoThis is an example of a proxy service that teaches you how to hook up proxies for yum and wget on Centos.

Proxy ip exactly how to choose

Let's start with a cold one:yum and wget don't use the same protocols.yum uses the libcurl library at the bottom, and wget itself is a download tool. It is recommended to useipipgo's Static Residential PackageI'd say 35 bucks a month for a fixed ip is the most stable way to do server proxying.


 Look here! Let's start by memorizing these key parameters:
Proxy server address: gateway.ipipgo.net
Port number: depending on the package look at the console
Account password: the key pair given during registration

Proxy for yum in three steps

1. Open the yum configuration file:
sudo vi /etc/yum.conf

2. Add these two lines at the end of the document:
proxy=http://用户名:密码@gateway.ipipgo.net:端口
proxy_username=your ipipgo account number(Important! Many tutorials leave this out)

3. Testing for effectiveness:
yum clean all && yum makecache See if the download speed improves

The wget proxy has to be played like this

There's a pit here:System-level configuration and user-level configuration can conflict! It is recommended to add parameters directly to the command:


wget -e "http_proxy=http://用户名:密码@gateway.ipipgo.net:端口" The address of the file you want to download.

If you want to make it permanent, change/etc/wgetrcDocumentation:


http_proxy = http://用户名:密码@gateway.ipipgo.net:端口
https_proxy = http://用户名:密码@gateway.ipipgo.net:端口

First Aid Guidelines for Common Rollover Scenes

Q: What should I do if I get a 407 error after configuration?
A: Ninety percent of the account password format is not correct, remember to use theUsername:Passwordformat with an English colon in the center

Q: The download speed is slowed down instead?
A: Maybe you've chosen a cross-country node, go to the ipipgo backend and change to an outlet close to your server.

Q: How do I verify if the agent is in effect?
A: Runningcurl -x http://代理地址:端口 ifconfig.me See if the returned ip is a proxy ip

Why recommend ipipgo

Self-used experience:
1. When downloading large files, switch toDynamic Residential Enterprise EditionI've got enough traffic for 1G for over 9 bucks.
2. Use when you need to fix the export ipStatic homesI've been doing a lot of crawling and stuff like that.
3. Their homeTK LineIt's a separate corridor, so there's no rush hour traffic.

One last rant:Remember to restart the service after the proxy configuration takes effect! Once I changed the configuration and didn't reboot, it took me two hours of troubleshooting. If you still can't get it to work, go directly to ipipgo's tech support, they are online 24 hours a day to respond, much faster than watching tutorials.

This article was originally published or organized by ipipgo.https://www.ipipgo.com/en-us/ipdaili/43866.html

business scenario

Discover more professional services solutions

💡 Click on the button for more details on specialized services

New 10W+ U.S. Dynamic IPs Year-End Sale

Professional foreign proxy ip service provider-IPIPGO

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact Us

13260757327

Online Inquiry. QQ chat

E-mail: hai.liu@xiaoxitech.com

Working hours: Monday to Friday, 9:30-18:30, holidays off
Follow WeChat
Follow us on WeChat

Follow us on WeChat

Back to top
en_USEnglish