一键安装miaospeed脚本

2024 年 8 月 1 日 星期四(已编辑)
195
1
这篇文章上次修改于 2024 年 8 月 2 日 星期五,可能部分内容已经不适用,如有疑问可询问作者。

一键安装miaospeed脚本


仓库地址: https://github.com/heinu123/install_miaospeed

--url

miaospeed tar.gz 压缩包下载地址 无默认下载 url

example:

--url https://github.com/moshaoli688/miaospeed/releases/download/v4.3.7/miaospeed_4.3.7_linux_amd64.tar.gz

--path(可选)

miaospeed 工作/下载路径 默认路径:/opt/miaospeed

example:

--path /root/miaospeed

--update(可选)

仅下载 miaospeed example:

--update

--mtls(可选)

开启 miaospeed 的 TLS example:

--mtls

--port

设置 miaospeed 的运行端口 example:

--port 9855

--connthread(可选)

设置 miaospeed 的测速线程数量 默认为 64 线程

example:

--connthread 8

--nospeed(可选)

设置 miaospeed 为禁止测速 (仅允许拓扑结构测试 流媒体测试等) example:

--nospeed

--pausesecond(可选)

设置 miaospeed 的每次测速任务后暂停时间段 (单位:秒) example:

--pausesecond 60

--speedlimit(可选)

设置 miaospeed 的测速任务速度限制 (单位:字节) example:

--speedlimit 1024000

--verbose(可选)

设置 miaospeed 记录日志 example:

--verbose

--mmdb(可选)

将 miaospeed 的 geoip 查询重新路由到指定 mmdb 库 使用 url 并且未设置--path参数会将 mmdb 库文件下载到:/opt/miaospeed/Country.mmdb**

example:

local

--mmdb /opt/miaospeed/Country.mmdb

url

--mmdb https://jsd.onmicrosoft.cn/gh/Loyalsoldier/geoip@release/Country.mmdb

--token

设置 miaospeed 的加密 token example:

--token miaospeed

--whitelist

设置 miaospeed 的白名单 bot id example:

--whitelist 123456,78910

--nohup

使用 nohup 运行 example:

--nohup

Example

wget -O install.sh https://raw.githubusercontent.com/heinu123/install_miaospeed/main/install.sh
bash install.sh --url https://github.com/moshaoli688/miaospeed/releases/download/v4.3.7/miaospeed_4.3.7_linux_amd64.tar.gz --port 9855 --token miaospeed --mtls --mmdb https://jsd.onmicrosoft.cn/gh/Loyalsoldier/geoip@release/Country.mmdb

使用社交账号登录

  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...