Support #717
Updated by Daniel Curtis almost 9 years ago
This is a guide on running the Firefox Sync-1.5 Server on FreeBSD 9. h2. Prepare the Environment * Make sure the system is up to date: <pre> pkg update && pkg upgrade -y </pre> * Install a few dependencies: <pre> pkg install git gmake python2 py27-virtualenv sqlite py27-sqlite3 </pre> * Add the Sync Server user <pre> pw add user -n ff-sync -m -s /bin/sh -c "Firefox Sync" </pre> h2. Install Sync Server * Switch to the sync server user: <pre> su - ff-sync </pre> * Download the sync server from GitHub: <pre> git clone https://github.com/mozilla-services/syncserver </pre> * Build the sync server: <pre> cd syncserver gmake build </pre> * Edit the syncserver config file: <pre> vi syncserver.ini </pre> #* And uncomment the sqlite uri parameter: <pre> sqluri = sqlite:////home/ff-sync/syncserver.db </pre> * Test run the server: <pre> gmake serve </pre> #* *# Ctrl+C to exit the server. h3. Configure Firefox # To configure desktop Firefox to talk to your new Sync server, go to *about:config* # search for +identity.sync.tokenserver.uri+ and change its value to the URL of your server with a path of @token/1.0/sync/1.5@: *identity.sync.tokenserver.uri:* http://sync.example.com/token/1.0/sync/1.5 h2. Resources * https://docs.services.mozilla.com/howtos/run-sync-1.5.html