{"id":44,"date":"2014-05-20T10:34:57","date_gmt":"2014-05-20T01:34:57","guid":{"rendered":"http:\/\/fsck.jp\/?p=44"},"modified":"2018-06-06T14:27:51","modified_gmt":"2018-06-06T05:27:51","slug":"ubuntu-12-04-%e3%81%8b%e3%82%89-14-04-%e3%81%ab%e7%a7%bb%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/fsck.jp\/?p=44","title":{"rendered":"Ubuntu 12.04 \u304b\u3089 14.04 \u306b\u79fb\u884c"},"content":{"rendered":"<p>Apache HTTPd \u304c 2.2 \u304b\u3089 2.4 \u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u66f8\u5f0f\u304c\u5909\u308f\u3063\u305f\u308a\u3059\u308b\u3002<br \/>\n\u307e\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u304c\u5c11\u3057\u9055\u3046\u3002<\/p>\n<h3>1. \u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u8a2d\u5b9a<\/h3>\n<p>allow deny \u306a\u3069\u306f require \u306b\u66f8\u304d\u63db\u3048\u304c\u5fc5\u8981 (2.4\u306e\u4ed5\u69d8\u5909\u66f4)<br \/>\n\u4f8b\u3048\u3070 Allow from all \u306f Require all granted\u306b\u3002<br \/>\n\u53c2\u8003URL: Upgrading to 2.4 from 2.2<br \/>\n<a href=\"http:\/\/httpd.apache.org\/docs\/2.4\/upgrading.html\">http:\/\/httpd.apache.org\/docs\/2.4\/upgrading.html<\/a><\/p>\n<h3>2. \u30b5\u30a4\u30c8\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d<\/h3>\n<p>\/etc\/apache2\/sites-available \u306e\u4e0b\u306e\u30b5\u30a4\u30c8\u500b\u5225\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f .conf \u3068\u3044\u3046\u30b5\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u306a\u3044\u3068\u8aad\u307f\u8fbc\u307e\u308c\u306a\u3044\u3002<\/p>\n<h3>3. AuthGroupFile<\/h3>\n<p>mod_authz_groupfile\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001AuthGroupFile\u304c\u66f8\u3044\u3066\u3042\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002AuthGroupFile\u306e\u8a18\u8ff0\u3092\u3084\u3081\u308b\u304b\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3059\u308b\u3002<\/p>\n<h3>4. NFS\u30de\u30a6\u30f3\u30c8\u306e\u898b\u3048\u65b9<\/h3>\n<p>\u3042\u3068\u3001df \u30b3\u30de\u30f3\u30c9\u3067\u30de\u30a6\u30f3\u30c8\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u8868\u793a\u3055\u305b\u308b\u3068\u3001\u540c\u3058 NFS \u30b5\u30fc\u30d0\u304b\u3089\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30c4\u30ea\u30fc\u3092\u8907\u6570\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u4e00\u3064\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<pre>\r\n$ cat \/etc\/fstab    \u2190NFS4\u306e\u8a2d\u5b9a\u304c2\u884c\u66f8\u3044\u3066\u3042\u308b\r\nnfsserver:\/vmware\t\/home\/vmware\tnfs4\tdefaults\t0\t0\r\nnfsserver:\/iso\t\/home\/iso\tnfs4\tdefaults\t0\t0\r\n$ df -h -t nfs4    \u2190\uff11\u884c\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\r\nFilesystem      Size  Used Avail Use% Mounted on\r\nnfsserver:\/iso   1.8T  867G  967G  48% \/home\/iso<\/pre>\n<p>\u30de\u30a6\u30f3\u30c8\u81ea\u4f53\u306f\u554f\u984c\u306a\u304f\u51fa\u6765\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3046\u3044\u3046\u4ed5\u69d8\u3089\u3057\u3044\u3068\u3042\u304d\u3089\u3081\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache HTTPd \u304c 2.2 \u304b\u3089 2.4 \u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u66f8\u5f0f\u304c\u5909\u308f\u3063\u305f\u308a\u3059\u308b\u3002 \u307e\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u304c\u5c11\u3057\u9055\u3046\u3002 1. \u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u8a2d\u5b9a allow deny \u306a\u3069\u306f require \u306b\u66f8\u304d\u63db\u3048\u304c\u5fc5\u8981 (2. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,9,14],"tags":[],"_links":{"self":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts\/44"}],"collection":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":0,"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}