很多都是直接引用的一键脚本(套娃),方便记忆
1. 一键安装besttrace脚本
- bash <(curl –sL haoduck.com/sh/besttrace.sh)
2. Linux一键安装常见/最新内核脚本 锐速/BBRPLUS/BBR2
- bash <(curl –sL haoduck.com/sh/tcpx.sh)
3. 一键配置SSH密钥登录,禁用密码登录
- bash <(curl –sL haoduck.com/sh/pubkey.sh) “你的公钥”
4. 一键检测NF解锁脚本
- bash <(curl –sL haoduck.com/sh/nf.sh)
- bash <(curl –sL haoduck.com/sh/nf2.sh)
5. 一键安装Docker
- bash <(curl –sL haoduck.com/sh/docker.sh)
6. 一键安装运行测速speedtest-x
要先安装Docker
- bash <(curl –sL haoduck.com/sh/speedtest–x.sh)
7.一键安装Rclone脚本
- bash <(curl –sL haoduck.com/sh/rclone.sh)
8.一键分享文本脚本(paste.ubuntu.com)
- bash <(curl –sL haoduck.com/sh/paste.sh) “分享的文本”
也可以传文件内容,比如上传/root/test.txt
里的内容
- bash <(curl –sL haoduck.com/sh/paste.sh) “$(cat /root/test.txt)”
9.Linux一键修改主机名脚本
- bash <(curl –sL haoduck.com/sh/hostname.sh) “主机名”
10.OpenVZ一键添加SWAP虚拟内存脚本
示例是添加512M的SWAP,可以自行修改为1024(1G) 2048(2G)等等
- bash <(curl –sL haoduck.com/sh/ovz_add_swap.sh) 512
11. 一键安装运行临时邮箱forsaken-mail
要先安装Docker,下面两个是等同的,运行哪个都行
- bash <(curl –sL haoduck.com/sh/forsaken–mail.sh)
- bash <(curl –sL haoduck.com/sh/lsyx.sh)
12. 一键自签域名/IP SSL证书
要使用openssl(一般Linux系统都预装有)
- bash <(curl –sL haoduck.com/sh/ssl.sh)
13. 一键配置SSH启用ROOT用户密码登录
- bash <(curl –sL haoduck.com/sh/ssh_open.sh)
14. 一键干掉宝塔强制登录
- bash <(curl –sL haoduck.com/sh/bt_rm_login.sh)
15. 一键WARP添加IPV6/IPV4脚本(可解锁Netflix)
后面的参数ipv6代表添加ipv6保留ipv4,参数为ipv4反之,二选其一
如果用完就断网了(SSH也断开),通常是ipv4/ipv6的参数搞错了导致的,重启VPS即可
- bash <(curl –sL haoduck.com/sh/warp.sh) ipv6
- bash <(curl –sL haoduck.com/sh/warp.sh) ipv4
16. Linux一键安装firefox浏览器
需要先安装Docker
- bash <(curl –sL haoduck.com/sh/firefox.sh)