云服务器-vps各种检测使用脚本

云服务器-vps各种检测使用脚本-心云博客
云服务器-vps各种检测使用脚本
此内容为免费阅读,请登录后查看
0
免费阅读

收录了各种形式的云服务器使用脚本,检测服务器配置怎么样还得靠实际测出的结果

20260119101548882-image

脚本大全

选择自己vps的地区即可

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

在Debian系统中,DNS配置需要修改/etc/resolv.conf文件。

 
sudo nano /etc/resolv.conf

输入回车等待检测完成即可

 
bash <(curl -Ls IP.Check.Place)

输入回车等待检测完成即可

 
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh

简单教程,邮箱需要改一下,不能用默认的@example.com

 
curl https://get.acme.sh | sh -s email=my@example.com

作者教程,一般能直接打开,不行可能需要合理上网才能打开

 
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

用来在中转机上配置端口转发。

 
bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)

github文档,用来在软路由上配置透明代理。

 
sudo -i  #切换到root用户,如果需要密码,请输入密码
bash     #如已处于bash环境可跳过
export url='https://fastly.jsdelivr.net/gh/juewuy/ShellCrash@master' && wget -q --no-check-certificate -O /tmp/install.sh $url/install.sh  && bash /tmp/install.sh && source /etc/profile &> /dev/null

升级ssh用来恢复维护者提供的ssh配置文件。

 
sudo apt update

sudo apt install --only-upgrade openssh-server openssh-client
© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容