Personal tools

Difference between revisions of "Installation"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m ({{PVLngRepo}})
m ({{PVLngScriptsRepo}})
Line 19: Line 19:
 
* [[Core installation instructions|Installation instructions]] for {{PVLngRepo}}
 
* [[Core installation instructions|Installation instructions]] for {{PVLngRepo}}
 
* [[Scripts installation instructions|Installation instructions]] for {{PVLngScriptsRepo}}
 
* [[Scripts installation instructions|Installation instructions]] for {{PVLngScriptsRepo}}
 
== {{PVLngScriptsRepo}} ==
 
 
Install with Git by cloning
 
 
# git clone <nowiki>https://github.com/KKoPV/PVLng-scripts.git</nowiki>
 
 
or download an archive
 
 
# wget -O master.zip <nowiki>https://github.com/KKoPV/PVLng-scripts/zipball/master</nowiki>
 
# unzip master.zip
 
# mv PVLng-scripts-master/* .
 
# rm -r master.zip PVLng-scripts-master
 
 
Afterwards prepare the configuration file with
 
 
# cp PVLng.conf.dist PVLng.conf
 
 
Fill in at least your API key, you can find it on the [[Information module|information]] page.
 
 
There are some examples in the [[:Category:Scripts]].
 
 
[[Category:Hardware]]
 
[[Category:Software]]
 

Revision as of 12:15, 7 April 2014

Hardware requirements

  • A server, which fits the software requirements :-)
  • Some sensors, like 1-Wire sensors, watt meters
  • Solar inverter which supports either

Software requirements

  • Operating system with support of periodic job scheduling (for example *nix with cron)
  • MySQL ≥ 5.1.* (supports table partitions, views, trigger, functions, procedures and events)
  • PHP ≥ 5.3.*
  • Web server with PHP support, tested with Apache, Litespeed and Nginx (recommended)

Installation

The system is devided into 2 repositories, the PVLng core repo with web frontend and API and the PVLng-Scripts repo with the data aquisition scripts.