Code Monkey home page Code Monkey logo

yunbt's Introduction

YunBT

##安装

Aria2 安装:

Debian 8系统 apt-get 安装

apt-get update && apt-get install -y aria2 

创建目录:

mkdir /root/.aria2 

修改配置文件: 下载配置文件:http://webdir.cc/aria2.conf

修改配置信息请参考:aria2.conf

保存到刚刚的目录上

wget http://webdir.cc/aria2.conf /root/.aria2/aria2.conf

下载http://webdir.cc/dht.dat dht.dat 到/root/.aria2/

wget http://webdir.cc/dht.dat /root/.aria2/dht.dat

执行命令:

echo '' > /root/aria2.session 

执行命令,让aria2启动: 若没安装screen 请先

apt-get install -y screen 

在安装好screen后执行

screen -dmS aria2 aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all -c 

yunbt配置服务

PHP>5.3

入口文件 index.php

define("DO_SIZE",10);//设定下载限制 10为10GB,超过10GB任务直接删除

数据库

yunbt.sql导入数据库

/Bt/Conf/config.php 数据库配置

权限配置

/uploads 777

/download 777

/Bt/Runtime 777

刷新设置

Debian下

crontab -e

*/1 * * * * curl http://your_domain/index.php/Ondo/curl

使用

  1. 离线下载支持BT种子,Magnet链接以特征码等下载

  2. 可以支持的在线查看的文件: 视频:mp4,webm,ogg; 音频:mp3; 图片:jpg,png,gif; 文件:pdf text html;

  3. 已经开启邀请码,管理员可以分配账户下载量

  4. 默认文件最大不超过10GB,当单个文件不超过6小时下载时间。

用户面板

管理面板

Apache

若LNMP下需要pathinfo的支持。

默认管理员:

admin

a123456

管理面板:

http://your_domain/index.php/Admin

统计添加

/Bt/Tpl/Public/index.html

在该文件中添加统计代码。

问题/注意

  1. 分享内容暂时管理员无法管理
  2. 管理员无法群聊(可以设置一个admin的用户)
  3. 用户与管理员分离,用户名可以为admin,需要管理员创建一个admin的用户。
  4. 不会对此大改。[下版本将基于TP5的版本]
  5. 代码很乱,见谅

一键安装

https://www.miao8.top/linuxshell/9.html

  1. 不是本人写的,不对其中负责。

yunbt's People

Contributors

maysrp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.