{"id":529,"date":"2009-04-28T18:00:00","date_gmt":"2009-04-28T18:00:00","guid":{"rendered":"http:\/\/superficial.name\/?p=529"},"modified":"2009-04-28T18:00:00","modified_gmt":"2009-04-28T18:00:00","slug":"post-529","status":"publish","type":"post","link":"https:\/\/superficial.3724649.net\/?p=529","title":{"rendered":"FreeBSD7.1R \u5099\u5fd8\u9332"},"content":{"rendered":"<p>\u4e45\u3057\u3076\u308a\u306b \u30d1\u30bd\u30b3\u30f3\u306b FreeBSD \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f<\/p>\n<p>6.2\u306e\u9803\u3068\u6bd4\u3079\u308b\u3068\u96f2\u6ce5\u306e\u5dee\uff1f\u3068\u8a00\u3046\u304b<br \/>\n\u6d66\u5cf6\u592a\u90ce\u72b6\u614b\u3067\u4f55\u304c\u306a\u3093\u3060\u304b\u3055\u3063\u3071\u308a\u72b6\u614b<\/p>\n<p>\u81ea\u5206\u3059\u3079\u3066\u5fd8\u308c\u3066\u308b\u3060\u3051\u306e\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u304c\u30fb\u30fb<\/p>\n<p>\u4eca\u5f8c\u305d\u3093\u306a\u4e8b\u304c\u3042\u3063\u3066\u3082\u591a\u5c11\u601d\u3044\u51fa\u305b\u308b\u3088\u3046\u306b\u5099\u5fd8\u9332\u306b\u3057\u3066\u304a\u3053\u3046<\/p>\n<p><span class=\"text-blue-bold\">FreeBSD 7.1Release \u3092\u5165\u308c\u305f\u6642\u306e\u5099\u5fd8\u9332<\/span><\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fiso\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u3092CD-R\uff14\u679a\u306b\u713c\u304f<br \/>\n\uff08iso\u5f62\u5f0f\u3067\u66f8\u304d\u8fbc\u3080\u3053\u3068\uff09<\/p>\n<p>\uff11\u679a\u76ee\u306f <span class=\"text-green\">boot only<\/span> \u3060\u3063\u305f\u4e8b\u306b\u6c17\u4ed8\u304b\u305a<\/p>\n<p><span class=\"text-blue-bold\">\u3044\u3064\uff12\u679a\u76ee\u3092\u5165\u308c\u308b\u3093\u3060\u308d\uff1f<\/span>\u3068\u60a9\u3093\u3058\u307e\u3063\u305f\u305c\uff08\u30a2\u30db\uff09<\/p>\n<p>\u3055\u3066\u3001FreeBSD7.1R \u306edisc1 \u3092\u5165\u308c\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u958b\u59cb<\/p>\n<p>Standard \u2192 [ ]developper\u3092\u9806\u306b\u9078\u629e\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u958b\u59cb<br \/>\n\u30b3\u30b3\u307e\u3067\u306f\u4eca\u307e\u3067\u306e\u624b\u9806\u3068\u5909\u308f\u308a\u306a\u304f Ethernet \u306e\u8a2d\u5b9a\u3082\u6e08\u307f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7d42\u4e86<\/p>\n<p>\u901f\u653b<span class=\"text-green-bold\">samba<\/span>\u3092\u5165\u308c\u3088\u3046\u3068\u3057\u3066<br \/>\nportinstall \u3092\u5b9f\u884c\u3059\u308b\u3082 <span class=\"text-blue\">Command not found<\/span> \u304c\u51fa\u308b\u3000(?_?)<\/p>\n<p>portinstall \u304c\u51fa\u6765\u306a\u3044 FreeBSD \u306a\u3093\u3066\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u304c\u7121\u3044Windows\u306e\u3088\u3046\u306a\u3082\u306e\uff1f<br \/>\n\uff08\u6709\u3063\u3066\u5f53\u7136\u3001\u7121\u3044\u3068\u304b\u306a\u308a\u56f0\u308b\u304b\u3082\uff09<\/p>\n<p>\u30cd\u30c3\u30c8\u3067\u63a2\u3057\u305f\u3089 portupgrade \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068<br \/>\n\u305d\u308c\u3089\u3057\u3044\u306e\u304c\u5165\u308b\u3088\u3046\u306a\u4e8b\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u65e9\u901f\u5165\u308c\u3066\u307f\u305f<\/p>\n<p>cd \/usr\/ports\/ports-mgmt\/portupgrade \u3067\u79fb\u52d5\u3057\u3066<\/p>\n<p># make install clean \u3092\u5b9f\u884c\u5f8c<br \/>\n# rehash \u3092\u5b9f\u884c\u3059\u308c\u3070\u7121\u4e8b portupgrade \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b<\/p>\n<p>find .. -name portinstall \u3068\u6253\u3061\u8fbc\u3080\u3080\u3068<br \/>\n\/usr\/local\/sbin\/portinstall\u3000\u3068\u8868\u793a\u3055\u308c\u308b<br \/>\n\u78ba\u304b\u306b\u4f5c\u3089\u308c\u305f\u3088\u3046\u3060\uff08\u4e0d\u601d\u8b70\u3060\uff09<\/p>\n<p>\u540c\u3058\u30b5\u30a4\u30c8\u306b ports \u3082\u6700\u65b0\u7248\u306b\u66f4\u65b0\u3057\u3066\u304a\u3051\u3068<br \/>\n\u66f8\u3044\u3066\u3042\u3063\u305f\u306e\u3067\u3064\u3044\u3067\u306b\u3084\u3063\u3066\u304a\u3053\u3046<\/p>\n<p>\u4e00\u756a\u6700\u521d\u306a\u3089<br \/>\n# portsnap fetch extract update <\/p>\n<p>\uff12\u56de\u76ee\u4ee5\u964d\u306a\u3089<br \/>\n# portsnap fetch update<br \/>\n\uff08extract\u304c\u8981\u3089\u306a\u3044\uff09 \u3067\u3044\u3044\u3089\u3057\u3044<\/p>\n<p>\u3055\u3041 <span class=\"text-red-bold\">samba<\/span> \u3092\u5165\u308c\u3066\u307f\u3063\u304b<\/p>\n<p><span class=\"text-red-bold\">samba<\/span>\u306e\u30e6\u30fc\u30b6\u30fc\u30ba\u30b5\u30a4\u30c8\u3092\u898b\u308b\u30683.0\u4ee5\u964d<br \/>\n\u65e5\u672c\u8a9e\u4ed5\u69d8\u304c\u306a\u304f\u306a\u3063\u3066\u6700\u521d\u304b\u3089\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u3082\u53d6\u308a\u8fbc\u3093\u3060\u3082\u306e\u3092\u958b\u767a\u3059\u308b\u3088\u3046\u306b\u306a\u308a<br \/>\n\u65e5\u672c\u8a9e\u306e\u30d1\u30c3\u30c1\u306e\u307f\u96c6\u3081\u305f\u3082\u306e\u304c\u3000\/ports\/japanese\/ \u306b\u53ce\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u306b\u8aad\u3081\u308b<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a japanese \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b<span class=\"text-red-bold\">samba3<\/span>\u3092\u5165\u308c\u3066\u307f\u3088\u3046<\/p>\n<p># portinstall \/usr\/ports\/japanese\/samba3<\/p>\n<p>\u3068\u6253\u3061\u8fbc\u3093\u3067\u30b9\u30bf\u30fc\u30c8\u306a\u3093\u304b\u3059\u3093\u3054\u304f\u6642\u9593\u304b\u304b\u3063\u3066\u307e\u3059\u3051\u3069\uff1f<br \/>\n\u305d\u3093\u3067\u3082\u3063\u3066\uff08\uff12\u6642\u9593\u304f\u3089\u3044\uff1f\uff09\u639b\u304b\u3063\u3066\u304b\u3089\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u3063\u3066\u308b\u3057\u30fb\u30fb\u30fb<br \/>\n\uff08\u30b2\u30fc\u30e0\u3084\u3063\u305f\u308a\u3054\u98ef\u98df\u3079\u3066\u305f\u308a\u3057\u305f\u3093\u3067\u6b63\u78ba\u306b\u306f\u5224\u3089\u3093\uff09<\/p>\n<p>make\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3093\u305f\u3089\u3068\u304b\u51fa\u3066\u305f\u3051\u3069\u3088\u304f\u308f\u304b\u3089\u3093\u306e\u3067\u30d1\u30b9<\/p>\n<p>\u65e5\u672c\u306e\u72ec\u81ea\u4ed5\u69d8\u304c\u306a\u304f\u306a\u3063\u305f\u3093\u306a\u3089\u82f1\u8a9e\u7248\u306e<span class=\"text-red-bold\">samba<\/span>\u3092\u5165\u308c\u3066 CP932 \u306b \u3059\u308c\u3070\u3044\u3044\u3093\u3058\u3083\u306d\uff1f<br \/>\n\u3063\u3066\u4e8b\u3067\u3084\u3063\u3066\u307f\u305f\u30fb\u30fb\u30fb\u304c<\/p>\n<p>\/usr\/ports\/net\/\u3000\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f<span class=\"text-red-bold\">samba<\/span>\u3060\u3051\u3067\uff13\u3064\u3082\u3042\u308b\u3057<\/p>\n<p>samba3<br \/>\nsamba32<br \/>\nsamba33<\/p>\n<p>\u3069\u308c\u306b\u3059\u3063\u304b\u306a\u30fb\u30fb\u30fb<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\uff08\u3068\u308a\u3042\u3048\u305a\u3070\u3063\u304b\u308a\u3060\u306a\uff09<br \/>\n\u4e00\u756a\u4e0a\u306e samba3 \u3092\u5165\u308c\u3066\u307f\u305f<\/p>\n<p># portinstall \/usr\/ports\/net\/sama3<\/p>\n<p>\u4ed6\u306b\u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u3066\u3044\u305f\u305b\u3044\u306a\u306e\u304b<br \/>\n\u3053\u3061\u3089\u306f\u3059\u3093\u306a\u308a\u7d42\u308f\u3063\u305f\u305e (?_?) <\/p>\n<p>\u6b21\u306b swat \u3082\u5165\u308c\u3066\u307f\u3063\u304b\u3068\u601d\u3063\u305f\u304c\u5148\u305a<\/p>\n<p># find .. -name swat \u3067 swat \u3092\u63a2\u3057\u3066\u307f\u305f<\/p>\n<p>\u65e5\u672c\u8a9e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306b\u5165\u3063\u305f\u306e\u304b<br \/>\n\/usr\/local\/sbin\/swat \u306b\u3057\u3063\u304b\u308a\u3068\u898b\u3048\u308b<\/p>\n<p>\u65e9\u901f\u3000\/etc\/inetd.conf \u3092\u4fee\u6b63\u3057\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u3042\u3063\u305f\u3089 swat \u304c\u52d5\u304f\u3088\u3046\u306b\u3059\u308b<\/p>\n<p>#swat stream tcp nowait\/400 root \/usr\/local\/sbin\/swat swat<br \/>\n\u2193<br \/>\nswat stream tcp nowait\/400 root \/usr\/local\/sbin\/swat swat<br \/>\n\uff08# \u3092\u524a\u9664\u3059\u308b\u3060\u3051\uff09<\/p>\n<p># \/etc\/rc.d\/inetd restart<br \/>\n\u3067 inetd \u3092\u518d\u8d77\u52d5<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u304b\u3089 http:\/\/192.168.0.14:901 \u3092\u898b\u3066\u307f\u308b\u30fb\u30fb\u30fb<\/p>\n<p>\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u308b\u3046\u3057\uff08\u3061\u3087\u3063\u3068\u611f\u6fc0\uff09\u3057\u304b\u3082\u65e5\u672c\u8a9e\u3060\u305c\uff01\uff01<\/p>\n<p>samba \u306f\u52d5\u3044\u3066\u7121\u304b\u3063\u305f\u306e\u3067 STATUS \u9805\u76ee\u304b\u3089\u59cb\u52d5<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/weblog\/2009\/04\/samba3.gif\" alt=\"saba3\" \/><\/p>\n<p>\u5909\u66f4\u304c\u5fc5\u8981\u306a\u9805\u76ee\u306f<br \/>\n\u30fbdos charset \u3092 CP932 \uff08\u65e5\u672c\u8a9e\u306e\u30b3\u30fc\u30c9\u30da\u30fc\u30b8\uff09\u306b\u5909\u66f4\u3059\u308b<br \/>\n\u30fbworkgroup \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30ef\u30fc\u30af\u30b0\u30eb\u30fc\u30d7\u540d\u306b\u5408\u308f\u305b\u308b<\/p>\n<p>security \u306e\u9805\u76ee\u3082\u3000\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u3000USER \u3067\u554f\u984c\u306a\u3044\u3067\u3057\u3087\u3046<\/p>\n<p>\u6b21\u306b\u30e6\u30fc\u30b6\u30fc\u767b\u9332<\/p>\n<p>\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3060\u3068 smbpassword -a hogehoge \u3068\u3084\u3063\u3066\u3044\u305f\u3042\u308c\u3067\u3059<\/p>\n<p>3.0\u4ee5\u964d\u306f <span class=\"text-blue\">pdbedit<\/span> \u3068\u8a00\u3046\u30b3\u30de\u30f3\u30c9\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u8ffd\u52a0\u7b49\u3005\u3092\u884c\u3046\u3088\u3046\u3067\u3059<\/p>\n<p>\u305b\u3063\u304b\u304fswat\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u306e\u3067PASSWORD \u306e\u30da\u30fc\u30b8\u3092\u958b\u304d <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/weblog\/2009\/04\/samba3-2.gif\" alt=\"saba3-2\" \/><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3000\u65b0\u898f\u30e6\u30fc\u30b6\u8ffd\u52a0\u3001\u30e6\u30fc\u30b6\u306e\u6709\u52b9\u5316\u3092\u9806\u306b\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070OK\u306e\u3088\u3046\u3067\u3059<br \/>\n\u30b3\u30b3\u306e\u30da\u30fc\u30b8\u3067\u3066\u304f\u308b \u30ea\u30e2\u30fc\u30c8\u30de\u30b7\u30f3 \u3068\u306f\u4f55\u3092\u6307\u3059\u306e\u304b\u4e0d\u660e\u3067\u3059\u304c\u4e0a\u8a18\u306e\u5909\u66f4\u3060\u3051\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<br \/>\n\u3053\u3053\u307e\u3067\u5909\u66f4\u51fa\u6765\u305f\u3089<span class=\"text-green-bold\">samba<\/span>\u306e\u518d\u8d77\u52d5 \u3053\u308c\u3082swat\u306eSTATUS\u304b\u3089\u5b9f\u884c\u3067\u304d\u307e\u3059<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/weblog\/2009\/04\/samba3-3.gif\" alt=\"saba3-3\" \/><\/p>\n<p>\u624b\u52d5\u3067\u3084\u308b\u5834\u5408\u306b\u306f\u3069\u3046\u3059\u308b\u3093\u3060\u308d\uff1f\u3061\u3087\u3063\u3068\u5224\u3089\u3093\u306a\u30fb\u30fb\u30fb<\/p>\n<p>\u6700\u5f8c\u306b\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067samba\u304c\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059<\/p>\n<p>\/etc\/rc.conf \u306e\u4e00\u756a\u6700\u5f8c\u306e\u884c\u3042\u305f\u308a\u306b samba_enable=&#8221;YES&#8221;\u3000\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059<\/p>\n<p>\u4ee5\u4e0a\u7c21\u5358\u306asamba\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3067\u3057\u305f\u3000m(__)m<\/p>\n<p>\u4f7f\u3046\u3053\u3068\u304c\u76ee\u6a19\u306a\u306e\u3067\u7d30\u304b\u3044\u4e8b\u306f\u7121\u8996\u3057\u3066\u307e\u3059\u3001\u60aa\u3057\u304b\u3089\u305a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e45\u3057\u3076\u308a\u306b \u30d1\u30bd\u30b3\u30f3\u306b FreeBSD \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f 6.2\u306e\u9803\u3068\u6bd4\u3079\u308b\u3068\u96f2\u6ce5\u306e\u5dee\uff1f\u3068\u8a00\u3046\u304b \u6d66\u5cf6\u592a\u90ce\u72b6\u614b\u3067\u4f55\u304c\u306a\u3093\u3060\u304b\u3055\u3063\u3071\u308a\u72b6\u614b \u81ea\u5206\u3059\u3079\u3066\u5fd8\u308c\u3066\u308b\u3060\u3051\u306e\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u304c\u30fb\u30fb \u4eca\u5f8c\u305d\u3093\u306a\u4e8b\u304c\u3042\u3063\u3066\u3082\u591a\u5c11\u601d\u3044\u51fa\u305b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-529","post","type-post","status-publish","format-standard","hentry","category-computer"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts\/529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=529"}],"version-history":[{"count":0,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts\/529\/revisions"}],"wp:attachment":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}