📅  最后修改于: 2023-12-03 15:20:26.383000             🧑  作者: Mango
Syncthing is a free and open-source peer-to-peer file synchronization software. It allows users to sync files between devices using various methods, including LAN, WAN or over the internet. In this tutorial, we will guide you through the process of installing Syncthing on Debian.
Before installing Syncthing on Debian, you need to meet the following requirements:
The first step is to update the software repository and packages on your Debian system using the following command:
sudo apt update && sudo apt upgrade
Once the system is up-to-date, use the following command to install Syncthing:
sudo apt install syncthing
This command will install the Syncthing package along with its dependencies.
After installation, we need to start Syncthing as a service. Use the following command to start and enable Syncthing:
sudo systemctl start syncthing
sudo systemctl enable syncthing
You can verify the installation of Syncthing by accessing its web interface through a web browser. By default, Syncthing listens on port 8384. Open a web browser and enter the URL http://localhost:8384
.
Once the web interface is open, follow the on-screen instructions to set up Syncthing.
That's it! You have successfully installed and configured Syncthing on your Debian system. You can now use Syncthing to sync files between devices.