EDITOR=nano crontab -eĮnter the following text /home/user/rslsync_restart.cron >/dev/null 2>&1 Save the file with Ctrl+x and the "y" and Enter to accept overwriting. home/user/rslsync/rslsync -config /home/user/.rslsync/nf If pgrep -fx "/home/user/rslsync/rslsync -config /home/user/.rslsync/nf" > /dev/nullĮcho "Resilio Sync is not running, starting Resilio Sync" nano -w ~/rslsync_restart.cron #!/bin/bash touch ~/rslsync_restart.cronĮdit the file and enter the text below. This will automatically restart your rslsync instance should it go offline for any reason. Software is software and sometimes it can crash. Restart Resilio Sync with ~/rslsync/rslsync -config ~/.rslsync/nf or rslsync if you completed the optional step 9 from the Installation section. You can access the Resilio Sync WebUI by entering into your browser.ĭownload Resilio Sync rm ~/resilio-sync_圆4.tar.gz wget.The user guides for Resilio Sync operation can be found here. (Optional) Clean up by removing the Resilio Sync install archive rm ~/resilio-sync_圆4.tar.gz You will need to set up a username and password for accessing Resilio Sync on your slot, as well as name for the Resilio Sync server running on your slot. Start Resilio Sync with ~/rslsync/rslsync -config ~/.rslsync/nf or rslsync if you completed step 9.Įnter into your browser. This will allow you to use rslsync rather than ~/rslsync/rslsync -config ~/.rslsync/nf echo "alias rslsync='~/rslsync/rslsync -config ~/.rslsync/nf'" > ~/.bashrc source ~/.bashrc (Optional) Create an alias for rslsync for easy startup. Once you have made these edits, quit nano by pressing Ctrl+X followed by y then press Enter. Your configuration should look like the following example: "webui" : Move down the file to the line starting with "webui" and change the WebUI port. Your configuration should look like the following example: /* directory_root path defines where the WebUI Folder browser starts (linux only). You will need to remove the // from the beginning of the line. This change is required to allow Resilio Sync's web interface to operate properly. Move down the file to the line starting with /* directory_root and change the directory root path to /home/user/. Otherwise user-defined directory will be used Your configuration should look like the following example: /* storage_path dir contains axillary app files ![]() Move down the file to the line starting with /* storage_path and change the storage_path dir to /home/user/.rslsync. Open the configuration file for editing nano ~/.rslsync/nf ![]() InstallationĮxtract Resilio Sync mkdir -p ~/rslsync tar xvzf resilio-sync_圆4.tar.gz -C ~/rslsyncĬreate a sample configuration file mkdir -p ~/.rslsync ~/rslsync/rslsync -dump-sample-config > ~/.rslsync/nf The port number 19469 has automatically been generated and will be used throughout this article, but can be changed if needed. Resilio Sync is a proprietary peer-to-peer synchronization tool.Ī random port number between 1007 is needed and will be used to access your Resilio Sync WebUI once setup is complete.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |