Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A detailed explanation of the usage of the wget command in Centos7 (with an example) can be followed

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Wgetwget is a tool for downloading files. It is an essential tool for Linux users, especially for network administrators, who often download some software or restore backups from a remote server to a local server. If we use a virtual host, we can only download such transactions from a remote server to our computer disk, and then upload them to the server using the ftp tool. It's a waste of time and energy, and there's nothing we can do about it. When it comes to Linux VPS, it can be downloaded directly to the server without going through the upload step. Wget tool is small but fully functional, it supports breakpoint download function, supports FTP and HTTP download mode, supports proxy server and is easy to set up. Let's illustrate how to use wget in the form of an example.

(1)。 Open a server2016 virtual machine and install the ftp service

two。 Turn off the firewall

3. Set up ftp site

4. Put files in the site

5. Open the centos7 virtual machine to enter the terminal

6. Enter wget ftp://192.168.220.141/c7.iso (download location is in the current directory)

7. Download completed

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report