shbox常用脚本集合|添加aapanel和升级最新Debian系统

linux admin 11个月前 (06-12) 349次浏览 0个评论

概述

此脚本本人常用脚本的集合,个人使用了一段时间,感觉还不错,但是大部分脚本和文件从自己的服务器拉取的,便修改了一下,去除了从个人服务器拉取的脚本和文件,目前几乎所有脚本和文件依赖都拉取自github。 仅限Debian系系统,本人能力有限,其他系统请自行修改。

用自己的垃圾脚本缝合众位大佬的优秀脚本,不喜勿喷。

使用

#下载使用脚本
wget https://ghproxy.com/https://raw.githubusercontent.com/jamespan2012/shbox/main/shbox.sh -O shbox.sh && bash shbox.sh

#后续运行脚本(再次检查也仅需运行下面代码)
bash shbox.sh

更新

  • 0.0.3

添加aapanel和升级Debian系统

WIKIHOST 提供了 Debian 升级脚本

提供从

Debian 9 升级到 Debian 10
Debian 10 升级到 Debian 11
Debian 11 升级到 Debian 12

(适用于全部 Debian 系统主机)

升级命令

bash <(curl -sSL https://raw.githubusercontent.com/wikihost-opensource/linux-toolkit/main/system-upgrade/debian.sh)

Debian 12 现已可用

最大变化:
没有 ifupdown 了, 默认网络管理程序更换为 systemd-networkd

默认cloud-init交付到 /run/systemd/network/10-netplan-eth0.network

 

(仅限 realServer 面板的虚拟机可用)

  • 0.0.2

1.添加魔法上网二级菜单

2.替换LemonBench脚本地址

3.添加建站环境安装二级菜单(宝塔、lnmp、oneinstack,screen运行,若ssh断开重连后 screen -r 即可继续安装)

4.添加docker版v2ray/xray安装(docker中的目录挂载在宿主机/root/v2ray和/root/xray目录,需自行修改其中的配置文件)

5.添加ICMP回程测试

  • 0.0.1

功能说明

所有脚本都来源于公开项目

  • 1.首次运行会安装常用命令,安装tcping、speedtest,拉取doubi、Port-forwarding、Multi-EasyGost、EasyRealM以便于使用gost、realm。
  • 2.要使用docker版x-ui,请先安装docker,docker版x-ui将容器目录/etc/x-ui/挂载到本地/root/x-ui/db/,将容器目录/root/cert/挂载到本地/root/x-ui/cert/。
  • 3.DD脚本,如果系统重启后失联,请进vnc编辑/etc/network/interfaces文件注释掉allow-hotplug ensX,添加一行auto ensX。

输入数字选择需要进行的测试。

https://github.com/jamespan2012/shbox

image


所有脚本都来源于以下项目,本人未作任何修改

shbox https://github.com/jamespan2012/shbox

multi-v2ray https://github.com/Jrohy/multi-v2ray

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

Linux-NetSpeed https://github.com/ylx2016/Linux-NetSpeed

AutoReinstall.sh https://github.com/hiCasper/Shell

RegionRestrictionCheck https://github.com/lmc999/RegionRestrictionCheck

yabs https://github.com/masonr/yet-another-bench-script

LemonBench https://blog.ilemonrain.com/linux/LemonBench.html

superbench https://github.com/jamespan2012/shbox/blob/main/dependencies/superbench.sh

ServerStatus-Hotaru https://github.com/cokemine/ServerStatus-Hotaru

Aurora-Admin-Panel https://github.com/Aurora-Admin-Panel/deploy

xd-panel https://sh.xdmb.xyz/xiandan/xd.sh

linux-toolkit https://github.com/wikihost-opensource/linux-toolkit


VPS小白 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:shbox常用脚本集合|添加aapanel和升级最新Debian系统
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址