💖常用一键脚本

一些常用的一键脚本,既然是一键脚本平时可能多少会用到一些,每次去网站提取太麻烦了,在这里留下记录好。

docker

curl -sSL https://get.docker.com/ | sh #一键安装

#Docker-compose
#国外
curl -L "https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
#国内

#国内封禁后一键安装docker
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)


加速

#锐速
wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh
#BBR
wget -N --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && bash bbr.sh
#BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
#一键安装BBR2
wget --no-check-certificate -q -O bbr2.sh "https://raw.githubusercontent.com/yeyingorg/bbr2.sh/master/bbr2.sh" && chmod +x bbr2.sh && bash bbr2.sh auto
安装内核后自动重启,重启后自动安装BBR2,开启ECN
#warp一键项目
https://github.com/kkkyg/CFwarp#vps%E7%9A%84ip%E5%A5%97%E4%B8%8Awarp%E5%8A%9F%E8%83%BD%E7%9A%84%E4%BC%98%E5%8A%BF%E5%8F%8A%E4%B8%8D%E8%B6%B3
#Cloudflare WARP 多功能一键脚本
wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/kkkyg/CFwarp/CFwarp.sh && chmod +x CFwarp.sh && ./CFwarp.sh

#gg 代理工具
sudo sh -c "$(curl -L https://hubmirror.v2raya.org/raw/mzz2017/gg/main/release/go.sh)"
gg --node vless://dd2590f8-1b8b-44de-c603-463df95e4f05@oncdn.imgki.com:443?encryption=none&security=tls&sni=spgone.imgki.com&type=ws&host=spgone.imgki.com&path=%2Fuploads#%E2%9E%8F%20%E6%96%B0%E5%8A%A0%E5%9D%A1%20CDN speedtest
项目地址:https://github.com/mzz2017/gg

透传

#MvsCode/frp-onekey的一键frp(非clangcn )
wget https://raw.githubusercontent.com/MvsCode/frp-onekey/master/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install

#gitee
wget https://gitee.com/mvscode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install


#如果国内failed,用以下迁移到国内
wget https://code.aliyun.com/MvsCode/frp-onekey/raw/master/install-frps.sh -O ./install-frps.sh
#socat中转
wget https://www.moerats.com/usr/shell/socat.sh && bash socat.sh
原来用doubi的但是长期不更新了,感觉moerats更好用。

测试

#跑分
wget -qO- bench.sh | bash 

#测速页面
docker run -d -p 9001:80 -it badapple9/speedtest-x

#YABS(推荐)GitHub开源地址
wget -qO- yabs.sh | bash
curl -sL yabs.sh | bash -s -- -i

#spiritlhl融合怪测评脚本使用命令
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

bash <(wget -qO- bash.spiritlhl.net/ecs)
测试记录
1. 绿云hk:https://paste.spiritlhl.net/u/szPTGy.txt
2. LiterSer :https://paste.spiritlhl.net/u/3MbyG3.txt
3. Chunbits:https://paste.spiritlhl.net/u/wqTEnA.txt
4. GGY HK: https://paste.spiritlhl.net/u/sOQk1Q.txt
5. HosthatHK:https://paste.spiritlhl.net/u/265Qst.txt
6. Tencent BJ:https://paste.spiritlhl.net/u/1rZqxl.txt
7. Tencent GZ:https://paste.spiritlhl.net/u/3B7wLM.txt
8. 甲骨文春川:https://paste.spiritlhl.net/u/tecXcK.txt
9. 甲骨文ARM:https://paste.spiritlhl.net/u/tSmjPA.txt
10. HosthatchHK100刀:https://paste.spiritlhl.net/u/g5A0Cr.txt



回程测试

#Simple
wget -qO- git.io/besttrace | bash

#NextTrace
bash -c "$(curl http://nexttrace-io-leomoe-api-a0.shop/nt_install_v1.sh)"
nexttrace --fast-trace

#Wiki的测速docker
docker run -d --name looking-glass --restart always --network host wikihostinc/looking-glass-server

流媒体检测

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

工具箱

#BlueSkyXN 综合工具箱 Linux Supported ONLY
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
#jcnf 常用脚本工具包
yum install -y curl wget 2> /dev/null || apt install -y curl wget
wget -O jcnfbox.sh https://raw.githubusercontent.com/Netflixxp/jcnf-box/main/jcnfbox.sh && chmod +x jcnfbox.sh && clear && ./jcnfbox.sh

DD

bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a --mirror 'https://mirrors.huaweicloud.com/debian/' -p password

bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -p password

moeclub大佬的脚本
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p password  -a -firmware

leitbogioro大佬的脚本(推荐)
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd '密码'

富强

#V2ray-233 一键
bash <(curl -s -L https://233blog.com/v2ray.sh)

#SS/SSR四合一脚本
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

#Vmess+websocket+TLS+Nginx+Website:
bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh) | tee v2ray_ins.log

项目地址:https://github.com/wulabing/V2Ray_ws-tls_bash_onekey
可以加goedge cdn

#loyess/Shell一键ss+V2ray插件
wget -N --no-check-certificate -c -t3 -T60 -O ss-plugins.sh https://git.io/fjlbl
chmod +x ss-plugins.sh
./ss-plugins.sh

#八合一共存脚本+伪装站点
项目地址:https://github.com/mack-a/v2ray-agent
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


### Xray+Nginx 包含 VLESS WebSocket/gRPC+TLS / XTLS+TCP 协议的一键安装脚本
bash <(curl -Ss https://www.idleleo.com/install.sh)

### 一键部署naiveproxy
GitHub: https://github.com/RayWangQvQ/naiveproxy-docker
# create a dir
mkdir -p ./naive && cd ./naive
# install
bash <(curl -sSL https://raw.githubusercontent.com/RayWangQvQ/naiveproxy-docker/main/install.sh)

### 233blog新一键
bash <(wget -qO- -o- https://git.io/v2ray.sh)
233新一键的逻辑挺好的,我喜欢

### x-ui

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

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

其他

#反向代理
https://github.com/NginxProxyManager/nginx-proxy-manager
#更换国内源
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
#更换国内源
bash <(curl -sSL https://linuxmirrors.cn/main.sh)