Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section specifies how to bring up a telemetry reference server for community using a sample php code in Ubuntu 24.04 machine and how to display the json files in the browser.

Table of Contents

Pre-requisite

  • Install apache server

...

Code Block
$ apt install apache2 php libapache2-mod-php


How to run the telemetry

...

upload

...

script

  • Create a directory named "xconf" in the rootpath directory(rootpath directory can be found from apache configuration file)
  • Copy the telemetry_upload.php file attached here(telemetry_upload.php) to xconf directory. Make sure to set the ownership as www-data and set execute permissions 

...

JSON file can be viewed by clicking the json file files listed. It will be opened in in other tab like below.