これは何?

インストール

$ sudo yum - y install apcupad

設定

起動

# /sbin/chkconfig --level 35 apcupsd on
# /sbin/chkconfig --list apcupsd
apcupsd         0:off   1:off   2:off   3:on    4:off   5:on    6:off

# /etc/init.d/apcupsd start
Starting UPS monitoring:                                   [  OK  ]

コンソールからは次のように状態を確認できる

# apcaccess 
APC      : 001,035,0885
DATE     : 2010-07-18 22:27:20 +0900  
HOSTNAME : orange.homelan
VERSION  : 3.14.8 (16 January 2010) redhat
UPSNAME  : orange.homelan
CABLE    : USB Cable
MODEL    : APC ES 500 
UPSMODE  : Stand Alone
...

HTMLのレポート

# yum -y install apcupsd-cgi

/var/www/apcupsd に CGI が展開されるので、apache2 が実行できるようにする

# vi /etc/httpd/conf/httpd.conf

   564 # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
   565 # CGI directory exists, if you have that configured.
   566 #
   567 <Directory "/var/www/cgi-bin">
   568     AllowOverride None
   569     Options None
   570     Order allow,deny
   571     Allow from all
   572 </Directory>
   573 
+  574 <Directory "/var/www/apcupsd">
+  575     AllowOverride None
+  576     Options ExecCGI
+  577     Order allow,deny
+  578     Allow from all
+  579 </Directory>

# /etc/init.d/httpd restart
 

Gnome の Widget

# yum -y install apcupsd-gui

ノートPC のバッテリーと同じように見える

apcupsd.gui.png

Fedora 13 Server


添付ファイル: fileapcupsd.gui.png 2468件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS   sitemap
Last-modified: 2010-07-19 (月) 13:44:20 (5030d)
Short-URL:
ISBN10
ISBN13
9784061426061