Dragon
  • 欢迎您的来访,留言,投稿!欢迎(Ctrl + D)收藏并经常访问本站 ---- www.scczz.com
小王总小王总  2023-07-29 14:45  16 
文章评分 0 次,平均分 0.0
  • 站长QQ:396305826 点击此处添加好友
  • 站长WX:tenxunxiaowng
  • 如果你希望得到一些帮助,直接联系我是一个好办法。
当前内容已被隐藏,请输入密码查看

2023-0525 检测是否可以访问 ChatGPT 脚本 来源


bash <(curl -Ls https://raw.githubusercontent.com/missuo/OpenAI-Checker/main/openai.sh)

2023-4-29 修改检测是否可以访问 ChatGPT 脚本


bash <(curl -Ls https://ourl.co/oaic)

bash <(curl -Ls https://cdn.jsdelivr.net/gh/missuo/OpenAI-Checker/openai.sh)

综合工具箱(强烈推荐,集成了很多脚本)


wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

杜甫测试


wget -q https://github.com/Aniverse/A/raw/i/a && bash a

2、MoeClub 脚本
重点推荐:

时间:22/11/2021 15:21 萌咖更新脚本:

1. 新增对 Oracle AMD,Oracle ARM 全面支持。可支持从 Ubuntu, Oracle Linux 等系统网络重装.
2. 更新 dd 镜像的基础系统版本.
3. 移除对外部 wget 的依赖.
4. 新增 -port 参数,可更改默认 SSH 端口.
5. 更新 内置的网络参数计算 逻辑.
6. 更新 grub 配置文件定位逻辑,可支持任意引导 grub 的系统.

以下系统已通过测试 (其他自测):
Debian: 9, 10, 11;
Ubuntu: 18.04, 20.04;
CentOS: 6.10;
以下平台已通过测试 (其他自测):
Oracle、Do、Azure


bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"

-d 10 -v 64
-d 9 -v 64
-u 20.04 -v 64
-u 18.04 -v 64

开机改密码脚本:

开机改密:


#!/bin/bash
echo root:Vicer |sudo chpasswd root
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot

测速

国内服务器带宽测试

bash <(wget -qO- https://down.vpsaff.net/linux/speedtest/superbench.sh) --speed

VPS 融合怪测评脚本

curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
# 国内
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh

无交互形式

echo 1 | bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecs/raw/main/ecs.sh)
# 国内
echo 1 | bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

单线程测试


bash <(curl -Lso- https://bench.im/hyperspeed)

最全测速脚本


curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

superbench


wget -qO- git.io/superbench.sh | bash

Bench.sh


wget -qO- bench.sh | bash

速度测试
显示延迟、抖动


bash <(wget -qO- https://bench.im/hyperspeed)

直接显示回程线路


curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget -q route.f2k.pub -O route && bash route

# 第一个


wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh

# 第二个


wget -qO- git.io/besttrace | bash

四网测速


wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh

bash jcnf.sh
三网测速


bash <(curl -Lso- https://git.io/superspeed_uxh)

带快速四网测试版本:


bash <(curl -Lso- https://dl.233.mba/d/sh/speedtest.sh)
bash <(curl -Lso- https://git.io/J1SEh)

测试 25 端口是否开放


telnet smtp.aol.com 25

测试 IPv4 优先还是 IPv6 优先


curl ip.p3terx.com

流媒体测试
全媒体测试


bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)

奈飞测试


wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf

#第一个


bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)

# 第二个


bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")

WARP


wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh

之后进入脚本快捷方式为 bash multi.sh

服务器时间
CentOS 同步时间


yum -y install ntpdate
timedatectl set-timezone Asia/Shanghai
ntpdate ntp1.aliyun.com
BBR
CentOS 7 BBR
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

一键开启 BBR
注意:需要 Linux Kernel 内核升级到 4.9 及以上版本可以实现 BBR 加速

uname -srm
输出结果:


Linux 3.10.0-957.12.2.el7.x86_64 x86_64
3 - 内核版本.
10 - 主修订版本.
0-957 - 次要修订版本.
12 - 补丁版本.

一般来说,Ubuntu18.04 以上就可以 (默认的内核 4.15)


echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

sysctl -p

sysctl net.ipv4.tcp_available_congestion_control

lsmod | grep bbr

CentOS 关闭防火墙


systemctl start supervisord
systemctl disable firewalld
systemctl stop firewalld

XUI


bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

https://github.com/FranzKafkaYu/x-ui


wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
大流量卡腾讯云服务器
京东云服务器
扫一扫二维码分享