OneDrive, full name Microsoft OneDrive, formerly known as Windows Live SkyDrive, is a network hard drive and cloud service launched by Microsoft. Due to a trademark dispute with BSkyB, Microsoft announced in January 2014 that SkyDrive would be renamed OneDrive. OneDrive, formerly SkyDrive, started in 2007 and has been running for more than ten years.
Therefore, OneDrive is an old and stable free network hard drive. In China, OneDrive is another "magical" network disk. Its competitors such as Google Drive and Dropbox have long been on QQ in China, but OneDrive can still be used normally. Personally, I think there is one reason that cannot be ignored, and that is the upload and download speed of OneDrive is too slow.
Many people use OneDrive. I am afraid that what they value is that OneDrive is produced by Microsoft and is fully integrated with Windows. Moreover, it can also be accessed normally in China. It is especially suitable for those friends who need a network disk to store documents. In addition, OneDrive free users have 5GB of storage, but if you are an Office 365 subscriber, you can get 5TB of storage.
With such a large storage space, naturally some people want to turn OneDrive for Business into an external network disk. This article will share the one-click installation method of Aria2+Aria2Ng+OneIndex. OneIndex is a directory listing program that can list files in the OneDrive network disk for us to view/download, and it does not consume server traffic and space.
Aria2+Aria2Ng allows us to download BT seeds directly on the VPS. At the same time, the Aria2+Aria2Ng+OneIndex one-click installation package will automatically upload the files downloaded by Aria2+Aria2Ng to OneDrive, thus successfully turning OneDrive into an external network disk. . If you also want to turn other network disks into your own personal network disk, you can take a look:
- VPS mounts domestic and foreign network disks to achieve free expansion tools: Rclone, COS-Fuse and OSSFS
- Linux VPS mounts Google Drive and Dropbox-realizes VPS host data synchronization and backup
- Nextcloud offline download construction method-integrate Aria2, AriaNg, and Aria2 WebUI to achieve offline downloading
PS: Update record:
1. The Onedrive online network disk built with OneIndex often suffers from disconnection and slow response problems. You can try this:
. 2020.9.242. Another wonderful function of Aria2 is to combine with some file managers to realize automatic offline download and online playback functions: Aria2 offline download and online playback - integrates KodExplorer FileManager Nextcloud and Plex system. 2019.12.2
3. If you want to mount various network disks on your local Windows computer and use them as local hard disks, refer to: Local network disk RaiDrive mounts Dropbox, Google Drive, and OneDrive support WebDAV, FTP, and SFTP. 2020.3.19
1. Preparation before installation
website:
- Update: https://github.com/ikym/Oneindex
- Backup: https://github.com/freehao123/Oneindex-1
- HTTPS://one drive.live.com/
1.1 A OneDrive account
OneDrive personal accounts and business accounts are supported. Personal accounts only have 5GB storage space. How to get a OneDrive business account? Method 1: Purchase with money. Method 2: Use your edu education email to join Office 365 Education Edition for free.
- HTTPS://sign up.Microsoft.com/sign up?reservoir=education
Method 3: Apply for the Office 365 Developer Program. Website: https://dev.office.com/devprogram, this activity is not long-term, please join quickly if you want to join.
2. One-click installation of Aria2+Aria2Ng+OneIndex
Run command:
wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
#脚本备份:https://do.wzfou.net/shell/Aria2_OneIndex.sh
Enter the following options as required:
请输入你的OneIndex域名信息(如:one.wzfou.com):
请输入你的Aria2密钥:例如wzfou.com
请输入你OneIndex/OneDrive中的一个文件夹(格式:RATS,此后所有文件都会上传到该文件夹):
As shown below:
OneIndex can also play videos directly online (click to enlarge).
OneIndex can also allow visitors to upload files to OneDrive. You only need to turn on this feature in the OneIndex backend management.
Visitors can then upload image files directly from the OneIndex front desk.
4. Aria2 downloads and automatically uploads to OneDrive
First, open your Aria2Ng interface and fill in the server field with the key you set during installation.
If everything is OK, Aria2Ng will show that Aria2 is connected successfully.
Now you can directly add download tasks just like using Thunder. Downloads are supported by http or BT.
The biggest advantage of using VPS server + Aria2 to download files is that the bandwidth is large enough, and the bandwidth provided by the general computer room can reach more than 10MB/s.
The files downloaded by Aria2 will be automatically uploaded to OneDrive, and you can browse and watch them directly through OneIndex.
5. Summary
OneIndex can be installed separately. You can go to the Github project homepage to download the OneIndex package, unzip it and upload it. Since the access speed of OneDrive is relatively slow in China, there will be lags when using OneIndex to view and browse pictures and videos.
Aria2+Aria2Ng+OneIndex automatically uploads OneDrive. One thing to note is that you choose to buy a large-bandwidth VPS host. Bandwidth-limited hosts like Alibaba Cloud have fast download speeds, but transferring files from the server is really slow. no.