How to Install: IOT Directory


Warning message

You can't delete this newsletter because it has not been sent to all its subscribers.


This component is a PHP web application


  • PHP 5.3.3 (not tested with PHP 7)
  • MySQL 10.1.31 (MariaDB)
  • Node js (version v8.9.4)


  • copy the front_end folder in a web accessible directory (i.e. /var/www/html) and rename it as you like 

Import DB tables

  • see details in the dashboard_backend component


  • edit the database.ini file to set the host and credentials for the DB.
  • Edit the serviceURI.ini for specifying the service for the management of user ownerships, delegation and knowledge base.
  • change the permissions to the img folder to allow the webserver to write in this folder. (e.g. "chown -R www-data:www-data img")
  • In a private directory you have to create two subdirectories (“log” and “certificate”) for storing logs and certificates. These directory paths should be reported in the “general.ini” file contained in the conf directory. Make sure to grant writing permissions on these directories.
  • The “snap4cityServer” directory contains the node.js code. The service should be started with the command “node snapIoTDirectory_rw.js”