共计 831 个字符,预计需要花费 3 分钟才能阅读完成。
提醒:本文最后更新于2026-09-15 11:33,文中所关联的信息可能已发生改变,请知悉!
![]()
Github地址:https://github.com/Davenchy/live-torrent
1、安装Nodejs
curl -sL https://rpm.nodesource.com/setup_10.x | bash - yum install nodejs git -y
2、安装live-torrent
#git程序
git clone https://github.com/Davenchy/live-torrent
#进入目录
cd live-torrent
#安装依赖
npm i
#运行
npm run build
nohup npm start&
完成后访问ip:3000访问即可。
Docker版
#CentOS 7、Debian、Ubuntu
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker
docker run --restart=always --name live-torrent -d -p 6060:8080 davenchy/live-torrent
完成后访问ip:6060访问就可以了。
如果无法访问可能是防火墙没有放行端口
如CentOS系统防火墙开启命令,比如开放6060端口:
firewall-cmd --zone=public --add-port=6060/tcp --permanent firewall-cmd --reload
正文完