User Tools

Site Tools


apcupsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
apcupsd [2009/10/13 05:48] 172.26.0.166apcupsd [2009/10/13 06:55] 172.26.0.166
Line 5: Line 5:
 ===== Installation ===== ===== Installation =====
  
-Download an RPM from here: http://sourceforge.net/projects/apcupsd/files/+Download source RPM from: http://www.apcupsd.com/dl.php
  
-Test the rpm+Build the RPM (make sure your environment is set up as in [[custom_rpms]])
-<code>rpm -vv --test -i ~alan/src/apcupsd-multimon-3.14.7-1.el5.x86_64.rpm</code> +<code>rpm --rebuild apcupsd-3.14.7-1.src.rpm 
-If everything looks good, install: +$ sudo rpm -i ~/rpmbuild/RPMS/x86_64/apcupsd-3.14.7-1.x86_64.rpm</code>
-<code># rpm -i ~alan/src/apcupsd-multimon-3.14.7-1.el5.x86_64.rpm +
-# rpm -ql apcupsd-multimon +
-/etc/apcupsd +
-/etc/apcupsd/apcupsd.css +
-/etc/apcupsd/hosts.conf +
-/etc/apcupsd/multimon.conf +
-/var/www/cgi-bin +
-/var/www/cgi-bin/multimon.cgi +
-/var/www/cgi-bin/upsfstats.cgi +
-/var/www/cgi-bin/upsimage.cgi +
-/var/www/cgi-bin/upsstats.cgi</code>+
  
 ===== Configuration ===== ===== Configuration =====
Line 52: Line 41:
 === /etc/apcupsd/apcupsd.conf === === /etc/apcupsd/apcupsd.conf ===
  
-The defaults are ok, but make sure the daemon is configured to use ''UPSTYPE usb'', and leave the ''DEVICE'' blank for auto detection. +The defaults are ok, but make sure the daemon is configured to use the following settings (leave ''DEVICE'' blank for auto detection): 
-<file>UPSTYPE usb+<file>UPSCABLE usb 
 +UPSTYPE usb
 DEVICE</file> DEVICE</file>
  
apcupsd.txt · Last modified: 2011/09/02 12:42 by aorth