{"id":473,"date":"2026-07-03T19:32:48","date_gmt":"2026-07-03T10:32:48","guid":{"rendered":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/473"},"modified":"2026-07-04T19:08:58","modified_gmt":"2026-07-04T10:08:58","slug":"grafana%e3%81%aeubuntu%e7%92%b0%e5%a2%83%e3%81%b8%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%89%8b%e9%a0%86","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/473","title":{"rendered":"Grafana\u306eUbuntu\u74b0\u5883\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Grafana\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u53ef\u8996\u5316\u30c4\u30fc\u30eb\u3067\u3059\u3002Ubuntu \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u76e3\u8996\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u6e96\u5099<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306f <strong>root \u6a29\u9650<\/strong>\uff08\u307e\u305f\u306f <code>sudo<\/code>\uff09\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>1. \u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u66f4\u65b0<\/h3>\n<pre><code>sudo apt-get update<\/code><\/pre>\n<h3>2. \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre><code>sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common<\/code><\/pre>\n<h2>Grafana \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0<\/h2>\n<p>\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e GPG \u9375\u3092\u53d6\u5f97\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -fsSL https:\/\/apt.grafana.com\/gpg.key | sudo apt-key add -\nsudo add-apt-repository \"deb https:\/\/apt.grafana.com stable main\"\nsudo apt-get update<\/code><\/pre>\n<h2>Grafana \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre><code>sudo apt-get install -y grafana<\/code><\/pre>\n<h2>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3068\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<\/h2>\n<ul>\n<li>\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5:\n<pre><code>sudo systemctl start grafana-server<\/code><\/pre>\n<\/li>\n<li>\u30b9\u30c6\u30fc\u30bf\u30b9\u78ba\u8a8d:\n<pre><code>sudo systemctl status grafana-server<\/code><\/pre>\n<\/li>\n<li>\u30b7\u30b9\u30c6\u30e0\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u8d77\u52d5:\n<pre><code>sudo systemctl enable grafana-server<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\uff08\u5fc5\u8981\u306a\u5834\u5408\uff09<\/h2>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f Grafana \u306f\u30dd\u30fc\u30c8 <strong>3000<\/strong> \u3067\u5f85\u3061\u53d7\u3051\u307e\u3059\u3002UFW \u3092\u4f7f\u3063\u3066\u958b\u653e\u3057\u307e\u3059\u3002<\/p>\n<pre><code>sudo ufw allow 3000\/tcp<\/code><\/pre>\n<h2>Web UI \u3078\u306e\u30a2\u30af\u30bb\u30b9<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>http:\/\/<strong>\u30b5\u30fc\u30d0\u30fcIP\u30a2\u30c9\u30ec\u30b9<\/strong>:3000<\/p>\n<p>\u521d\u671f\u30ed\u30b0\u30a4\u30f3\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30e6\u30fc\u30b6\u30fc\u540d: <strong>admin<\/strong><\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9: <strong>admin<\/strong> \uff08\u521d\u56de\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u5909\u66f4\u3092\u63a8\u5968\uff09<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4ee5\u4e0a\u3067 Ubuntu \u74b0\u5883\u3078\u306e Grafana \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u8ffd\u52a0\u3084\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u4f5c\u6210\u3092\u884c\u3044\u3001\u76e3\u8996\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Grafana\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u53ef\u8996\u5316\u30c4\u30fc\u30eb\u3067\u3059\u3002Ubuntu \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u76e3\u8996\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u6e96\u5099 \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306f root \u6a29\u9650\uff08\u307e\u305f\u306f s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":1,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":478,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/473\/revisions\/478"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}