Use Aria2+aria2ng+oneindex+onedrive to create an unlimited/offline BT download/online view disk/online storage sharing platform

Source: Internet
Author: User

Get OneDrive

Self-search or treasure purchase

Installation

1. Installation of Pagodas

-y wget && wget-o install.sh http://download.bt.cn/install/install.sh && sh install.sh -o install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash   install.sh-o install.sh http://download.bt.cn/install/install-ubuntu.sh && Bash Install.sh

When the installation is complete, enter the panel Mount PHP 5.6+ , Nginx .

2, Installation Oneindex
First add the domain name, and then upload the program files to the Web site root directory /www/wwwroot/xxx.xx.com , extract the files out, and set config/ , cache/ read and Write permissions, program download: Oneindex.zip.

You can also use commands to upload to the root directory:

#Debian/ubuntu system apt-get install git--/www/wwwroot/xx.comgit clone https:  //github.com/donwa/oneindex.gitmv oneindex/*  ./chmod 777./config & & chmod 777./cache

Then click on the domain name settings to add Nginx pseudo-static:

 location/ if  (!-f $request _filename) { set  $rule _0 1   $rule _0;}  if  (!-d $request _filename) { set  $rule _0 2   $rule _0;}  if  ($rule _0 =  " 21   " ) {rewrite  ^/(. *) $/index.php?/$1   

Finally open the domain name for installation and binding OneDrive , the background address: https://xx.xx.com/?/admin , the default password: oneindex . If you want to add https secure access to the domain name, you can configure the certificate with the domain name settings SSL .

3, Installation Aria2
Here is the use of the tease script, using the command:

Wget-n--no-check-certificate https://raw.githubusercontent.com/toyodadoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh-n--no-check-certificate https://  www.moerats.com/usr/shell/Aria2/aria2.sh && chmod +x aria2.sh && bash aria2.sh

After the installation is complete, if we want to change the password, download file location, port, you can use bash aria2.sh the command, and then choose to modify the configuration, it is recommended to use this script to configure the Automatic Update BT-Tracker server, the download BT is added.

4, Installation Ariang
This step and install the OneIndex same, first add a domain name, do not want to use the domain name can be added to fill in the domain name IP or IP:端口 , and then AriaNg upload the program to the corresponding root directory, you can use the command:

#这里以添加IP为例 #debian/ubuntu system apt-get Install unzip--/www/wwwroot/  11.22. 33.44 wget https: // www.moerats.com/usr/down/aria-ng-0.2.0.zip && Unzip Aria-ng-0.2.0.zip

At this point we can use the IP access AriaNg interface, or IP:端口 , depending on what you fill out when you add the domain name.

Use Aria2+aria2ng+oneindex+onedrive to create an unlimited/offline BT download/online view disk/online storage sharing platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.