{"id":529,"date":"2014-05-30T06:24:08","date_gmt":"2014-05-29T21:24:08","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=529"},"modified":"2014-05-30T06:24:08","modified_gmt":"2014-05-29T21:24:08","slug":"debian-pkg-nointeractive","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2014\/05\/30\/debian-pkg-nointeractive\/","title":{"rendered":"Debian \u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u5c0e\u5165\u6642\u306e\u30c0\u30a4\u30e4\u30ed\u30b0\u3092\u6291\u5236\u3059\u308b"},"content":{"rendered":"<p>Debian \u3067mysql-server \u7b49\u3092\u5c0e\u5165\u3059\u308b\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u30c0\u30a4\u30e4\u30ed\u30b0\u304c\u51fa\u3066\u304f\u308b\uff0e<br \/><a href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/14299059522\" title=\"Screenshot from 2014-05-30 06:20:11 by Kenichiro MATOHARA, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm3.staticflickr.com\/2902\/14299059522_b24cdf076f_o.png\" width=\"655\" height=\"217\" alt=\"Screenshot from 2014-05-30 06:20:11\"><\/a><br \/>\u3053\u308c\u3092\u6291\u5236\u3067\u304d\u306a\u3044\u304b\u8a66\u3057\u3066\u307f\u305f\uff0e<\/p>\n<p><a href=\"http:\/\/www.microhowto.info\/howto\/perform_an_unattended_installation_of_a_debian_package.html\" title=\"microHOWTO: Perform an unattended installation of a Debian package\">microHOWTO: Perform an unattended installation of a Debian package<\/a><\/p>\n<blockquote>\n<p>export DEBIAN_FRONTEND=noninteractive<br \/>apt-get update -q<br \/>apt-get install -q -y -o Dpkg::Options::=\u201d\u2014force-confdef\u201d -o Dpkg::Options::=\u201d\u2014force-confold\u201d apache2 mysql-server<\/p>\n<\/blockquote>\n<p>\u3053\u308c\u3092\u53c2\u8003\u306b<\/p>\n<blockquote>\n<p>% sudo DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server<\/p>\n<\/blockquote>\n<p>\u3067\u30c0\u30a4\u30e4\u30ed\u30b0\u51fa\u3055\u305a\u306b\u5c0e\u5165\u3067\u304d\u305f\uff0e<br \/>\u3067\u3082mysql-server \u306e\u5834\u5408\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3057\u306a\u3044\u3068\u7d50\u69cb\u307e\u305a\u3044\uff0e<br \/>\u5373\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3059\u308b\u3068\u304b<\/p>\n<blockquote>\n<p>% mysqladmin -u root password \u2018password\u2019<\/p>\n<\/blockquote>\n<p>daemon\u6b62\u3081\u308b\u3068\u304b\u3057\u306a\u3044\u3068\u3060\u3068\u601d\u3046\uff0e<\/p>\n<blockquote>\n<p>% sudo \/etc\/init.d\/mysql stop<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Debian \u3067mysql-server \u7b49\u3092\u5c0e\u5165\u3059\u308b\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u30c0\u30a4\u30e4\u30ed\u30b0\u304c\u51fa\u3066\u304f\u308b\uff0e\u3053\u308c\u3092\u6291\u5236\u3067\u304d\u306a\u3044\u304b\u8a66\u3057\u3066\u307f\u305f\uff0e microHOWTO: Perform an unattended installation  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[7,6],"tags":[276,32,275],"class_list":["post-529","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","tag-debian-linux","tag-jessie","tag-linux"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=529"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/529\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}