Benutzer-Werkzeuge

Webseiten-Werkzeuge


software:controller:vzlogger:installation_c-version

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
software:controller:vzlogger:installation_c-version [2013/02/05 23:37] – Page name changed from software:controller:vzlogger_installation_c-version to software:controller:vzlogger:installation_c-version r00tsoftware:controller:vzlogger:installation_c-version [2014/12/31 18:47] (aktuell) – removed c reference andig
Zeile 1: Zeile 1:
-===== vzlogger C-version Installation ===== 
-==== Build from Source ==== 
-=== Prerequisites for compiling vzlogger === 
- 
-Please note that a full configured vzlogger requires these libraries to compile successfully: 
-  * pkg-config 
-  * libjson >= 0.9 
-  * libcurl3 >= 7.19 
-  * libsml >= 0.1 
-  * libmicrohttpd >= 0.4.6 
- 
-You can relax these dependecies by disabling certain features: 
-<code>./configure --disable-{sml,local}</code> 
- 
-On Debian based distros most of these dependencies can easily installed with: 
-<code>apt-get install pkg-config libcurl3-dev libjson0-dev libmicrohttpd-dev</code> 
- 
-building libsml additionally requires the development headers for libuuid: 
-<code>apt-get install uuid-dev</code> 
- 
-=== building libsml === 
-<code> 
-git clone https://github.com/dailab/libsml.git 
-cd libsml 
-make 
-</code> 
-note that libsml does not include a 'make install' target. 
-you might manually install it into your system, or just use the instructions below to compile vzlogger. 
- 
-=== building vzlogger === 
- 
-<code> 
-git clone -b c-version https://github.com/volkszaehler/vzlogger.git 
-</code> 
-<note warning> 
-since [[https://github.com/volkszaehler/vzlogger/commit/5b65beaf81f029e71f17c6a3a48a2eb1a2167f8b|this commit]] dated Februar 5 2013 the master-branch contains the C++-version! to get the c-version, check out the "c-version" branch! 
-</note> 
- 
-or use stv0g's branch, which might include the most recent fixes (or new bugs): 
-<code> 
-git clone https://github.com/stv0g/vzlogger.git 
-</code> 
-<code> 
-cd vzlogger 
-./configure && make && make install 
-</code> 
-if you are having trouble building with libsml: 
- 
-(read this for more details: 
-[[http://volkszaehler.org/pipermail/volkszaehler-users/2012-September/000487.html]]) 
-<code> 
-./configure DEPS_SML_CFLAGS=-I/path/to/libsml/sml/include/ DEPS_SML_LIBS='/path/to/libsml/sml/lib/libsml.a -luuid' 
-</code> 
- 
-==== Binaries ==== 
-<note warning> 
-The binaries in Steffen's repository are outdated / deprecated. 
- 
-You should not use it anymore and compile from source instead. 
-</note> 
- 
-Steffen provided packages for Debian/Ubuntu based distros on his [[http://packages.0l.de|repository]]. 
- 
-add Steffen's repository to your /etc/apt/sources.list: 
-<code>deb http://packages.0l.de/debian/ squeeze main non-free 
-deb-src http://packages.0l.de/debian/ squeeze main non-free</code> 
- 
-OPTIONALLY install his package signing key on your System: 
-(if you do not install the key, you will merily receive a warning that the package can't be verified) 
-(the command below seems to be broken) 
-<code>sudo apt-key add --keyserver pgp.mit.edu --recv-keys 0165FB80</code> 
- 
- 
-<code> 
-sudo apt-get update 
-sudo apt-get install vzlogger 
-</code> 
- 
- 
- 
-==== systemd start script==== 
- 
-If your computer uses systemd then follow these steps to add vzlogger as a new service: 
- 
-Create a file vzlogger.service in /usr/lib/systemd/system/ and fill it with these lines 
- 
-<code> 
-[Unit] 
-Description=vzlogger 
-After=syslog.target network.target 
- 
-[Service] 
-ExecStart=/usr/local/bin/vzlogger -f /etc/vzlogger.conf 
-ExecReload=/bin/kill -HUP $MAINPID 
-StandardOutput=null 
- 
-[Install] 
-WantedBy=multi-user.target 
-</code> 
- 
-<note important> 
-Please take care that both paths to the binary (vzlogger) and its configuration file (vzlogger.conf) are correct. 
-</note> 
- 
-You can start, stop or verify vzloggers status using the common systemctl command: 
- 
-<code> 
-~]# systemctl start vzlogger 
-~]# systemctl status vzlogger 
-~]# systemctl stop vzlogger 
-</code> 
- 
-If you are satisfied and want to have vzlogger permanently startet as a service everytime your machine boots, just enable it: 
- 
-<code> 
-~]# systemctl enable vzlogger 
-</code> 
- 
  
software/controller/vzlogger/installation_c-version.1360103854.txt.gz · Zuletzt geändert: 2013/02/05 23:37 von r00t