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 revisionBoth sides next revision
apcupsd [2009/10/13 06:55] 172.26.0.166apcupsd [2009/10/13 07:13] 172.26.0.166
Line 5: Line 5:
 ===== Installation ===== ===== Installation =====
  
-Download source RPM from: http://www.apcupsd.com/dl.php+Download source from: http://www.apcupsd.com/dl.php
  
-Build the RPM (make sure your environment is set up as in [[custom_rpms]])+<code>$ tar zxf apcupsd-3.14.7.tar.gz 
-<code>$ rpm --rebuild apcupsd-3.14.7-1.src.rpm +$ cd apcupsd-3.14.7 
-$ sudo rpm -i ~/rpmbuild/RPMS/x86_64/apcupsd-3.14.7-1.x86_64.rpm</code>+$ ./configure --enable-usb --enable-cgi 
 +make</code> 
 +Because I am afraid of doing ''make install'' I will make my own RPM using checkinstall
 +<code>sudo /usr/sbin/checkinstall -R 
 +$ sudo rpm ---test -vv ~/rpmbuild/RPMS/x86_64/apcupsd-3.14.7-1.x86_64.rpm 
 +$ sudo rpm -i --force ~/rpmbuild/RPMS/x86_64/apcupsd-3.14.7-1.x86_64.rpm</code> 
 + 
 +Copy the CGI scripts: 
 +<code>$ sudo cp multimon.cgi upsimage.cgi upsstats.cgi /var/www/cgi-bin/</code>
  
 ===== Configuration ===== ===== Configuration =====
apcupsd.txt · Last modified: 2011/09/02 12:42 by aorth