融合怪测试脚本
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
或
bash <(wget -qO- bash.spiritlhl.net/ecs)
Geekbench6 脚本
curl -sL yabs.sh | bash
一键DD linux/windows脚本
kvm dd脚本:https://www.nodeseek.com/post-9383-1
lxc/openvz dd脚本:https://www.nodeseek.com/post-5159-1
windows ddlinux脚本:https://www.nodeseek.com/post-9641-1
Alist
安装
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install
更新
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update
卸载
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall
rclone
正式版
curl https://rclone.org/install.sh | sudo bash
beta版
curl https://rclone.org/install.sh | sudo bash -s beta
WARP
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
Aliyunpan CLI
sudo curl -fsSL http://file.tickstep.com/apt/pgp | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg > /dev/null && echo "deb [signed-by=/etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg arch=amd64,arm64] http://file.tickstep.com/apt aliyunpan main" | sudo tee /etc/apt/sources.list.d/tickstep-aliyunpan.list > /dev/null && sudo apt-get update && sudo apt-get install -y aliyunpan
网络质量体检脚本
bash <(curl -sL Net.Check.Place)
流媒体解锁测试脚本
bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)
docker安装脚本
curl -fsSL https://get.docker.com | bash -s docker
国内源
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
Caddy
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
配置网络ipv4优先
echo "precedence ::ffff:0:0/96 100" | sudo tee -a /etc/gai.conf
关闭ipv6网络
sudo nano /etc/sysctl.conf
末尾添加
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
保存退出
sudo sysctl -p
修改dns解锁流媒体
- 检查是否被锁定
lsattr -l /etc/resolv.conf
如果输出中包含 Immutable(不可变标志),说明文件被 chattr +i
锁定。
- 解锁文件
使用chattr -i
移除不可变属性:sudo chattr -i /etc/resolv.conf
- 修改 DNS
备份原始文件sudo cp /etc/resolv.conf /etc/resolv.conf.bak
将 DNS 修改为 解锁DNS
sudo bash -c 'echo "nameserver 154.83.xxx.xx" > /etc/resolv.conf'
- 重新锁定文件
sudo chattr +i /etc/resolv.conf
- 确认锁定生效
lsattr -l /etc/resolv.conf
输出应显示
Immutable
注意事项
动态管理的情况:如果 /etc/resolv.conf 是符号链接(例如指向 /run/systemd/resolve/stub-resolv.conf),直接修改和锁定可能无效,因为系统服务会在重启或网络变化时覆盖它。检查方法:
ls -l /etc/resolv.conf
如果是符号链接,则进行下面操作
禁用 stub-resolv.conf
- 编辑 /etc/systemd/resolved.conf:
echo "[Resolve]" >> /etc/systemd/resolved.conf echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
- 重启服务
systemctl restart systemd-resolved
- 删除符号链接并创建静态文件
rm /etc/resolv.conf echo "nameserver 154.83.xxx.xx" > /etc/resolv.conf chattr +i /etc/resolv.conf
cloudflare 公共DNS
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
Google公共DNS
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844