Raspberry Pi – Install Firefox Sync

If you use a Mac and an iPad/iPhone you have already probably used iCloud for your bookmarks from one machine to another. With Firefox, Thanks Firefox Sync you can also save your bookmarks, browsing history and passwords and find them on different machines.

sync-logo

It is a this extension in Firefox since version 4. Once configured, you will be able to move and store at one place your login and your historical to quickly find your favourite pages.

  1. As always : the update !
    apt-get update && apt-get -y upgrade
  2. Install Nginx with PHP support. For this venue here. Here is the configuration file that I used :
    server {
     listen 80;
     root/var/www/ffsync;
     index index.php;
    location / {
     try_files $uri $uri / index.php;
     }
     server_name localhost;
     location ~ .php$ {
     fastcgi_split_path_info ^(.+\.php)(/.+)$;
     fastcgi_pass unix:/var/run/PHP5-fpm.sock;
     fastcgi_index index.php;
     include fastcgi_params;
     }
    }
  3. Install the required packages
    apt - get install –y sqlite git php5-sqlite
  4. Retrieve the latest version of FSyncMS
    CD/var/www/git clone git://github.com/balu-/FSyncMS.git mv FSyncMS ffsync chown-r www - data:www - data/var/www/ffsync
  5. Now you can go to the IP of your Raspberry to begin your configuration : http://<IP of the raspberry>/index.php

    Capture_d_écran_26_06_13_22_43

    Attention in the screenshot the URL contains ffsync which should not be the case with the above Nginx configuration

  6. Click “OK” to create the database
    Capture_d_écran_26_06_13_22_51
  7. Delete a file /var/www/ffsync/Setup.php
  8. Edit the file /var/www/ffsync/settings.php and change the address of your server with your domain name (don't forget the / at the end of the url !) :
    define("FSYNCMS_ROOT", "http://192.168.1.25/index.php.");
  9. You can now go in Firefox on one of your devices
    Page_de_démarrage_de_Mozilla_Firefox
    Then configure, the account :
    Sync
    Then create a new account.
    Configuration_de_Firefox_Sync
    And this is :
    Votre_première_synchronisation

To go further, You can install inadyn to access your server from outside. All the Info for inadyn here. Do not forget to open the port on your box.

Finally to secure all, You can pass by the HTTPS instead of HTTP. For this need you a certificate. You can build it you even. You will find the market to follow in this article.

Good surfing !

Like this article ? Bear with me on patreon!

You may also like...