{"id":2778,"date":"2013-09-10T23:11:07","date_gmt":"2013-09-10T14:11:07","guid":{"rendered":"http:\/\/www.frontier-line.org\/lognote\/?p=2778"},"modified":"2013-09-10T23:20:55","modified_gmt":"2013-09-10T14:20:55","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e5%bc%95%e3%81%a3%e8%b6%8a%e3%81%97%e4%bd%9c%e6%a5%ad%ef%bc%88%ef%bc%92%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.frontier-line.org\/lognote\/?p=2778","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u5f15\u3063\u8d8a\u3057\u4f5c\u696d\uff08\uff12\uff09"},"content":{"rendered":"<p>\u3000\u3055\u3066\u3001OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308f\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u72b6\u614b\u3067\u306f\u307b\u3068\u3093\u3069\u4f55\u3082\u3067\u304d\u307e\u305b\u3093\u3002\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306a\u3089\u3001\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3061\u3087\u3063\u3068\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3050\u30e1\u30fc\u30eb\u304c\u4f7f\u3048\u305f\u308a\u3001\u304a\u4ed5\u7740\u305b\u306e\u30d6\u30ed\u30b0\u304c\u4f7f\u3048\u305f\u308a\u3001html\u30d5\u30a1\u30a4\u30eb\u3082\u7f6e\u304f\u3060\u3051\u3067\u30cd\u30c3\u30c8\u516c\u958b\u3067\u304d\u3061\u3083\u3063\u305f\u308a\u3059\u308b\u308f\u3051\u3067\u3059\u304c\u3001VPS\u3060\u3068\u305d\u3046\u306f\u3044\u304d\u307e\u305b\u3093\u3002sendmail\u3060\u3051\u306f\u52d5\u3044\u3066\u308b\u3063\u307d\u3044\u306e\u3067\u3059\u304c\u3001POP\u304c\u7121\u3044\u306e\u3067\u624b\u5143\u306e\u30e1\u30fc\u30eb\u30bd\u30d5\u30c8\u306b\u5c4a\u3044\u305f\u30e1\u30fc\u30eb\u3092\u6301\u3063\u3066\u304f\u308b\u3053\u3068\u3055\u3048\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u3000VPS\u306e\u3054\u5229\u7528\u4e0a\u306e\u6ce8\u610f\u306b\u3082\u3001\u300c\u3055\u304f\u3089\u306eVPS\u306f\u3001\u304a\u5ba2\u69d8\u306b\u30b5\u30fc\u30d0\u306eroot\uff08\u7ba1\u7406\u8005\uff09\u6a29\u9650\u3092\u304a\u6e21\u3057\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u300c\u3055\u304f\u3089\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u300d\u306a\u3069\u306e\u5171\u7528\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3068\u7570\u306a\u308a\u3001\u30b5\u30fc\u30d0\u30fbOS\u306e\u8a2d\u5b9a\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306a\u3069\u306e\u904b\u7528\u7ba1\u7406\u3082\u304a\u5ba2\u69d8\u306e\u4f5c\u696d\u3067\u3059\u3002\u3054\u5229\u7528\u306eOS\u306b\u95a2\u3059\u308b\u5c02\u9580\u7684\u306a\u30b5\u30fc\u30d0\u904b\u7528\u77e5\u8b58\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\u300d\u3068\u660e\u8a18\u3057\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3000\u3064\u307e\u308a\u3001\u81ea\u5206\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u3066\u7ba1\u7406\u8005\u3092\u3059\u308b\u3064\u3082\u308a\u304c\u3042\u308b\u306a\u3089VPS\u306f\u4f55\u3067\u3082\u3067\u304d\u3066\u305d\u306e\u4e0a\u5b89\u3044\u306e\u3067\u3059\u3051\u3069\u3001\u305d\u308c\u304c\u5acc\u306a\u3089\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3084\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d0\u30fc\u306e\u3088\u3046\u306b\u3001\u904b\u7528\u7ba1\u7406\u3092\u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u304a\u4efb\u305b\u3059\u308b\u30d7\u30e9\u30f3\u3092\u304a\u85a6\u3081\u3057\u307e\u3059\u3002\u3055\u304f\u3089\u306b\u9650\u3089\u305a\u4ed6\u306e\u30b5\u30fc\u30d0\u30fc\u5c4b\u3055\u3093\u3067\u3082\u3067\u3059\u304c\u3002<\/p>\n<h2>ports\u3092\u6700\u65b0\u7248\u306b<\/h2>\n<p>\u3000root\u306b\u306a\u3063\u3066\u3001<\/p>\n<pre><code>\nportsnap fetch update\nportsnap extract\n<\/code><\/pre>\n<p>\u3000\u3067\u3001ports\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304c\u6700\u65b0\u7248\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u3082\u8ffd\u3044\u3064\u304b\u306a\u3044\u5834\u5408\u306f\u30bd\u30fc\u30b9\u304b\u3089\u5165\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u4f55\u306f\u3068\u3082\u3042\u308cemacs<\/h2>\n<p>\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u304c\u59cb\u307e\u308b\u3068\u3001\u9577\u3044\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u4f5c\u696d\u304c\u51fa\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u307e\u305a\u306femacs\u306e\u6e96\u5099\u3067\u3059\u3002vi\u3088\u308a\u306f\u4f7f\u3044\u3084\u3059\u3044\uff08\u3068\u79c1\u306f\u601d\u3046\uff09\u306e\u3067\u3002\u305b\u3063\u304b\u304fports\u304c\u3042\u308b\u306e\u3067ports\u304b\u3089\u5165\u308c\u3061\u3083\u3044\u307e\u3057\u3087\u3046\u3002\u305f\u3060\u3057\u3001\u6700\u8fd1\u306eemacs\u306fX winodw\u3067\u52d5\u304f\u306e\u304c\u57fa\u672c\u306e\u3088\u3046\u3067\u3059\u3002\u30b5\u30fc\u30d0\u306a\u306e\u3067X11\u4e0d\u8981\u3001\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306eMac\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u4f7f\u3044\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u5408\u306f\u3001X11\u3092\u4f7f\u308f\u306a\u3044\u3082\u306e\u3092\u5165\u308c\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<pre><code>\ncd \/usr\/ports\/editors\/emacs-nox11\nmake install\n<\/code><\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2>proftpd<\/h2>\n<p>\u3000\u624b\u5143\u306e\u30d1\u30bd\u30b3\u30f3\u7d4c\u7531\u3067\u65e7\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u7a81\u3063\u8fbc\u3093\u3060\u308a\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3001ftpd\u304c\u52d5\u3044\u3066\u306a\u3044\u3068\u8a71\u306b\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<pre><code>\ncd \/usr\/ports\/ftp\/proftpd\nmake install\n<\/code><\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u9014\u4e2d\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u304d\u304b\u308c\u307e\u3059\u306e\u3067\u3001perl\u4e92\u63db\u306e\u6b63\u898f\u8868\u73fe\u3001\u4ed6\u6b63\u898f\u8868\u73fe\u3001language support\u306a\u3069\u306fYES\u3067\u3001IPv6\u306fno\u3067\u3002<br \/>\n\u3000\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u306f\/usr\/local\/etc\/rc.d\/proftpd\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\/usr\/local\/etc\/proftpd.conf\u306b\u306a\u308a\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u5909\u3048\u305f\u3068\u3053\u308d\u306f\u6b21\u306e\u901a\u308a\u3002<\/p>\n<pre><code>\nServerName                      \"frontier-line ftp server\"\nUseFtpUsers on\n\n#UseIPv6                         on\u3000\u3000\u2190\u4f7f\u308f\u306a\u3044\u3064\u3082\u308a\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u5165\u308c\u306a\u304b\u3063\u305f\u5834\u5408\u306foff\u3092\u6307\u5b9a\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u4e38\u3054\u3068\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002\n\nDefaultRoot ~ !wheel ftplimit\n\n&lt;Anonymous ~ftp&gt;\n   User                         ftp\n   Group                                ftp\n\n  ### We want clients to be able to login with \"anonymous\" as well as \"ftp\"\n   UserAlias                    anonymous ftp\n\n  ### Limit the maximum number of anonymous logins\n   MaxClients                   10\n\n  ### We want 'welcome.msg' displayed at login, and '.message' displayed\n  ### in each newly chdired directory.\n   DisplayLogin                 welcome.msg\n   # DisplayFirstChdir          .message\n\n  ### Limit WRITE everywhere in the anonymous chroot\n   &lt;Limit WRITE&gt;\n     DenyAll\n   &lt;\/Limit&gt;\n&lt;\/Anonymous&gt;\n\n&lt;Limit LOGIN&gt;\n  DenyAll\n\n  AllowGroup xxxxxx\n  AllowGroup user\n  AllowGroup ftp\n&lt;\/Limit&gt;\n<\/code><\/pre>\n<p>xxxxxx\u306b\u306f\u3001\u30a6\u30a7\u30d6\u7ba1\u7406\u7528\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u6240\u5c5e\u3057\u3066\u3044\u308b\u30b0\u30eb\u30fc\u30d7\u3092\u8a18\u5165\u3002<br \/>\n\/etc\/ftpusers\u306b\u3001ftp\u30a2\u30af\u30bb\u30b9\u3092\u62d2\u5426\u3057\u305f\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u5217\u6319\u3002<br \/>\n\/etc\/shells\u306f\u6b21\u306e\u901a\u308a\u3002<\/p>\n<pre><code>\n\/bin\/sh\n\/bin\/csh\n\/bin\/tcsh\n\/bin\/sync\n<\/code><\/pre>\n<p>\u3000\u30ed\u30b0\u30a4\u30f3\u306f\u3055\u305b\u306a\u3044\u304cftp\u306f\u3067\u304d\u308b\u30e6\u30fc\u30b6\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001passwd\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\/bin\/sync\u306a\u3069\u3068\u66f8\u304d\u3001\/etc\/shells\u306b\/bin\/sync\u3092\u8ffd\u52a0\u3059\u308b\u3002\u305f\u3060\u3057\u3053\u306e\u30e6\u30fc\u30b6\u306f\u8a08\u7b97\u6a5f\u5185\u306e\u5168\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3000proftpd\u306f\u5e38\u99d0\u3067\u7acb\u3061\u4e0a\u3052\u307e\u3059\u306e\u3067\u3001\/etc\/inetd.conf\u306e\u3001ftp\u3067\u59cb\u307e\u308b\u884c\u3092\u3059\u3079\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<br \/>\n\u3000adduser\u3067\u3001\u30e6\u30fc\u30b6ftp\u3092\u8ffd\u52a0\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3001\u30ed\u30b0\u30a4\u30f3\u30b7\u30a7\u30eb\u7121\u3057\u3001home\u306fanonymous ftp\u3067\u516c\u958b\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3002<br \/>\n\u3000\/etc\/group\u3092\u7de8\u96c6\u3002\u5143\u3005\u3042\u3063\u305f\u3001<br \/>\nftp:*:14:<br \/>\n\u3092\u524a\u9664\u3002<br \/>\n\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002<br \/>\nftp:*:2001:ftp,xxxxxx,yyyyyy<br \/>\nftplimit:*:2002\t\t\u2190\/home\/WWW\u306b\u66f8\u304f\u30e6\u30fc\u30b6\u306f\u3053\u3053\u306b\u5165\u308c\u308b\u3068\u3060\u3081<\/p>\n<p>\u3000xxxxxx,yyyyyy\u306b\u306f\u3001ftp\u3067\u81ea\u5206\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u6307\u5b9a\u3002<br \/>\n\u3000\u6b21\u306b\u3001sftp\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\/etc\/ssh\/sshd_config\u3067\u3001<br \/>\nSubsystem       sftp    \/usr\/libexec\/sftp-server<br \/>\n\u304c\u6709\u52b9\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u3000\/usr\/local\/etc\/rc.d\/proftpd\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\uff08ports\u304b\u3089\u5165\u308c\u308b\u3068\u81ea\u52d5\u3067\u5165\u308a\u307e\u3059\uff09\u3002<br \/>\n\u3000\/etc\/rc.conf\u306b\u3001<br \/>\nproftpd_enable=&#8221;YES&#8221;<br \/>\n\u3092\u8ffd\u52a0\u3002\u3053\u308c\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u7684\u306bproftpd\u304c\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u306a\u304a\u3001\u624b\u52d5\u3067\u306e\u8d77\u52d5\u306f\u3001<br \/>\n\/usr\/local\/sbin\/proftpd<br \/>\n\u3067\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3055\u3066\u3001OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308f\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u72b6\u614b\u3067\u306f\u307b\u3068\u3093\u3069\u4f55\u3082\u3067\u304d\u307e\u305b\u3093\u3002\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306a\u3089\u3001\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3061\u3087\u3063\u3068\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3050\u30e1\u30fc\u30eb\u304c\u4f7f\u3048\u305f\u308a\u3001\u304a\u4ed5\u7740\u305b\u306e\u30d6\u30ed\u30b0\u304c\u4f7f\u3048\u305f\u308a\u3001html\u30d5\u30a1\u30a4\u30eb\u3082\u7f6e\u304f\u3060\u3051\u3067\u30cd\u30c3\u30c8\u516c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2778","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2778"}],"version-history":[{"count":0,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2778\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}