Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Nächste Überarbeitung | Vorherige Überarbeitung | ||
lpi2:collectd [2013/12/10 18:42] ingo_wichmann angelegt |
lpi2:collectd [2016/06/20 08:45] ingo_wichmann [Apache] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Pakete ====== | + | ====== Minimal-Installation ====== |
- | === Debian 7 === | + | ===== Pakete ===== |
+ | Debian 7: collectd-core | ||
- | für Webinterface: libhtml-parser-perl libconfig-general-perl libregexp-common-perl librrds-perl | + | ====== Webinterface collection3 ====== |
+ | ===== Pakete ===== | ||
+ | Debian 7: collectd apache2 libhtml-parser-perl libconfig-general-perl libregexp-common-perl librrds-perl | ||
+ | |||
+ | ===== Apache ===== | ||
+ | |||
+ | ''/etc/apache2/sites-available/default'' : ( Debian 7 ) | ||
+ | |||
+ | ''/etc/apache2/sites-available/000-default.conf'' : ( Ubuntu 14.04 ) | ||
+ | |||
+ | <file> | ||
+ | ... | ||
+ | ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/ | ||
+ | <Directory "/usr/share/doc/collectd/examples/collection3/bin"> | ||
+ | AllowOverride None | ||
+ | Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </Directory> | ||
+ | ... | ||
+ | </file> | ||
+ | |||
+ | ''/etc/apache2/sites-available/000-default.conf'' : ( Debian 8 ) | ||
+ | |||
+ | <file> | ||
+ | <VirtualHost *:80> | ||
+ | … | ||
+ | ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/ | ||
+ | <Directory "/usr/share/doc/collectd/examples/collection3/bin"> | ||
+ | AllowOverride None | ||
+ | Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | … | ||
+ | <VirtualHost *:80> | ||
+ | </file> | ||
+ | |||
+ | a2enmod cgi | ||
+ | service apache2 restart | ||