![]() Next, verify the status of the Syncthing service with the following command: systemctl status Īt this point, Syncthing service is started and listening on port 8384. Next, enable the Syncthing service to start after system reboot with the following command: systemctl enable Next, reload the systemd daemon and start the Syncthing service as a root user on both servers with the following command: systemctl daemon-reload Save and close the file when you are finished. On server2, create a systemd service file with the following command: nano /etc/systemd/system/ ĮxecStart=/usr/bin/syncthing -no-browser -gui-address="server2-ip-address:8384" -no-restart -logflags=0 On server1, create a systemd service file with the following command: nano /etc/systemd/system/ ĭescription=Syncthing - Open Source Continuous File Synchronization for %IĮxecStart=/usr/bin/syncthing -no-browser -gui-address="server1-ip-address:8384" -no-restart -logflags=0 ![]() Next, you will need to create a systemd service file to manage the Syncthing service on both servers. Note: Now repeat the process on Server 2 Step 3 – Create a Systemd Service File for Syncthing You should get the following output: syncthing v1.3.4 "Fermium Flea" (go1.13.7 linux-amd64) 07:01:03 UTC Once installed, you can verify the installed version of Syncthing with the following command: syncthing -version Next, update the repository and install the Syncthing service with the following command: apt-get update -y Next, add the Syncthing repository with the following command: echo "deb syncthing release" > /etc/apt//syncthing.list Once installed, download and import the GPG Key for the repository with the following command: curl -s | apt-key add. apt-get update -y Step 2 – Install Syncthing on Both Serversīy default, Syncthing is not available in the Ubuntu 18.04 default repository, so you will need to add Syncthing repository in your system.įirst, install the required packages with the following command: apt-get install curl apt-transport-https -y Once you are logged into your Ubuntu 18.04 server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create two new servers, choosing Ubuntu 18.04 as the operating system with at least 1GB RAM. Step 1 – Create Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server. Root passwords configured on both servers.Two fresh Ubuntu 18.04 VPSes on the Atlantic.Net Cloud Platform.In this tutorial, we will show you how to install and configure the Syncthing Cloud Sync service on Ubuntu 18.04. Syncthing offers many features and benefits, some of which are listed below: Syncthing can be run on most operating systems including Linux, Windows, MacOS, FreeBSD, Solaris and OpenBSD. Syncthing uses peer-to-peer architecture, meaning that each device attached to your Syncthing network retains copies of the files in your shared folders and pushes new content whenever any changes have been made. Syncthing is a free and open-source file synchronization tool used to synchronize files across multiple devices.
0 Comments
Leave a Reply. |