How to Install and Configure Syncthing | The Best Way to Sync Your Files
In this video, we're going to guide you through the process of installing Syncthing on Ubuntu 22.04. Syncthing is a powerful, open-source, and cross-platform file synchronization tool that lets you keep your files in sync across multiple devices securely.
Get Contabo VPS
https://tinyurl.com/4dv3xsxw
Get DigitalOcean VPS
https://zacs-tech.com/go/digitalocean/
Get Vultr VPS
https://zacs-tech.com/go/vultr/
Register domain name
https://tinyurl.com/y8hz9seu
Get the training and certification you need! Linux Foundation, IT training
https://tinyurl.com/3pwv3czu
Commnds
curl -s htt://syncthing.net/release-key.txt | sudo apt-key add - (part of https removed add it)
echo "deb hts://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list (part of https removed add it)
sudo apt-get install apt-transport-https
sudo apt-get install syncthing
sudo systemctl enable syncthing@username.service
sudo systemctl start syncthing@username.service
systemctl status syncthing@username.service
sudo nano /etc/nginx/conf.d/syncthing.conf
=================================================
server {
listen 80;
server_name syncthing.example.com;
access_log /var/log/nginx/syncthing.access.log;
error_log /var/log/nginx/syncthing.error.log;
location / {
proxy_pass http://127.0.0.1:8384;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
======================================================
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email you@example.com -d syncthing.example.com
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!