How to set up the Qbittorrent web UI for Linux

One of the best features for the Qbittorrent application for Linux is it’s “web UI” mode. With it, it’s possible to remotely access the Qbittorrent user interface, add Torrent files and download/upload data from any web browser.

Install Qbittorrent-Nox

To use the Qbittorrent web UI on Linux, you don’t need to install the full Qbittorent desktop app. Instead, there’s a headless, terminal-based Qbittorrent application that is available. It’s called “Qbittorrent-Nox.” To get it working, open up a terminal window by pressing  Ctrl + Alt +T or Ctrl + Shift + T on the keyboard. From there, follow the command-line instructions down below that correspond to the Linux operating system that you are currently using.

Note: can’t find the Qbittorrent-Nox application for your Linux distribution? Don’t worry! The web UI feature isn’t limited to this application. This feature can also be used with the traditional Qbittorent Linux desktop application, which is easily installed via Flapak.

Ubuntu

On Ubuntu, the Qbittorrent-Nox app is in the “Universe” software repository. For most Ubuntu users (especially those using the server release of the OS) will need to enable it before attempting to install the package. To do this, launch a terminal window and use the add-apt-repository command below.

sudo add-apt-repository universe

After using the add-apt-repository command to enable Universe, you must run the update command to check for updates, and to download the new repository release information.

sudo apt update

With the update command done, it’s possible to install the Qbittorrent-Nox package using the Apt package manager.

sudo apt install qbittorrent-nox

Debian

Getting Qbittorrent-Nox on Debian Linux is easy, as it’s in the “Main” software repository. However, keep in mind that the release in “Main” may be slightly out of date, due to how the operating system does their software updates. To install it, enter the Apt-get command below.

sudo apt-get install qbittorrent-nox

Want to ensure your Debian Linux PC gets the latest Qbittorrent-Nox features? Follow our guide and set up Debian Backports.

Arch Linux

To use Qbittorrent-Nox on Arch Linux, the “Community” software repository must be enabled. To enable it, launch the /etc/pacman.conf file in the Nano text editor.

sudo nano -w /etc/pacman.conf

Scroll through the configuration file and locate “Community.” Once you’ve found it, remove all of the # symbols from in front of it, as well as directly below it. Then, save the edits by pressing Ctrl + O, exit with Ctrl + X, and re-sync Pacman with the command below.

sudo pacman -Syy

After re-syncing, install the Qbittorrent-Nox app on Arch Linux with:

sudo pacman -S qbittorrent-nox

Fedora

A relatively recent version of Qbittorrent-Nox is available to Fedora Linux users in the “Main” software repository. To install it, launch a terminal window and use the dnf package manager to install it on the system.

sudo dnf install qbittorrent-nox

OpenSUSE

OpenSUSE has Qbittorrent-Nox in the “OSS-All” software repository. To install it, use the Zypper command below.

sudo zypper install qbittorrent-nox

Setting up the Qbittorrent web UI

The Qbittorrent web UI doesn’t require configuration to turn on. Instead, it’s possible to launch it with a simple command from the terminal. Launch a command-line window with Ctrl + Alt + T or Ctrl + Shift + T. From there, use the qbittorrent-nox command, with Sudo privileges to start up the service.

sudo qbittorrent-nox

After running the above command, read through the EULA and accept it. Soon after, the program will output an HTTP URL. Highlight the URL, open up a new browser tab and paste it in to load up the UI.

As the Qbittorrent UI page loads, go back to the terminal and find the default username and enter it into the web UI login page. Assuming the login is successful, the Qbittorrent web UI will be ready to use.

Start Qbittorrent web UI in the background

Want to start the Qbittorrent web UI and send it to the background, rather than having to run the command? Do the following:

Step 1: Use the touch command and create a new script file.

sudo touch /usr/bin/qb-start

Step 2: Add commands to the script file.

sudo -s
echo '#!/bin/bash'
echo 'sudo qbittorrent-nox &>/dev/null &'

Step 3: Update the script’s permissions.

sudo chmod +x /usr/bin/qb-start

Step 4: Run the script to keep it running in the background.

qb-start

Download with Qbittorrent web UI

Downloading with Qbittorrent web UI is identical to the desktop application. To start a download, open the service in a new browser tab. Then, click “File,” followed by “Add Torrent File,” or “Add Torrent Link.”

Note: the Qbittorrent web UI doesn’t give users the ability to browse for the files that are downloaded. You must look in /root/Downloads/ manually for your data.

After adding a new Torrent to the UI, it should fetch the metadata and start downloading. When done, click the red minus button to remove the Torrent.

Check out our list of the best torrent clients for Linux if you don’t want to use Qbittorrent.

Read How to set up the Qbittorrent web UI for Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to connect to servers with Gnome file manager

Gnome’s file manager is one of the best in the Linux community. The reason? It’s easy to use, with a vast amount of features. One of the best features it has is its ability to connect to multiple server protocols, including FTP, SFTP, AFP, SMB, SSH, DAV, DAVS, etc.

Over the years, the way users connect to these protocols in the Gnome file manager has changed, because of re-designs. As a result, lots of Gnome users might not know how to access and connect to servers. So, in this guide, we’ll show you how to access remote servers with the Gnome file manager.

Connect to FTP/SFTP

The Gnome file manager (AKA Nautilus) supports a multitude of server protocols. One of the most well-supported protocols for this file manager is FTP/SFTP support.

Allowing users to connect over FTP (especially SFTP) through the Gnome file manager is critical since a lot of Linux users rely on this protocol to access, download and upload files to servers and desktops running Linux over SSH.

To access the FTP protocol in the Gnome file manager, follow the step-by-step instructions below.

Step 1: Open up a new Gnome file manager window. Then, locate the “Other Locations” button on the left-hand side of the app.

Step 2: Click on the “Other Locations” button to take the Nautilus file manager to my computer/networks/server connections page.

Step 3: On my computer/networks/server connections page, look for the text box that states “Connect to Server” and click on the text box.

Step 4: Write in ftp:// followed by the IP address or domain name of the remote FTP server you’re trying to connect to. Keep in mind that SFTP connections also use ftp://, not sftp://

ftp://ip.address.of.ftp.server

Step 5: Add a “:” symbol at the end of the address, to specify the port to the remote FTP server. It should look like the example below.

Note: most FTP servers use port 21.

ftp://ip.address.of.ftp.server:21

Step 6: Press the “connect” button to send out a connection over FTP/SFTP in the Gnome file manager.

Step 7: Fill out your FTP user/password and click the green “Connect” button to access the server. Or, choose “Anonymous,” if you do not have a user set up.

Connect to SMB (Samba)

Samba is the leading file transfer protocol for Linux, as it works excellent on local networks, and is compatible with all Linux distributions, as well as Android, Windows, macOS, and even iOS with special tools.

Due to Samba’s popularity, the Gnome file manager has some pretty excellent support for the protocol. If you need to make an outgoing connection to a file server running Samba, you’ll need to make use of the smb:// protocol.

To start, launch a new Gnome file manager window on your PC. After that, follow the step-by-step instructions below to learn how to connect out.

Step 1: find the “Other Locations” button on the left-hand side of the Gnome file manager and click on the mouse.

Step 2: make your way to the “Connect to Server” text box and tap on it with the mouse.

Step 3: write out smb:// followed by the IP address of the Samba file server. Alternatively, write out the hostname of the file server, as that works as well. Confused? Copy the examples below.

ip address

smb://ip.address.of.samba.file.server

hostname

smb://MyExampleSambaShare

Step 4: click on the “Connect” button to send out a new Samba connection. Assuming your file server has no user-name setup and is public, you’ll instantly see the files and be able to interact with the server.

However, if your server requires a username/password, you must fill out the username/password before using Samba.

More info on Samba

Can’t make a connection to your Samba server using the IP Address or Hostname? Check out the “Connect to other protocols” instructions below. Often, the Gnome file manager will detect and display Samba file servers for you to connect to!

Connect to NFS (Network File System)

Many Gnome file manager users utilize the NFS file system because it is extremely fast, especially over networks and the internet. If you’ve got an NFS server and you need to access it with this file manager, you’ll need to make use of the nfs:// protocol.

Note: connecting to NFS on the Gnome file manager sometimes doesn’t work right. If you have issues, consider following this guide to learn how to auto-mount NFS shares instead.

Step 1: Launch a new Gnome file manager window and click on the “Other Locations” button with the mouse.

Step 2: Make your way to the “Connect to Server” text box and click on it with the mouse.

Step 3: Write nfs:// into the text box. Then, fill out the IP address of the NFS server you’re trying to connect out to. It should look like the example below.

nfs://ip.address.of.nfs.server

Step 4: Press the “Connect” button to send out a new connection over NFS.

Connect to other protocols via browsing

Along with supporting network protocols like smb, nfs, ftp, etc., the Gnome file manager has a “network” section. In this area, the file manager will do it’s best to look at other computers and devices on the network and display them if possible.

To use this feature, find the “Other Locations” button and click on it. Once there, look under the area that says “Networks.” In this area, you’ll see any LAN servers, such as Samba shares, NFS shares, and anything else that Gnome supports.

To connect to something listed in the “Networks” section and double-click!

View other supported protocols

Want to view some of the lesser-known network protocols that the Gnome file manager supports? Go to “Other Locations.” From there, click on the “?” button in “Connect to Server.” It’ll display all supported protocols.

Read How to connect to servers with Gnome file manager by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to connect to a Linux server from iPad

The single best tool to work with a server running Linux on iOS for the Apple iPad is Termius. With it, iPad users can connect to a Linux server and get an excellent remote experience, including terminal access, file access support,  and much more!

Note: only have an Apple iPhone to use? Good news! Termius also works on there as well!

Set up an SSH server

Termius is an excellent app, and you’ll be able to do a whole lot with it but keep in mind that it’s only a remote access application, and doesn’t work without an SSH server to connect in to.

Setting up an SSH server on Linux works by installing the OpenSSH package, configuring the server system, outgoing ports, etc.

Unsure about how to install, set up and configure an SSH server on your own? We can help! Check out our in-depth post all about hosting your how SSH server on Linux.

Install Termius

The Termius SSH client needs to be installed on iOS before we continue talking about how to use it. To install it, unlock your iPad, and open the App Store app.

Once the App Store is open on your iPad, make your way to the search box, and look for “Termius” to bring up search results.  Look for the Termius app icon and tap on it to go to its app page on the App Store. Then, select the “install” button to start the installation on your iPad.

Don’t feel like using the App Store to search for Termius on your iPad? Another way to install the app is to go directly to the app’s website in your favorite web browser, scroll through the page to the bottom to find “Download” and click on the ‘iOS” link. It should take you directly to the link in the App Store.

Sign up for a Termius account

The first time you launch the Termius application on your Apple iPad, you’ll be asked to create a Termius app. Do so. With it, you’ll be able to quickly sync your SSH server settings to other platforms running the app, such as an iPhone, Android device, or web browser. It’ll also give you 14 days to check out the app’s premium features, free of charge.

Create a new connection in Termius

After setting up a new account in the Termius app, you’ll next need to create a new host connection. This connection is how you will remotely access (over the SSH protocol) your Linux server and use the command-line, interact with the file-system, etc.

To create a new host connection, find the + icon in the top-right of the app and tap on it to reveal options. Then, look through the options menu that appears and select the “New Host” button.

Tapping on the “New Host” button will bring up a vast menu that will let you fill out all of the information required to connect to an SSH server. To fill it out, follow the step-by-step instructions below.

Step 1:  Under “Alias,” write out a nickname you’d like to give your remote SSH session.

Step 2: Under “Hostname,” add the IP address of the remote SSH server, or the hostname/domain name if it is more convenient to you.

Step 3: Tap “Use SSH,” then, fill out the remote Linux system’s username, password and add the SSH key if you have one.

Step 4: Tap “Save” in Termius to save your connection information to the app.

Log in to the remote Linux system

To access your remote Linux session over iPad in Termius, tap on the connection in the list. Then, allow it to open up in a terminal tab.

Once a new terminal tab is open, you’ll be prompted to log in using your user’s password and accept the host as a new connection. Do so.

If the login is successful, you’ll have full access to the remote Linux system right from your iPad!

Access files

Need to transfer data from your iPad to the remote Linux system? Tap on the “SFTP” tab on the right, and you’ll be brought to the Termius file-transfer area.

In the file-transfer area of Termius, you’ll see two file managers. On the right-side, tap on “local” and swap it to your remote server. It should instantly launch an FTP connection over SSH and give you full access to your Linux system’s files.

Copy files

To copy files in the Termius file-transfer window, click “edit.” Then, tap the check-box next to each file you want to transfer to/from your iPad. They should instantly transfer to the location you’ve specified.

Read How to connect to a Linux server from iPad by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to set up a multi-boot USB drive on Linux

Live Linux USB sticks are incredibly useful. With them, it’s possible to take an entire live Linux operating system on the go to use for maintenance, or private, secure communication, and much more.

Linux USB sticks come in handy, for sure. However, they’re only limited to one operating system. If you’re interested in having multiple Linux distributions on one USB stick, you’ll need to use something like Netboot; a bootable ISO that lets Linux users load up multiple operating systems at boot time from a USB stick.

Get Etcher for Linux

Creating a multi-boot USB stick for Linux involves USB-burning software, as the Netboot software is distributed via a downloadable ISO file. So, in this section of the guide, we will briefly go over how to get and install the Etcher USB tool for Linux.

The main reason to go with Etcher is that out of all of the ISO burning applications for Linux, it does the best at setting up ISO files without any issues. To get it going on your Linux operating system, follow the step-by-step instructions below.

Step 1: Head over to the official Etcher website by following this link. Once it’s loaded, let the window automatically detect what operating system you are running.

Step 2: After the OS detection is done, click the button to start the download for Etcher on Linux.

Step 3: Open up the default file manager on your Linux desktop and click on the “Downloads” folder. Then, locate the Etcher ZIP archive file in the folder and right-click on it with the mouse.

Step 4: In the right-click menu that appears after selecting the Etcher ZIP archive, select the “Extract” option to decompress the AppImage file.

Step 5: Once the Etcher AppImage is done extracting, double-click on it to start up Etcher for the first time. Be sure to select the “Yes” option when prompted.

Download Netboot ISO

The software we’ll be using to set up a multi-booting USB drive is called Netboot. To get your hands on the latest release of this software, head over to the project’s official webpage and download the ISO image at the top of the list. Alternatively, launch a terminal window and use the wget command-line utility to grab it.

cd ~/Downloads
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso

With the Netboot ISO file done downloading to your Linux PC, close the terminal window and move on to the next step of the guide.

Set up a multi-boot USB drive

Making the multi-boot USB Linux drive is a simple process. To do it, open up the Etcher application you installed earlier in the guide. Once the program is open, you’ll be ready to make the ISO.

Click the “Select Image” button. Then, use the pop-up window that appears to browse for the Netboot ISO file you recently downloaded to your Linux PC.

After setting up the ISO file in Etcher, click on the “Select Drive” button, and use the UI to choose a suitable USB flash drive to flash Netboot to.

Lastly, select the “Flash!” button to start the burning process and allow it to write to the drive. When the burning process is done, close the Etcher application and move down to the next step in the guide.

Etcher alternative

In rare occasions, some computers may create an Etcher USB that isn’t bootable. If this happens to you, you can create the Netboot USB with the command-line instead by following the steps below.

Step 1: gain a root shell with sudo -s.

sudo -s

Step 2: Run lsblk and determine the label of your USB flash drive.

lsblk

Step 3: Use dd to create a new Netboot USB. Be sure to change SDX with your USB’s label from the lsblk command output.

dd if=~/Downloads/netboot.xyz.iso of=/dev/sdx

Use multi-boot USB drive

To use the Netboot system on your Linux PC, plug the USB drive into the USB port and reboot the system. As it reboots, load into the BIOS and configure your PC to boot from the USB drive.

Once the Netboot tool is loaded up, use the arrow keys on your keyboard to select “Linux Installs”.

After selecting the “Linux Installs” option, use the menu to navigate the list of operating systems to boot from. Then, when you’ve settled on an operating system, press Enter on the keyboard to let Netboot download the OS and load it up for you.

Non-Linux operating systems on Netboot

The Netboot tool gives users access to more than just Linux operating systems. It also has other items, such as BSD, FreeDOS, and security utilities. To access any of these items, press Esc to exit the Linux Installs menu. Then use the arrow keys to make your selection.

Read How to set up a multi-boot USB drive on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to use recovery mode on Ubuntu

The Ubuntu operating system  comes with  a “recovery mode.” With this feature, users can access the command-line of a broken system, fix a misconfigured file, test if system memory isn’t working, and a lot more. Although “recovery mode” exists, a lot of Ubuntu Linux users are unfamiliar with how it works, and what they can do with it. So, in this guide, we’ll walk you through how to use recovery mode on Ubuntu.

Note: to access the recovery mode on Ubuntu Linux, you must be running the Grub bootloader. If you’re using an alternative bootloader, there’s a chance this feature will not be accessible for you.

Recovery mode on Linux

Recovery mode is an option in the Grub boot-loader. So, to access it, reboot your Linux PC. The process of restarting on Ubuntu is quickly done in many different ways, including clicking the “Reboot” option on your desktop, pressing the hard-reset button on the PC itself, or using the reboot or systemctl reboot commands in a terminal window.

sudo reboot

Or, if your operating system disallows the ability to access reboot, run:

sudo systemctl reboot

When your Ubuntu PC restarts, the Grub bootloader will appear on screen, with several options. On a majority of Linux operating systems, you’ll see quite a few entries. These entries include:

  • The latest release of the Ubuntu Linux kernel for your OS (default entry)
  • Advanced booting options for your Linux OS (often called Advanced options for Ubuntu)
  • Memory test (memtest86+)
  • Memory test (memtest86+, serial console 115200)

Look through the selection menu for the “Advanced options” entry. Then, once you’ve located it, use the Down Arrow to move the selection to it. Then, press Enter to access the “Advanced options” sub-menu in the Grub bootloader.

Inside of the “Advanced options” sub-menu, a couple of options will appear on the list. At the top of it, the last kernel that your operating system was using before it was updated to the one you’re using now will be there (though not every Linux OS does this). Following the fall-back kernel, there is a “recovery” kernel.

The “recovery” kernel is a normal Linux kernel, with a minor Grub tweak that allows users to quickly boot into “Recovery mode” on their system, so that they may access the command-line to fix something, and recover a broken system.

To load up the “recovery” kernel through Grub, press the Down Arrow and move the Grub selector to the top of it. After that, hit the Enter key to force the system to load it up.

Once you’ve chosen the “recovery” kernel in the Grub menu, you’ll see a window labeled “Recovery Menu.” In this menu, there are several tools and options that you’ll have access to.

For information on how to use each of these recovery options, follow along below.

Recovery Mode – Clean

The “Clean” feature in Recovery Mode for Ubuntu will allow you to free up space on your system partition quickly.

To use the “Clean” feature, load up Recovery Mode. Then, use the Down Arrow to highlight the “clean” option and press Enter.

After pressing the Enter key on “clean,” a terminal window will appear. Follow the instructions on screen, and Ubuntu will do it’s best to make some free space.

Recovery Mode – Dpkg

The “Dpkg” option available to Ubuntu users in Recovery Mode allows for the ability to fix and uninstall any potentially broken packages that are causing problems on your system.

Note: this feature requires internet connectivity. Select “Network”  in the Recovery Mode list to get online before attempting to use it.

To use it look, through the Recovery Mode list for “Dpkg” using the Down Arrow. Then, press Enter to start it up. Read the on-screen prompts and allow Ubuntu to purge any problematic packages.

Recovery Mode – Fsck

The Fsck feature in Recovery Mode can quickly fix a corrupted hard drive by scanning it for dirty bytes and removing them. This feature is very useful, as dirty bytes on drives can cause Ubuntu to fail to load.

To use the “Fsck,” highlight it in the Recovery Mode menu using Down Arrow, then press Enter to start it up. After that, sit back and let it remove corrupted data, automatically.

Recovery Mode – Grub

“Grub” in the Recovery Mode window lets Ubuntu scan your system and update the bootloader automatically, by re-setting the Grub system.

To run a bootloader update, find “Grub” in the menu and select it with the Down Arrow. Press the Enter key to start the update.

Recovery Mode – Root

Sometimes, your Ubuntu Linux system may refuse to boot, due to a misconfiguration, system error, etc. If the other recovery options we talked about don’t do it, the “Root” one will.

To gain Root access through Recovery Mode, you won’t need to remember the password. Instead, select “Root,” with Down Arrow, followed by Enter, then Enter a second time.

Read How to use recovery mode on Ubuntu by Derrik Diener on AddictiveTips – Tech tips to make you smarter