KMS使用
KMS 激活服务,使用KMS激活Windows系统和Office软件
假定KMS服务器为kms.xxx.org
,使用默认端口1688
Windows激活步骤(管理员命令执行)
设置服务
slmgr -skms kms.xxx.org
安装密钥
slmgr -ipk 版本对应秘钥
激活系统
slmgr -ato
KMS 激活服务,使用KMS激活Windows系统和Office软件
假定KMS服务器为kms.xxx.org
,使用默认端口1688
Windows激活步骤(管理员命令执行)
设置服务
slmgr -skms kms.xxx.org
安装密钥
slmgr -ipk 版本对应秘钥
激活系统
slmgr -ato
备份现在系统驱动程序到D盘的Drivers目录
管理员权限运行命令:
dism /online /export-driver /destination:"D:\Drivers"
https://computingforgeeks.com/how-to-install-openssl-1-1-on-centos-rhel-7/
$ sudo yum -y groupinstall "Development Tools"
$ wget https://www.openssl.org/source/openssl-1.1.1w.tar.gz
$ tar xvf openssl-1.1.1w.tar.gz
$ cd openssl-1.1.1w
$ ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1w (0x1010117fL) for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
tdl
是一个 Telegram Downloader,具有以下特性:
单文件启动
低资源占用
吃满你的带宽
比官方客户端更快
支持从受保护的会话中下载文件
具有自动回退和消息路由的转发功能
支持上传文件至 Telegram
导出历史消息/成员/订阅者数据至 JSON 文件
1.登录
使用桌面端
tdl login
使用二维码
tdl login -T qr
使用手机号码和验证码
tdl login -T code
2.下载
找到对应的消息,右键复制链接(Copy Post Link)
tdl dl -u https://t.me/xxxxxx/xxxx -d C:\Users\Downloads
3.参数
-d /path/to/dir
-t 8 -s 524288 -l 4
-l 4
-s 524288
--skip-same
--continue
--restart
HTTP 文件服务器(使用下载管理器(如 aria2/wget/axel/IDM)下载文件) --serve
--port 8081
过滤器(白名单和黑名单不能同时使用)
-i jpg,png
-e mp4,flv
当下载完成会在屏幕右上角弹出一个提示框显示具体下载完成的文件名,同时中文语音播报:“有个文件下载完成,请查收!”
1.创建download-complete-hook.sh脚本,放置到~/.aria2/目录
$ cat download-complete-hook.sh
#!/bin/sh
# 变量 3 表示下载完成文件的路径
fname=`basename $3`
osascript <<EOF
display notification "$fname 已经下载完成!" with title "【下载完成】"
say "有个文件下载完成,请查收!"
EOF
2.设置运行权限:
chmod +x ~/.aria2/download-complete-hook.sh