Windows环境下使用wget的详细操作步骤(zip压缩包+环境配置)【超详细】

写在前面的话

  众所周知,wget这个工具是Linux、Unix下才能使用的,但是通过某些方式也可以达到在Windows环境下使用wget的目的。

操作步骤

1、下载zip压缩包,解压到自定义目录

下载地址:点击这里
在这里插入图片描述
也可以直接在浏览器输入https://eternallybored.org/misc/wget/releases/wget-1.20.3-win64.zip并回车。
我解压到D:\MyFile\Tool\wget-1.20.3-win64这里了。
在这里插入图片描述

2、配置系统环境变量

右键单击我的电脑 -> 属性 -> 高级系统设置 -> 环境变量 -> 系统变量 -> 点击path -> 点击编辑
D:\MyFile\Tool\wget-1.20.3-win64添加进去,注意有个分号。
在这里插入图片描述

3、验证是否成功

Win + R 打开cmd命令窗口,输入 wget -V。

出现如下情景就是成功了
在这里插入图片描述
以上就是Windows环境下使用wget的详细操作步骤(zip压缩包+环境配置)【超详细】的全部内容。

转发:link

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
windowswget命令 使用帮助wget --help Startup: -V, --version display the version of Wget and exit. -b, --background go to background after startup. -e, --execute=COMMAND execute a `.wgetrc' command. Logging and input file: -o, --output-file=FILE log messages to FILE. -a, --append-output=FILE append messages to FILE. -d, --debug print debug output. -q, --quiet quiet (no output). -v, --verbose be verbose (this is the default). -nv, --non-verbose turn off verboseness, without being quiet. -i, --input-file=FILE read URL-s from file. -F, --force-html treat input file as HTML. Download: -t, --tries=NUMBER set number of retries to NUMBER (0 unlimits). -O --output-document=FILE write documents to FILE. -nc, --no-clobber don't clobber existing files. -c, --continue restart getting an existing file. --dot-style=STYLE set retrieval display style. -N, --timestamping don't retrieve files if older than local. -S, --server-response print server response. --spider don't download anything. -T, --timeout=SECONDS set the read timeout to SECONDS. -w, --wait=SECONDS wait SECONDS between retrievals. -Y, --proxy=on/off turn proxy on or off. -Q, --quota=NUMBER set retrieval quota to NUMBER. Directories: -nd --no-directories don't create directories. -x, --force-directories force creation of directories. -nH, --no-host-directories don't create host directories. -P, --directory-prefix=PREFIX save files to PREFIX/... --cut-dirs=NUMBER ignore NUMBER remote directory components. HTTP options: --http-user=USER set http user to USER. --http-passwd=PASS set http password to PASS. -C, --cache=on/off (dis)allow server-cached data (normally allowed). --ignore-length ignore `Content-Length' header field. --header=STRING insert STRING among the headers. --proxy-user=USER set USER as proxy username. --proxy-passwd=PASS set PASS as proxy password. -s, --save-headers save the HTTP headers to file. -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION. FTP options: --retr-symlinks retrieve FTP symbolic links. -g, --glob=on/off turn file name globbing on or off. --passive-ftp use the "passive" transfer mode. Recursive retrieval: -r, --recursive recursive web-suck -- use with care!. -l, --level=NUMBER maximum recursion depth (0 to unlimit). --delete-after delete downloaded files. -k, --convert-links convert non-relative links to relative. -m, --mirror turn on options suitable for mirroring. -nr, --dont-remove-listing don't remove `.listing' files. Recursive accept/reject: -A, --accept=LIST list of accepted extensions. -R, --reject=LIST list of rejected extensions. -D, --domains=LIST list of accepted domains. --exclude-domains=LIST comma-separated list of rejected domains. -L, --relative follow relative links only. --follow-ftp follow FTP links from HTML documents. -H, --span-hosts go to foreign hosts when recursive. -I, --include-directories=LIST list of allowed directories. -X, --exclude-directories=LIST list of excluded directories. -nh, --no-host-lookup don't DNS-lookup hosts. -np, --no-parent don't ascend to the parent directory.
对于在Linux上安装Docker和RocketMQ的详细步骤,你可以参考以下指南: 安装Docker: 1. 首先,确保你的Linux系统满足Docker的要求。通常,Docker要求使用64位的操作系统,并且内核版本要在3.10以上。 2. 打开终端,更新系统的软件包列表:`sudo apt update` 3. 安装必要的软件包,以便可以通过HTTPS使用仓库:`sudo apt install apt-transport-https ca-certificates curl software-properties-common` 4. 添加Docker的官方GPG密钥:`curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg` 5. 设置稳定版的Docker仓库:`echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null` 6. 更新软件包列表:`sudo apt update` 7. 安装Docker引擎:`sudo apt install docker-ce docker-ce-cli containerd.io` 8. 验证Docker是否正确安装:`sudo docker run hello-world`,如果成功运行,说明Docker已经安装成功。 安装RocketMQ: 1. 首先,确保你已经安装了Java开发套件(JDK)。 2. 在终端中,下载RocketMQ的最新发行版:`wget https://archive.apache.org/dist/rocketmq/4.8.0/rocketmq-all-4.8.0-bin-release.zip` 3. 解压下载的压缩包:`unzip rocketmq-all-4.8.0-bin-release.zip` 4. 进入解压后的目录:`cd rocketmq-all-4.8.0-bin-release` 5. 在`bin`目录下,启动Name Server:`./mqnamesrv` 6. 在另一个终端窗口中,启动Broker:`./mqbroker -n localhost:9876` 7. 验证RocketMQ是否正确安装,可以尝试发送和接收消息。 请注意,以上步骤仅提供了基本的安装过程。在实际操作中,你可能还需要根据自己的需求进行一些额外的配置和调整。建议你查阅Docker和RocketMQ的官方文档,以获得更详细的信息和指导。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值