Zum Inhalt springen

GlobeView - Help: Unterschied zwischen den Versionen

Aus LHlab Wiki
KKeine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
==Help==
{{NotMaintained}}{{TOCright}}This is the main help page for the GlobeView project. More Informations you can get here:
===GlobeView API===
With lookout version 0.5-1 a basic data interface API was implemented - currently it's possible to get the data of all listed webcams as '''XML''', '''JSON''' or '''Atom RSS Feed'''.
* XML: api.php?type=''xml''
* JSON: api.php?type=''json''
* Atom RSS Feed: api.php?type=''atom''
<br><font color=red>'''Since v0.7-1a the API will interpret the newly introduced webcam fetching mode and therefore format the webcam URL's correctly!'''</font>


===Wizard===
*[https://sourceforge.net/projects/globeview @ Sourceforge]
====Pre-Check====
*[[GlobeView - Advanced-Installation]]
=====PHP Version=====
 
lookout is written in PHP and uses all kind of OOP features which are available since PHP 5 - therefore a PHP version equals or greater than 5.0.0 is required and all versions below are not supported.<br>
==GlobeView API==
In GlobeView is a basic data interface API implemented - currently it's possible to get the data of all listed webcams as '''XML''', '''JSON''' or '''Atom RSS Feed'''.
 
*XML: api.php?type=''xml''
*JSON: api.php?type=''json''
*Atom RSS Feed: api.php?type=''atom''
 
==Wizard==
===Pre-Check===
====PHP Version====
GlobeView is written in PHP and uses all kind of OOP features which are available since PHP 5 - therefore a PHP version equals or greater than 5.0.0 is required and all versions below are not supported.<br>
You can get the latest (or a supported) PHP version [http://www.php.net/downloads.php &gt; here &lt;].
You can get the latest (or a supported) PHP version [http://www.php.net/downloads.php &gt; here &lt;].


 
====PHP MySQL Support====
===== PHP MySQL Support =====
In order to use a MySQL server to store data in, your PHP installation should be one with built-in MySQL support.<br>
In order to use a MySQL server to store data in, your PHP installation should be one with built-in MySQL support.<br>
Normally MySQL support is enabled by default; otherwise (or for a manual PHP installation) see the [http://www.php.net/manual/en/mysql.installation.php &gt; PHP installation manual &lt;].
Normally MySQL support is enabled by default; otherwise (or for a manual PHP installation) see the [http://www.php.net/manual/en/mysql.installation.php &gt; PHP installation manual &lt;].
Zeile 26: Zeile 29:
For further information see [http://www.php.net/manual/en/mysql.configuration.php &gt; here &lt;].
For further information see [http://www.php.net/manual/en/mysql.configuration.php &gt; here &lt;].


 
====Write permission====
=====Write permission=====
To save the DB connection information entered in step 2 of the wizard, GlobeView needs writing permissions to it's file <code>lib/inc.db.php</code>.<br>
To save the DB connection information entered in step 2 of the wizard, lookout needs writing permissions to it's file <code>lib/inc.db.php</code>.<br>
So you have to change the write permisions, so the apache httpd user could write that file:<br>
So you have to change the write permisions, so the apache httpd user could write that file:<br>
On Debian based Systems:
On Debian based Systems:
Zeile 44: Zeile 46:




===== JavaScript =====
====JavaScript====
For a better usability and some client-side actions, javascript support is required and shouldn't be disabled or restricted.<br>
For a better usability and some client-side actions, javascript support is required and shouldn't be disabled or restricted.<br>
Here the setting for '''Firefox''':<br><br>  
Here the setting for '''Firefox''':<br><br>  
Zeile 54: Zeile 56:




==== DB-Connection ====
===DB-Connection===


Attention you need to do this first:<br>  
Attention you need to do this first:<br>  


*[[LookOut - Webcam Overview Tool#create_lookout_DB_and_User_for_the_installation_wizard|create_lookout_DB_and_User_for_the_installation_wizard]]
*[[GlobeView - Webcam Overview Tool#create_lookout_DB_and_User_for_the_installation_wizard|create_lookout_DB_and_User_for_the_installation_wizard]]


[[Image:Wizard-DBConnection.PNG|583x391px]]
[[Image:Wizard-DBConnection.PNG|583x391px]]
Zeile 64: Zeile 66:


===Admin Panel===
===Admin Panel===
With the admin panels you can manage all the stuff for the frontend:
With the admin panel you can manage all the stuff for the frontend:
* Create new users
 
* Manage you Webcams
*Create new users
*Manage you Webcams
 
[[Kategorie:Linux]]
[[Kategorie:MySQL]]
[[Kategorie:PHP]]
[[Kategorie:Projekte]]
[[Kategorie:GlobeView]]

Aktuelle Version vom 20. Februar 2021, 21:17 Uhr

Warnung Dieser Inhalt wird nicht mehr gewartet

Der Inhalt dieser Seite ist veraltet, nicht mehr korrekt, oder das Projekt wird nicht mehr weiter fortgeführt. Bei Fragen, bitte an den Author wenden.

This is the main help page for the GlobeView project. More Informations you can get here:

GlobeView API

In GlobeView is a basic data interface API implemented - currently it's possible to get the data of all listed webcams as XML, JSON or Atom RSS Feed.

  • XML: api.php?type=xml
  • JSON: api.php?type=json
  • Atom RSS Feed: api.php?type=atom

Wizard

Pre-Check

PHP Version

GlobeView is written in PHP and uses all kind of OOP features which are available since PHP 5 - therefore a PHP version equals or greater than 5.0.0 is required and all versions below are not supported.
You can get the latest (or a supported) PHP version > here <.

PHP MySQL Support

In order to use a MySQL server to store data in, your PHP installation should be one with built-in MySQL support.
Normally MySQL support is enabled by default; otherwise (or for a manual PHP installation) see the > PHP installation manual <.
There are some PHP configuration parameters which should set correctly (default values):

mysql.allow_persistent = 1 #http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.allow-persistent
mysql.max_persistent = -1  #http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.max-persistent
mysql.max-links = -1       #http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.max-links

For further information see > here <.

Write permission

To save the DB connection information entered in step 2 of the wizard, GlobeView needs writing permissions to it's file lib/inc.db.php.
So you have to change the write permisions, so the apache httpd user could write that file:
On Debian based Systems:

chown www-data.www-data lib/inc.db.php

And on Red Hat based Systems:

chown apache.apache lib/inc.db.php

or you could give it world writeable permission, which is not so secure:

chmod o+w lib/inc.db.php


JavaScript

For a better usability and some client-side actions, javascript support is required and shouldn't be disabled or restricted.
Here the setting for Firefox:

Firefox JavaScript

and for Internet Explorer:

IE JavaScript 1 IE JavaScript 2

For further informations look here


DB-Connection

Attention you need to do this first:

Wizard DBConnection


Admin Panel

With the admin panel you can manage all the stuff for the frontend:

  • Create new users
  • Manage you Webcams