MoonTv 一键搭建数据接口

使用方法:  https://video.gaojilingjuli.top/?url=https://raw.githubusercontent.com/666zmy/MoonTV/refs/heads/main/config.json&pretty=true  addEventListener ( 'fetch' , event => {   event . respondWith ( handleRequest ( event . request )) } ) async function handleRequest ( request ) {   try {     // 解析 URL 参数     const url = new URL ( request . url )     const targetUrl = url . searchParams . get ( 'url' )         if ( !targetUrl ) {       return new Response ( 'Missing url parameter' , { status : 400 } )     }         // 验证 URL 格式     try {       new URL ( targetUrl )     } catch {       return new Response ( 'Invalid URL format' , { status : 400 } )     }         // 从远程获取 JSON     const response = await fetch ( targetUrl )       ...

在白嫖的serv00vps上一键搭建运行sing-box,支持vmss,reality

项目地址:https://github.com/RayWangQvQ/sing-box-installer
视频教程:https://www.youtube.com/watch?v=l5GIZnBofow

1.首先登录ssh 后台

2.查找自己的ip






  这里会显示2个ip 使用其中一个就可以

开放端口,可以外网访问


这里我开放了,2个端口,一个vmss 协议,一个reality协议使用

上面准备好了,开始执行安装;

mkdir -p ./sing-box && cd ./sing-box

bash <(curl -sSL https://raw.githubusercontent.com/RayWangQvQ/sing-box-installer/main/install-serv00.sh)

如果你报错类似的错误: /tmp//sh-np.JTiO97: line 374: /home/lingjuli/.bashrc: No such file or directory

执行这个: touch /home/lingjuli/.bashrc


出现了安装界面


选择: 1.  安装sing-box
这个就按照提示,前面准备的ip 和端口填上




生成节点成功可以玩耍了

评论

  1. 有没有重启sing-box的命令,或者自动重启sing-box的命令?

    回复删除
    回复
    1. Ws ကမရတာလာ။

      Tcpဆိုးကျနော်တို့မှာအသုံးပြုမရဘူး

      删除

发表评论

此博客中的热门博文

Cloudflare WARP+,推出 MASQUE新协议,无需优选ip,直连,支持pc ,Android,ios ,MAC ,linux,附赠近1K个Warp+ 20-24PB的key