{"id":23,"date":"2018-05-18T13:25:53","date_gmt":"2018-05-18T04:25:53","guid":{"rendered":"https:\/\/tech.infinitespace.org\/?p=23"},"modified":"2018-06-28T16:10:41","modified_gmt":"2018-06-28T07:10:41","slug":"debian-9-stretch%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/tech.infinitespace.org\/?p=23","title":{"rendered":"Debian 9 (stretch)\u3092\u4f7f\u3044\u59cb\u3081\u3066\u307f\u305f"},"content":{"rendered":"<p>Debian 9 (stretch) \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3001IDCF\u30af\u30e9\u30a6\u30c9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u30a4\u30e1\u30fc\u30b8\u304c\u767b\u9332\u3055\u308c\u305f\u306e\u3067\u65e2\u5b58\u306e\u74b0\u5883\u3067\u4f7f\u3063\u3066\u3044\u308bwheezy\u3092\u30ea\u30d7\u30ec\u30a4\u30b9\u3059\u308b\u3079\u304f\u3001\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092Debian 9\u3067\u7acb\u3061\u4e0a\u3052\u3066\u307f\u305f\u3002<\/p>\n<p>IDCF\u30af\u30e9\u30a6\u30c9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u306e\u3067\u30d6\u30fc\u30c8\u304b\u3089\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u6d41\u3057\u8fbc\u3093\u3067\u3001\u521d\u671f\u8a2d\u5b9a\u307e\u3067\u306f\u7279\u306b\u4f5c\u696d\u306f\u306a\u304f\u3001\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3055\u308c\u305froot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u958b\u59cb\u3002\u306a\u3093\u304b\u3001\u4e00\u756a\u6642\u9593\u304c\u304b\u304b\u308b\u3068\u3053\u308d\u306f\u30b9\u30ad\u30c3\u30d7\u51fa\u6765\u3066\u3044\u308b\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<p>root\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3042\u3068\u3001\u3072\u3068\u307e\u305a\u3084\u3063\u305f\u4e8b\u30ea\u30b9\u30c8<\/p>\n<ul>\n<li>apt remove nano\n<ul>\n<li>&gt; vim\u4f7f\u3046\u304b\u3089\u8981\u3089\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<li>apt update &amp; apt upgrade\n<ul>\n<li>&gt; \u3082\u306f\u3084\u304a\u307e\u3058\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<li>\u5e38\u7528\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\n<ul>\n<li>&gt; \u9375\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/li>\n<li>authorized_keys\u306e\u4f5c\u6210<\/li>\n<li>&gt; \u81ea\u5b85\u306e\u62e0\u70b9\u30b5\u30fc\u30d0\u304b\u3089\u63a5\u7d9a\u3092\u697d\u3059\u308b\u305f\u3081<\/li>\n<li>\/etc\/sudoers.d\/ \u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u8ffd\u52a0<\/li>\n<li>&gt; \u3044\u3064\u3082visudo\u3059\u308b\u306e\u3068\u60a9\u3080<\/li>\n<\/ul>\n<\/li>\n<li>apt install fail2ban\n<ul>\n<li>&gt; \u75db\u304f\u306a\u3044\u8179\u3092\u63a2\u3089\u308c\u308b\u306e\u306f\u5acc\u3060\u3088\u306d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u3082dmesg\u3067\u304d\u308b\u3088\u3046\u306b\/etc\/sysctl.conf\u306b\u8a2d\u5b9a\u8ffd\u8a18\n<ul>\n<li>&gt; \u51fa\u6765\u306a\u3044\u30e1\u30ea\u30c3\u30c8\u3088\u308a\u3082\u51fa\u6765\u308b\u30e1\u30ea\u30c3\u30c8\u306e\u65b9\u304c\u52dd\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3068\u3001\u3053\u3093\u306a\u4e8b\u304b\u306a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian 9 (stretch) \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3001IDCF\u30af\u30e9\u30a6\u30c9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u30a4\u30e1\u30fc\u30b8\u304c\u767b\u9332\u3055\u308c\u305f\u306e\u3067\u65e2\u5b58\u306e\u74b0\u5883\u3067\u4f7f\u3063\u3066\u3044\u308bwheezy\u3092\u30ea\u30d7\u30ec\u30a4\u30b9\u3059\u308b\u3079\u304f\u3001\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092Debian 9\u3067\u7acb\u3061\u4e0a\u3052\u3066\u307f\u305f &hellip; <a href=\"https:\/\/tech.infinitespace.org\/?p=23\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23"}],"version-history":[{"count":6,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.infinitespace.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}