{"id":58,"date":"2022-05-29T15:59:42","date_gmt":"2022-05-29T06:59:42","guid":{"rendered":"http:\/\/52.196.21.54.nip.io\/techblog\/?p=58"},"modified":"2022-05-07T16:07:29","modified_gmt":"2022-05-07T07:07:29","slug":"ubuntu-server%e3%81%a7apc%e3%81%aeups%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/shugomatsuzawa.com\/techblog\/2022\/05\/29\/58\/","title":{"rendered":"Ubuntu Server\u3067APC\u306eUPS\u3092\u4f7f\u3046"},"content":{"rendered":"\n<p>APC\u306eUPS\u306fLinux\u3067\u3082\u4f7f\u3048\u308b\u3002<br>\u4f7f\u7528\u3057\u305f\u306e\u306fAPC ES 550 USB\u3068\u3044\u3046\u30e2\u30c7\u30eb\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install apcupsd # \u30c9\u30e9\u30a4\u30d0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\napcaccess # \u72b6\u614b\u78ba\u8a8d<\/code><\/pre>\n\n\n\n<p>\/etc\/apcupsd\/apcupsd.conf\u3092\u7de8\u96c6\u3057\u3066\u8a2d\u5b9a\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>UPSCABLE usb\nUPSTYPE usb\nDEVICE \/dev\/usb\/hiddev0 # \u30c7\u30d0\u30a4\u30b9\u540d\u306fhiddev0 dmesg\u3067\u8abf\u3079\u3089\u308c\u308b\n\nMINUTES 3 # \u30d0\u30c3\u30c6\u30ea\u30fc\u6b8b\u308a\u7a3c\u50cd\u6642\u9593\uff08\u5206\uff09\u3067\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u958b\u59cb\nTIMEOUT 60 # \u505c\u96fb\u5f8c\u3001\u4e00\u5b9a\u6642\u9593\uff08\u79d2\uff09\u3067\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u958b\u59cb 0\u306e\u5834\u5408\u306f\u6307\u5b9a\u6642\u9593\u7d4c\u904e\u3067\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3092\u884c\u308f\u306a\u3044<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"APC\u306eUPS\u306fLinux\u3067\u3082\u4f7f\u3048\u308b\u3002\u4f7f\u7528\u3057\u305f\u306e\u306fAPC ES 550 USB\u3068\u3044\u3046\u30e2\u30c7\u30eb\u3002 \/etc\/apcupsd\/apcupsd.conf\u3092\u7de8\u96c6\u3057\u3066\u8a2d\u5b9a\u3067\u304d\u308b\u3002","protected":false},"author":1,"featured_media":65,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[27,9,11,26,10],"class_list":["post-58","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system-management","tag-apc","tag-linux","tag-ubuntu","tag-ups","tag-memo"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/shugomatsuzawa.com\/techblog\/wp-content\/uploads\/sites\/3\/2022\/05\/lightbulb-g2c8caef3a_1920.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":1,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/58\/revisions\/59"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}