Last update at :2024-05-02,Edit by888u
Xunlei has stopped this plan. For more useful offline downloads, please see here: http://www.138vps.com/vpsjc/945.html
You can imagine a scene like this. When you are at work, you listen to a colleague introduce a good movie, find the resource, download it offline to our VPS, and then watch it slowly when you get home. Another example is this scenario. There are not many BT resources for an old movie, and the speed is very slow. It can only be downloaded all the time, which takes a long time. However, I am too poor and has no money to buy a Xunlei membership. Regarding the electricity bill, wouldn’t it be very convenient if we could download it offline to our VPS and then look at it slowly?
Although there are many download tools under Linux, they are still far behind compared with Xunlei in mainland China. Xunlei has not released a Linux version, so if you want to use it before, you have to use a virtual machine or WINE method, but Xunlei has launched it Remote downloading has been available for a long time and can be used on Thunder routers and other smart routers, players, and NAS. Fortunately, these products all run on Linux systems, so the remotely downloaded software can also be used on other Linux systems, such as Centos.
Xunlei calls this remote download software Xware and has launched versions for different CPU platforms. You can view it here: http://luyou.xunlei.com/forum-51-1.html
So far, Xware is 32-bit and has not released 64-bit. However, some 64-bit systems can also be installed and used. At the same time, this article uses glibc as the version. Please pay attention to whether your CPU is compliant. Generally speaking, they are universal.
The entire installation process has about 5 steps
1. Download Thunder Xware software and unzip it
2. Set storage path
3. Start Thunder and obtain the binding code
4. Start adding offline tasks
5. Get local
1. Download the Thunder Xware software and unzip it
Because the installation process requires wget and unzip, so if your VPS is not installed, use first
yum install -y wget
yum install -y unzip zip
Install relevant software.
Run the following command:
mkdir /home/xunlei
cd /home/xunlei
wget http://dl.138vps.com/software/Xware1.0.19_x86_32_glibc.zip
unzip Xware1.0.19_x86_32_glibc.zip
If the above address is invalid, please go to: https://pan.lanzou.com/1090191 to download.
2. Set storage path
mkdir /mnt/xunlei
mkdir /home/download
chmod 0777 /mnt/xunlei
chmod 0777 /home/download
mount --bind /home/download/ /mnt/xunlei
[/home/download] is the storage path of the downloaded file. Generally speaking, the downloaded file will be placed under [TDDOWNLOAD] in this directory. Of course, you can also modify your download directory when creating a new download later, but it is not necessary.
3. Start Thunder and obtain the binding code
Continue running the following code:
chmod -R 777 /home/xunlei/
chown -hR root:root /home/xunlei
/home/xunlei/portal
After execution, the binding code will appear, copy it.
If you restart the VPS next time, execute the following code to start Thunder
/home/xunlei/portal
Or run it directly in this directory
portal
Of course, for convenience, we can also set up the VPS to start Thunder
vi /etc/rc.d/rc.local Add the script to start remote Thunder in rc.local
/home/xunlei/portal
In this way, you don't need to log in to the VPS to run Thunder again because of the VPS restart.
Of course, booting is not necessary.
4. Start adding offline tasks
Go to http://yuancheng.xunlei.com/, log in to your Thunder account, and enter your binding code.
Click [New] to upload bt and other files for download.
5. Get local
Retrieving local methods is very simple, just download it with winSCP. Or build an http environment to watch or download directly online. Run the following code:
yum -y install httpd
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
Then cut the downloaded file to the [/var/www/html/] directory and access it through [http://IP/filename], such as: http://127.0.0.1/5. mp4
Conclusion
1. This textbook is also applicable to Ubuntu, but the installation of wget, unzip and building http environment are different. This can be solved through simple Baidu.
2. Remember to turn on BBR on VPS to get a faster download experience. For how to turn it on, please search [bbr] on this blog.
3. If we mount FTP, the download directory of Thunder can be set to this directory to avoid occupying the hard disk space of the VPS. For specific methods, please search [ftp] on this blog
4. Not applicable to OpenVZ virtual architecture
We tried it and it was fast. The server network is really much better than home network.
Recommended site searches: agency registration, domain name registrar server rental, free international domain name, registration-free space in mainland China, local IP query, registration-free jsp space, registered domain name, foreign domain name,
发表评论