![]() The output of the command above is the following: syncthing To gather information about the service, and see what ports are included in it, we can run: $ sudo firewall-cmd -info-service=custom If we want to add the service to a specific zone, we should specify it with the -zone option, passing the zone name as argument. Notice that with the command above, since no zone is specified, the service will be added to the “default” one. If using Firewalld, to activate the service, and thus to enable traffic through the required ports), we should run: $ sudo firewall-cmd -permanent -add-service=syncthing & sudo firewall-cmd -reload Recent versions of the Firewalld and Ufw firewall managers, already come with a pre-configured service for Syncthing (here with the word “service” we mean a defined set of rules). Setting up the firewallīefore we run Syncthing, for it to work correctly, we must setup some firewall rules in order to allow incoming traffic through certain ports. If we are using Debian or Ubuntu, we can also add the official repository to our software sources, and then install it using apt. We should download the archive containing the version compatible with the architecture of our system. The second method of installing Syncthing consists into downloading the dedicated Linux tarball from the downloads section of the official site. ![]() Obtaining the software it’s just a matter of launching our terminal emulator and run: $ sudo pacman -Sy syncthing On Archlinux we can use pacman to install the syncthing package, which is part of the “Community” repository. On Debian and its many derivatives, instead, we can run: $ sudo apt install syncthing To install Syncthing on Fedora, we can use the dnf package manager, and issue the following command: $ sudo dnf install syncthing ![]() This is always the recommended way to obtain software the only problem is that, especially on distributions like Debian “stable”, the repository can contain outdated versions of the packages. Syncthing is available in the native repositories of the most used Linux distributions, such as Fedora, Debian/Ubuntu, and Archlinux, therefore we can easily install it with our favorite package manager. Additionally, only if using Debian or Ubuntu, we can add the official Syncthing repository as an additional software source and install the package from it. There are basically two methods we can use to install Syncthing in our favorite Linux distribution: we can use the version packaged in the native repositories, or we can download a tarball from the official Syncthing website. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |