2
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntu ServerからのUPS(APC製)設定

Posted at

#はじめに
電源の障害対策としてUPSを導入し、5分間電源回復しない場合は、自動シャットダウンするようにする。

#手順

###UPS(APC用)のパッケージをインストールする。

sudo apt-get install apcupsd

###apcupsd.confファイルを編集して設定する。

cd /etc/apcupsd/
sudo vi apcupsd.conf
#UPSCABLE smart
UPSCABLE usb

#UPSTYPE apcsmart
#DEVICE /dev/ttyS0
UPSTYPE usb
DEVICE

#TIMEOUT 0
TIMEOUT 300

###apcupsdファイルを編集して設定する。

cd /etc/default/
sudo vi apcupsd
#ISCONFIGURED=no
#ISCONFIGURED=yes

#リファレンス

2
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?