{"id":212,"date":"2017-11-03T07:44:50","date_gmt":"2017-11-03T07:44:50","guid":{"rendered":"https:\/\/langhard.net\/?p=212"},"modified":"2018-10-12T07:49:00","modified_gmt":"2018-10-12T07:49:00","slug":"installing-resilio-sync-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/langhard.net\/?p=212","title":{"rendered":"Installing Resilio Sync on Ubuntu 16.04"},"content":{"rendered":"<div class=\"clearfix colelem shared_content\" id=\"u289698-4\" data-content-guid=\"u289698-4_content\">\n<h4 id=\"u289698-2\"><em class=\"h2-25px\" id=\"u289698\">Keep Your Files Safe<\/em><\/h4>\n<\/div>\n<div class=\"clearfix colelem\" id=\"u289699-6\">\n<p id=\"u289699-2\"><span class=\"h3-18px shared_content\" id=\"u289699\" data-content-guid=\"u289699_content\">Backup your files automatically to another device you own. Create your own Disaster Recovery site.<\/span><\/p>\n<p id=\"u289699-4\"><span class=\"h3-18px shared_content\" id=\"u289699-3\" data-content-guid=\"u289699-3_content\">Setup your phone to backup all photos to your laptop, or backup all your documents from your laptop to your NAS.<br \/>\nProtect yourself from losing information on a crashed or misplaced device.<\/span><\/p>\n<p>Here is a guide on how you can setup you own Resilio Sync server on Ubuntu<\/p>\n<\/div>\n<p>Open up a terminal window and edit the<span>\u00a0<\/span><strong>sources.list<\/strong><span>\u00a0<\/span>file with nano or your preferred text editor.<\/p>\n<pre>sudo nano \/etc\/apt\/sources.list<\/pre>\n<p>Append the following APT line at the end of this file.<span id=\"ezoic-pub-ad-placeholder-106\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<pre>deb http:\/\/linux-packages.resilio.com\/resilio-sync\/deb resilio-sync non-free<\/pre>\n<p>Save and close the file.<\/p>\n<p>In order for APT to authenticate packages from the above repository, we need to import Resilio Sync\u2019s public key. First download the public key.<span id=\"ezoic-pub-ad-placeholder-107\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<pre>wget https:\/\/linux-packages.resilio.com\/resilio-sync\/key.asc<\/pre>\n<p>Then import the public key.<\/p>\n<pre>sudo apt-key add key.asc<span id=\"ezoic-pub-ad-placeholder-117\" class=\"ezoic-adpicker-ad\"><\/span><span class=\"ezoic-ad link-v-med-1 adtester-container adtester-container-117\" data-ez-name=\"linuxbabe_com-link-v-med-1\"><\/span><\/pre>\n<div id=\"linuxbabe_com-link-v-med-1\" class=\"ezo_link_unit_m\"><span id=\"967248659\"><\/span><\/div>\n<p>Update local package index and install Resilio Sync.<\/p>\n<pre>sudo apt update\r\n\r\nsudo apt install resilio-sync<\/pre>\n<h2>Managing Resilio Sync<span id=\"ezoic-pub-ad-placeholder-109\" class=\"ezoic-adpicker-ad\"><\/span><\/h2>\n<p>To start Resilio Sync, use systemctl command.<\/p>\n<pre>sudo systemctl start resilio-sync<\/pre>\n<p>And enable auto start at boot time using the following command:<\/p>\n<pre>sudo systemctl enable resilio-sync<\/pre>\n<p>Check its status.<\/p>\n<pre>systemctl status resilio-sync<\/pre>\n<p>Once running, The Resilio Sync daemon will listen on\u00a0127.0.0.1:8888\u00a0as specified in\u00a0\/etc\/resilio-sync\/config.json\u00a0configuration file.<\/p>\n<p>Change ipadress so you can manage from other computer than your own.<\/p>\n<pre>sudo nano\u00a0\/etc\/resilio-sync\/config.json<\/pre>\n<p>change<\/p>\n<pre>{\r\n \"storage_path\" : \"\/var\/lib\/resilio-sync\/\",\r\n \"pid_file\" : \"\/var\/run\/resilio-sync\/sync.pid\",\r\n\r\n\"webui\" :\r\n {\r\n \"listen\" : \"127.0.0.1:8888\"\r\n }\r\n}<\/pre>\n<p>In my case my resilio sync server has ip 192.168.0.18<\/p>\n<pre>{\r\n \"storage_path\" : \"\/var\/lib\/resilio-sync\/\",\r\n \"pid_file\" : \"\/var\/run\/resilio-sync\/sync.pid\",\r\n\r\n\"webui\" :\r\n {\r\n \"listen\" : \"192.168.0.18:8888\"\r\n }\r\n}<\/pre>\n<p>Restart the service<\/p>\n<pre>sudo systemctl restart resilio-sync\r\n\r\n<\/pre>\n<p>Now open up 192.168.0.18:8888 and start backing up your precious data.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keep Your Files Safe Backup your files automatically to another device you own. Create your own Disaster Recovery site. Setup your phone to backup all photos to your laptop, or backup all your documents from your laptop to your NAS. Protect yourself from losing information on a crashed or misplaced device. Here is a guide [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":215,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[69,83,73],"class_list":["post-212","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-en","tag-linux-en","tag-resiliosync-en","tag-ubuntu-en"],"_links":{"self":[{"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/langhard.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=212"}],"version-history":[{"count":0,"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/posts\/212\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/langhard.net\/index.php?rest_route=\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"https:\/\/langhard.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/langhard.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/langhard.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}