Windows系统上的wget 2021-1-5

需求: Windows系统环境下,偶尔下载东西,没有必要用浏览器,需要一个轻量化的工具,这个时候GNU Wget for Windows就闪亮登场了

官方网站地址 https://www.gnu.org/software/wget/

镜像网站地址 http://mirrors.kernel.org/gnu/wget/

2021-1-5 Dasmz从 https://eternallybored.org/misc/wget/ 下载到的版本是 1.20.3 https://eternallybored.org/misc/wget/1.20.3/64/wget.exe

Wget用法比较简单 基础用法如下:

Windows-cmd > wget.exe https://www.somedomain.com/filename.tar.gz
Donate
云乞讨

Debian 9或者Debian 10设置apt包管理的走HTTP代理的方式 2021-12-26

需求描述
为内网环境的机器的apt或者yum配置HTTP代理, 本次设置的内容为Debian 9的apt的HTTP代理

2021-12-26 更新文档,在Debian 10系统环境上验证成功

临时用法
root@server:~# 'http_proxy=http://PROXYSERVERIP:PROXYPORT' apt update
永久设置的配置方法
编辑
root@server:~# vi /etc/apt/apt.conf.d/02proxy
增加内容
Acquire::http::Proxy "http://PROXYSERVERIP:PROXYPORT";
Acquire::https::Proxy "https://PROXYSERVERIP:PROXYPORT";

或者,写入内容的语法为:

Acquire {
  http::Proxy "https://PROXYSERVERIP:PROXYPORT";
  https::Proxy "https://PROXYSERVERIP:PROXYPORT";
}
Acquire {
  http::Proxy "https://10.11.11.161:11109";
  https::Proxy "https://10.11.11.161:11109";
}
Donate
云乞讨