前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >VPS常用脚本合集

VPS常用脚本合集

作者头像
冬冬i
发布2022-12-05 15:48:43
6.8K0
发布2022-12-05 15:48:43
举报
文章被收录于专栏:冬雷博客冬雷博客

所有收集的脚本均来自与网络,不定期更新。

  • 三网回程路由测试
代码语言:javascript
复制
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
  • 流媒体NetFlix解锁检测脚本
代码语言:javascript
复制
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/v3.1.0/nf_linux_amd64 && chmod +x nf && ./nf
  • SuperSpeed三网测速脚本(修复版)
代码语言:javascript
复制
bash <(curl -Lso- https://www.infski.com/files/superspeed.sh)
  • Debian/Ubuntu/CentOS 网络重装一键脚本
代码语言:javascript
复制
wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh

CentOS的密码是:Pwd@CentOS 其他系统密码是:Pwd@Linux

  • 国内VPS DD脚本(debian11)
代码语言:javascript
复制
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -p MoeClub.org --mirror 'http://mirrors.ustc.edu.cn/debian/'

全自动安装默认root密码:MoeClub.org

如果想要debian10,那么在-d之后把11改成10,-v是位数,32,64位,-p后是密码,默认MoeClub.org

  • 预加载脚本,取消密钥登录改为密码登录(GCP/AWS)
代码语言:javascript
复制
echo root:iDonglei |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 service sshd restart
  • AWS EC2 DD脚本
代码语言:javascript
复制
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -d 11 -v 64 -a --ip-addr 172.x.x.x --ip-gate 172.26.x.x --ip-mask 255.255.240.0 --mirror 'http://mirror.xtom.com.hk/debian/'

代码里面XX的参数根据自己的自行更换

ip-addr :IP Address/IP地址

ip-gate :Gateway /网关

ip-mask :Netmask /子网掩码

默认密码为 MoeClub.org

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2022-12-04,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档