On Linux systems, users do not need any settings to download non-proxy using wget, but they need to be set up if they are downloaded. So how do you set up wget? Today Xiaobian will solve this problem for everyone.
Setting method:
a method, directly after the command parameters
wget command may be provided using the http proxy
wget http: //www.baidu.com/-e use_proxy=yes -e http_proxy=yourproxy.com:port
Downloading https files requires additional parameters.
wget --no-check-certificate https://www.google.com/\\
-e use_proxy=yes -e https_proxy=yourproxy.com:port ##Use https_proxy You can use the
parameter --no-check-certificate to not check the server's certificate.
If you are in trouble, you can set the http proxy proxy for the shell:
export http_porxy=yourproxy.com:port
export https_proxy=yourproxy.com:port< Br>
This way other programs can access the network through this proxy.
If wget does not require a proxy, you can cancel the proxy with the --no-proxy parameter.
Method 2, Setting in the configuration file
Setting the proxy in ~/.wgetrc
http_proxy = http://ip_or_domainname:80/
Ftp_proxy = http://ip_or_domainname:80/
use_proxy = on
wait = 15
Then wget http://ip/filename directly ok
This is the two methods for proxy download settings for wget. For users who have encountered this situation, choose a method that you like to set it up.
FreeBSD is a UNIX-like operating system, and there is a certain difference between UNIX and UNIX sys
The ^M character will appear when you open the windows file in the Linux system, although this does
When doing Linux command operations, sometimes many directories are searched for, and these director
In the Ubuntu system operation, the account can not be logged in after setting the PATH environment
Steps to Add Static Routes to Linux
How to configure XFS file system for Linux system
Tips for setting up IPv4 in Ubuntu system
A brief introduction to the use of jenkins in Linux systems
Linux statistical data software WhatPulse User Guide
Detailed examples of the use of rz commands under Linux
How to install and set up Puppet in CentOS 5.5
Linux uses the diff command to compare files.
Linux how to install and configure rz/sz command
How to solve the problem after unable to connect to the network after reinstalling Linux
X11 forwarding request failed on channel 0 error under Linux
Found that the memory can not be read and written and the solution
Win8 system development with anti-hacker anti-virus function
Microsoft has delivered Win8.1 DP build 9391 to OEM
How to create a Win10 system without creating a Microsoft account
Win10 screen brightness can not be adjusted how to do
Win10 system how to cancel the lock screen interface
Windows XP Folder Icon Settings
After the win10 system upgrade, the SVN icon does not show how to do