There are a few different ways to achieve this.įirst, let’s create the folder: sudo mkdir /shared In order to sync folders with BitTorrent Sync, the btsync user or group needs write access to the folders. You can, however, copy the configuration to use as a template for another configuration if you’d like to adjust details not covered in the menu configuration. The configuration directory for the service is: /etc/btsyncĭo not edit the config file generated by the menu system by hand. If you need to change the configuration at some point in the future, you can run through the configuration menus at any time by issuing: sudo dpkg-reconfigure btsync The installation will complete and your service will be started. The default value is 8888, but you can change that to any open port.įinally, select a username and password to secure the web interface. Next, select a port to access the web interface. Note that you will not be able to sync to your home computer using the private network. If you wish to restrict it to one network, such as the DigitalOcean private network, you can specify the appropriate IP address here. If you leave it at 0.0.0.0, the BitTorrent Sync service will use any available interface. Next, you’ll be asked which interface you wish to configure the service for. If you do not wish to limit either of these, leave the default of 0 to allow maximum throughput. Next, define your download and upload limits. The next question asks about configuring a UPNP request, which we don’t need. If you are configuring a firewall for your server (which is highly recommended), you probably want to define a specific port. You can leave the selection at 0 to have btsync choose a random port each time it starts. The next question will be about the port you wish to use to communicate between instances. We want operate BitTorrent Sync with its own user and group for security purposes. The first question asks if you’d like to do this configuration to define a default BitTorrent Sync instance. Initial Configuration During Installationĭuring the installation phase, you will be asked a number of questions that can assist you in configuring the service. Once the new repository is added, we should update apt to build a package index for the new source, and then install the BitTorrent Sync software: sudo apt-get update Sudo apt-get install python-software-propertiesĪfter this is installed, we can add the PPA that contains updated Ubuntu packages: sudo add-apt-repository ppa:tuxpoldo/btsync Ubuntu 12.04 includes the PPA tools in a package called python-software-properties, which we can download through apt: sudo apt-get update We can use a PPA (personal package archive) so that we can have access to a maintained BitTorrent Sync repository and manage it with our normal apt tools. If you would like to install BitTorrent Sync on your local computer to allow you to sync with your server, you can find the binary packages here.īitTorrent Sync is relatively easy to install on Ubuntu 12.04, but it is not included in the default repositories. To begin, we will need to install BitTorrent Sync on both of our Ubuntu 12.04 instances. In this guide, we will discuss how to install and configure BitTorrent Sync on two Ubuntu 12.04 VPS instances. While BitTorrent proper is often used to distribute files in a public way, BitTorrent Sync is often used as a private method to sync and share files between devices due to its added security measures. Unlike traditional BitTorrent, files shared using BitTorrent Sync are encrypted and access is restricted based on a shared secret that is auto-generated. BitTorrent Sync is a method of synchronizing content based on the popular BitTorrent protocol for file sharing. One method for automatically syncing content is BitTorrent Sync. Syncing folders and files between computers and devices can be done in many different ways. You can use the search functionality at the top of the page to find a more recent version. If available, we strongly recommend using a guide written for the version of Ubuntu you are using. This guide might still be useful as a reference, but may not work on other Ubuntu releases. Reason: Ubuntu 12.04 reached end of life (EOL) on Apand no longer receives security patches or updates. Migrate the server data to a supported version.Upgrade from Ubuntu 14.04 to Ubuntu 16.04.If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu: This article covers a version of Ubuntu that is no longer supported.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |