Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Thunderbolt under Linux

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to install and use Xunlei under Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Compiling environment

Install the necessary software.

Sudo apt-get install git build-essential devscripts

Download the source code.

Git clone git://github.com/Xinkai/XwareDesktop.git

This generates a subdirectory called XwareDesktop under the current directory.

Change to the source code directory XwareDesktop.

Cd XwareDesktop

Packing

You need to change to the XwareDesktop source code directory.

Lists the missing compilation dependencies.

Dpkg-checkbuilddeps .

If nothing is listed, skip step 2.

Install missing compilation dependencies.

Sudo apt-get install

Make the installation package.

Dpkg-buildpackage

Installation

Going back to the graphical interface, in the parent directory of XwareDesktop's source code directory, you should be able to find the installation package file named xware-desktop_?.deb, double-click it, and follow the prompts to install.

Upgrade

You need to change to the XwareDesktop source code directory.

Synchronize the source code.

Git pull

Before using it for the first time

Add users to the xware user group.

Sudo usermod-G xware-a

Log out and log back in for the above actions to take effect.

Start xwared.

Ubuntu user execution: sudo service xwared start

Arch, Fedora user execution: sudo systemctl start xwared

Set up the boot boot xwared.

Ubuntu users skip this step.

Arch, Fedora user execution: sudo systemctl enable xwared

Start the front end and log in with the Thunderbolt account.

Device activated. Wait a moment, and a dialog box for adding devices will appear. Xware Desktop will automatically obtain and fill in the activation code. After confirming that the activation code is automatically filled in, click the activation button. The activation process should be immediate.

Folder mount

File-> Settings-> Mount, click add, and select your download destination folder. Click OK.

File-> Settings-> Mount again and view the status check bar. You can also run / opt/xware_desktop/permissioncheck to check.

Grant the required permissions to the corresponding folder based on the diagnostic results.

For example, if you want to mount the / home/cuoan/Downloads folder, the required permissions are

The x permission of the xware user or group to /. The x permission of the xware user or group to / home. The x permission of the xware user or group to / home/cuoan. Wx permissions of the xware user or group to / home/cuoan/Downloads. Wx permissions of the xware user or group to / home/cuoan/Downloads/TDDOWNLOAD. Wx permissions of the xware user or group to / home/cuoan/Downloads/ThunderDB. The wx permission of the xware user or group to the content of / home/cuoan/Downloads/ThunderDB.

The easiest and most straightforward way to set up / home/cuoan/Downloads is to set all groups to xware, giving all groups write permission, and / home/cuoan to give others x permission. This should handle the default settings of most distributions.

In the backend menu, select restart. Wait a minute, because ETM needs to be online.

Browser extension Integration

Xware Desktop accepts arguments from the command line as the URL of the new task in the format

Xware-desktop http://www.website.com/file1 ftp://www.website.com/file2...

Take Flashgot on Firefox as an example, turn on its options. Add a new downloader with the program set to xware-desktop and the parameter set to [URL].

The parameters from the command line support a variety of protocols such as http,https,ftp,ed2k,magnet,flashget,qqdl,thunder, as well as local torrent files.

Actual effect test chart

On "how to install and use Thunderbolt under Linux" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report