software:controller:vzlogger:installation_c-version
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:controller:vzlogger:installation_c-version [2013/05/01 09:47] – [Binaries] removed deprecated info justinotherguy | software: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: | ||
| - | < | ||
| - | |||
| - | On Debian based distros most of these dependencies can easily installed with: | ||
| - | < | ||
| - | |||
| - | building libsml additionally requires the development headers for libuuid: | ||
| - | < | ||
| - | |||
| - | === building libsml === | ||
| - | < | ||
| - | git clone https:// | ||
| - | cd libsml | ||
| - | make | ||
| - | </ | ||
| - | note that libsml does not include a 'make install' | ||
| - | you might manually install it into your system, or just use the instructions below to compile vzlogger. | ||
| - | |||
| - | === building vzlogger === | ||
| - | |||
| - | < | ||
| - | git clone -b c-version https:// | ||
| - | </ | ||
| - | <note warning> | ||
| - | since [[https:// | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | cd vzlogger | ||
| - | ./configure && make && make install | ||
| - | </ | ||
| - | if you are having trouble building with libsml: | ||
| - | |||
| - | (read this for more details: | ||
| - | [[http:// | ||
| - | < | ||
| - | ./configure DEPS_SML_CFLAGS=-I/ | ||
| - | </ | ||
| - | |||
| - | |||
| - | ==== 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 / | ||
| - | |||
| - | < | ||
| - | [Unit] | ||
| - | Description=vzlogger | ||
| - | After=syslog.target network.target | ||
| - | |||
| - | [Service] | ||
| - | ExecStart=/ | ||
| - | ExecReload=/ | ||
| - | StandardOutput=null | ||
| - | |||
| - | [Install] | ||
| - | WantedBy=multi-user.target | ||
| - | </ | ||
| - | |||
| - | <note important> | ||
| - | Please take care that both paths to the binary (vzlogger) and its configuration file (vzlogger.conf) are correct. | ||
| - | </ | ||
| - | |||
| - | You can start, stop or verify vzloggers status using the common systemctl command: | ||
| - | |||
| - | < | ||
| - | ~]# systemctl start vzlogger | ||
| - | ~]# systemctl status vzlogger | ||
| - | ~]# systemctl stop vzlogger | ||
| - | </ | ||
| - | |||
| - | If you are satisfied and want to have vzlogger permanently startet as a service everytime your machine boots, just enable it: | ||
| - | |||
| - | < | ||
| - | ~]# systemctl enable vzlogger | ||
| - | </ | ||
| - | |||
software/controller/vzlogger/installation_c-version.1367394441.txt.gz · Zuletzt geändert: von justinotherguy