software:controller:vzlogger:installation_c-version
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
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 r00t | 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:// | ||
- | </ | ||
- | |||
- | or use stv0g' | ||
- | < | ||
- | git clone 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/ | ||
- | </ | ||
- | |||
- | ==== Binaries ==== | ||
- | <note warning> | ||
- | The binaries in Steffen' | ||
- | |||
- | You should not use it anymore and compile from source instead. | ||
- | </ | ||
- | |||
- | Steffen provided packages for Debian/ | ||
- | |||
- | add Steffen' | ||
- | < | ||
- | deb-src http:// | ||
- | |||
- | 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) | ||
- | < | ||
- | |||
- | |||
- | < | ||
- | sudo apt-get update | ||
- | sudo apt-get install vzlogger | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ==== 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.1360103854.txt.gz · Zuletzt geändert: 2013/02/05 23:37 von r00t