常用脚本命令

全部命令收集于互联网,对于我这样只会复制粘贴的小白降低了折腾的门槛,感谢各位大佬的辛苦付出。

系统必要组建及更新:

apt update -y && apt install -y curl socat wget nano

alice流媒体检测

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

bin456789 dd脚本

(用户名root密码123@@@,可能首次启动后密码才生效)

#国外服务器
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh

#国内服务器
curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh

#Linux 下运行
bash reinstall.sh

kejilion脚本

curl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

乱码用这个

curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

eooce脚本(功能同kejilion)

curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh

nezha优先展示IPv6旗帜

bash <(curl https://raw.githubusercontent.com/xykt/Utilities/main/nezha/ipv6flag.sh)

在alpine中安装hysteria2一键脚本

wget -O hy2.sh https://raw.githubusercontent.com/zrlhk/alpine-hysteria2/main/hy2.sh  && sh hy2.sh

alpine x-ui 一键脚本

apk add curl&&apk add bash && bash <(curl -Ls https://raw.githubusercontent.com/Lynn-Becky/Alpine-x-ui/main/alpine-xui.sh)

流媒体检测(是否原生)

bash <(curl -L -s media.ispvps.com)

流媒体解锁守护

bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh

甬哥sing-box脚本

bash <(curl -Ls https://gitlab.com/rwkgyg/sing-box-yg/raw/main/sb.sh)

3x-ui

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

本脚本目标在仅ipv6的系统上提供ipv4+ipv6双栈访问能力

apt install -y curl && bash <(curl -Ls https://raw.githubusercontent.com/Lynn-Becky/v6_only/main/v4.sh)

vps回程测试脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh

甲骨文保活

curl -L https://gitlab.com/spiritysdx/Oracle-server-keep-alive-script/-/raw/main/oalive.sh -o oalive.sh && chmod +x oalive.sh && bash oalive.sh

warp

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh 4

warp go

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/warp-go.sh && bash warp-go.sh

ygkkk-warp

bash <(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh 2> /dev/null)

Fail2ban

这是一个利用iptables和开源程序fail2ban来进行服务器简单防爆破的脚本。默认自带SSH防御规则。

安装

wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log

卸载

wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/uninstall.sh && bash uninstall.sh

众所周知,github主站的github.com会长期V6无法访问,明明用了cf或者google的dns也不行

所以大家为了方便可能都采用了warp的方法

不过除了这个办法外,我们还能采用DNS64-NAT64的dns来解决

DNS-NAT64 1德国

echo -e "nameserver 2a01:4f8:c2c:123f::1\nnameserver 2a00:1098:2c::1\nnameserver 2a01:4f9:c010:3f02::1" > /etc/resolv.conf

DNS-NAT64 2芬兰

echo -e "nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注