{"id":2049,"date":"2011-08-15T14:51:38","date_gmt":"2011-08-15T05:51:38","guid":{"rendered":"http:\/\/oichinote.com\/plus\/2011\/08\/15\/debian-etch%e3%81%abnetatalk-2-2-0%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e5%be%8c%e7%b7%a8\/"},"modified":"2011-08-15T14:51:38","modified_gmt":"2011-08-15T05:51:38","slug":"debian-etchne-1","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchne-1.html","title":{"rendered":"Debian Etch\u306bnetatalk 2.2.0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u5f8c\u7de8)"},"content":{"rendered":"<p>IO-DATA\u306eNASLANDISK Home HDL4-G\u306f\u3001\u642d\u8f09\u3055\u308c\u3066\u3044\u308bnetatalk\u304c\u53e4\u3059\u304e\u3066\u3001OS X 10.7 Lion\u3067\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u70ba\u306b\u306f\u3001netatalk\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3082\u3057HDL4-G\u306eOS\u3092upgrade\u3057\u305f\u306a\u3089\u3001netatalk 2.2.0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u306e\u8abf\u67fb\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u306e\u7d9a\u304d\u3067\u3059\u3002<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u306e\u5185\u5bb9\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>Debian 4.0 Etch\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>Debian 4.0 Etch\u8a2d\u5b9a(1)\n<ol>\n<li>apt-get\u3092\u4f7f\u7528\u3067\u304d\u308b\u69d8\u306b\u3059\u308b<\/li>\n<li>gcc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>Parallels Tools\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>ssh\u30b5\u30fc\u30d0<\/li>\n<\/ol>\n<\/li>\n<li>Debian 4.0 Etch\u8a2d\u5b9a(2)\n<ol>\n<li>\u62e1\u5f35\u5c5e\u6027\u8a2d\u5b9a<\/li>\n<li>avahi-daemon\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ol>\n<\/li>\n<li>Debian 4.0 Etch\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u8abf\u67fb<\/li>\n<li>BerkeleyDB\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ol>\n<p>\u5f8c\u7de8\u3067\u306fnetatalk\u672c\u4f53\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u76ee\u6b21\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u95a2\u9023\u30c4\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>Netatalk\u672c\u4f53\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n<ol>\n<li>\u30d1\u30c3\u30b1\u30fc\u30b8\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9&amp;\u5c55\u958b<\/li>\n<li>configure<\/li>\n<li>make<\/li>\n<li>make install<\/li>\n<\/ol>\n<\/li>\n<li>Netatalk\u8a2d\u5b9a\n<ol>\n<li>\/etc\/default\/netatalk<\/li>\n<li>\/usr\/local\/etc\/netatalk\/afpd.conf<\/li>\n<li>\/usr\/local\/etc\/netatalk\/AppleVolumes.default<\/li>\n<\/ol>\n<\/li>\n<li>\u8d77\u52d5<\/li>\n<li>\u52d5\u4f5c\u78ba\u8a8d<\/li>\n<\/ol>\n<p>\u306a\u304a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u8a2d\u5b9a\u306b\u95a2\u3057\u3066\u306f\u3001\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www003.upp.so-net.ne.jp\/hat\/netatalk\/andsamba.html\" target=\"_blank\">Netatalk and Samba<\/a><\/li>\n<li><a target=\"_blank\" href=\"http:\/\/hatx.blog.so-net.ne.jp\/netatalk_status\">netatalk \u8fd1\u72b6\uff1aHAT blog<\/a><\/li>\n<\/ul>\n<h4>6. \u95a2\u9023\u30c4\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u4e8b\u306f\u3001<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u3067\u8abf\u67fb\u6e08\u307f\u3067\u3059\u3002<\/p>\n<pre># apt-get install libssl-dev <span style=\"color: #33ff00\">(uams_dhx.so\u3092\u4f7f\u3046\u6642\u306b\u5fc5\u8981)<\/span>\n# apt-get install libgcrypt11-dev <span style=\"color: #33ff00\">(uams_dhx2.so\u3092\u4f7f\u3046\u6642\u306b\u5fc5\u8981)<\/span>\n# apt-get install libslp-dev <span style=\"color: #33ff00\">(SLP\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span>\n# apt-get install libavahi-client-dev <span style=\"color: #33ff00\">(Zeroconf\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span><\/pre>\n<p>SLP\u306f\u307b\u3068\u3093\u3069\u5fc5\u8981\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u4eca\u307e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304d\u305f\u306e\u3067\u3001\u6210\u308a\u884c\u304d\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Mac OS X 10.2\u3088\u308a\u3082\u53e4\u3044OS(Mac OS 9\u3068\u304b)\u3092\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u3001\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>LDAP\/ACL\u95a2\u4fc2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u305b\u3093\u3002LDAP\u904b\u7528\u3092\u3057\u306a\u3044\u306e\u3067\u3002<\/p>\n<p>Berkeley DB\u306f\u3001<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3059\u3002<\/p>\n<h4>7. Netatalk\u672c\u4f53\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<h5>7.1 \u30d1\u30c3\u30b1\u30fc\u30b8\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9&amp;\u5c55\u958b<\/h5>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3001Mac OS X\u3067\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u6b21\u306e\u30da\u30fc\u30b8\u304b\u3089\u30ea\u30f3\u30af\u3092\u305f\u3069\u3063\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"http:\/\/netatalk.sourceforge.net\/\">Netatalk &#8211; Networking Apple Macintosh through Open Source<\/a><\/li>\n<\/ul>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001gzip\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(Downloads)\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u7269\u3068\u3057\u3066\u8aac\u660e\u3092\u7d9a\u3051\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5f8c\u3001Terminal.app\u3067\u306e\u64cd\u4f5c\u306b\u306a\u308a\u307e\u3059\u3002Terminal.app\u304b\u3089ssh\u3067\u3001Parallels\u5185\u306eDebian Etch\u306b\u63a5\u7d9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306f\u3001<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre># cd\n# mkdir work\n# cd work\n# mkdir netatalk\n# cd netatalk\n# cp -p \/media\/psf\/Home\/Downloads\/netatalk-2.2.0.tar.gz .\n# tar xvzf netatalk-2.2.0.tar.gz <\/pre>\n<h5>7.2 configure<\/h5>\n<p>configure\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u3060\u3051\u306e\u5b9f\u9a13\u306a\u306e\u3067\u3001\u6700\u4f4e\u9650\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre># cd\n# cd work\/netatalk\/netatalk-2.2.0\n# .\/configure --enable-debian \\ <span style=\"color: #33ff00\">(Debian\u306a\u306e\u3067)<\/span>\n# --enable-srvloc \\ <span style=\"color: #33ff00\">(SLP\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span>\n# --with-bdb=\/usr\/local\/BerkeleyDB.5.2 <span style=\"color: #33ff00\">(BDB\u306e\u5834\u6240\u3092\u6559\u3048\u308b)<\/span><\/pre>\n<p>SLP(&#8211;enable-srvloc)\u306f\u3001Mac OS X 10.2\u3088\u308a\u3082\u53e4\u3044OS(Mac OS 9\u3068\u304b)\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3092\u77e5\u3089\u305b\u308b\u4ed5\u7d44\u307f\u3067\u3059\u306e\u3067\u3001\u901a\u5e38\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<p>configure\u306e\u7d50\u679c\u306f\u3001\u6b21\u306e\u69d8\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre>Using libraries:\n&nbsp; &nbsp; LIBS = -lpthread&nbsp; -L$(top_srcdir)\/libatalk\n&nbsp; &nbsp; CFLAGS = -I$(top_srcdir)\/include -D_U_=&quot;__attribute__((unused))&quot; -g -O2 -I$(top_srcdir)\/sys\n&nbsp; &nbsp; SSL:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; LIBS&nbsp; &nbsp;=&nbsp; -lcrypto\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =&nbsp; -I\/usr\/include\/openssl\n&nbsp; &nbsp; LIBGCRYPT:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; LIBS&nbsp; &nbsp;=&nbsp; -lgcrypt -lgpg-error\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =&nbsp; &nbsp;\n&nbsp; &nbsp; BDB:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; LIBS&nbsp; &nbsp;=&nbsp; -L\/usr\/local\/BerkeleyDB.5.2\/lib -ldb-5.2\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =&nbsp; -I\/usr\/local\/BerkeleyDB.5.2\/include\/\n&nbsp; &nbsp; SRVLOC:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; LIBS&nbsp; &nbsp;=&nbsp; -lslp\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =\nConfigure summary:\n&nbsp; &nbsp; Install style:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;debian\n&nbsp; &nbsp; AFP:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;AFP 3.x calls activated:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Extended Attributes: ad | sys\n&nbsp; &nbsp; CNID:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;backends:&nbsp; dbd last tdb\n&nbsp; &nbsp; UAMS:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;DHX&nbsp; &nbsp;&nbsp; ( SHADOW)\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;DHX2&nbsp; &nbsp; ( SHADOW)\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;RANDNUM ( SHADOW)\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;passwd&nbsp; ( SHADOW)\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;guest\n&nbsp; &nbsp; Options:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;DDP (AppleTalk) support: no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;CUPS support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;SLP support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Zeroconf support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tcp wrapper support:&nbsp; &nbsp;&nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;quota support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;admin group support:&nbsp; &nbsp;&nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;valid shell check:&nbsp; &nbsp;&nbsp; &nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;cracklib support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;dropbox kludge:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;force volume uid\/gid:&nbsp; &nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Apple 2 boot support:&nbsp; &nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ACL support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; no<\/pre>\n<h5>7.3 make<\/h5>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002make\u3068\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre># cd\n# cd work\/netatalk\/netatalk-2.2.0\n# make<\/pre>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306b\u3001.\/etc\/afpd\/afpd -V\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u5404\u7a2e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u5834\u6240\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre># cd\n# cd work\/netatalk\/netatalk-2.2.0\n# .\/etc\/afpd\/afpd -V\nafpd 2.2.0 - Apple Filing Protocol (AFP) daemon of Netatalk\nThis program is free software; you can redistribute it and\/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion. Please see the file COPYING for further information and details.\nafpd has been compiled with support for these features:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; AFP3.x support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; TCP\/IP Support:&nbsp; &nbsp; Yes\nDDP(AppleTalk) Support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;CNID backends:&nbsp; &nbsp; dbd last tdb\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; SLP support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;Zeroconf support:&nbsp; &nbsp; Yes\n&nbsp; TCP wrappers support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Quota support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;Admin group support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp; Valid shell checks:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;cracklib support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Dropbox kludge:&nbsp; &nbsp; No\n&nbsp; Force volume uid\/gid:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ACL support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;EA support:&nbsp; &nbsp; ad | sys\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; LDAP support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; afpd.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afpd.conf\n&nbsp; &nbsp;AppleVolumes.system:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/AppleVolumes.system\n&nbsp; AppleVolumes.default:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/AppleVolumes.default\n&nbsp; &nbsp; afp_signature.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afp_signature.conf\n&nbsp; &nbsp;&nbsp; &nbsp;afp_voluuid.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afp_voluuid.conf\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;afp_ldap.conf:&nbsp; &nbsp; not supported\n&nbsp; &nbsp;&nbsp; &nbsp; UAM search path:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/uams\/\n&nbsp; Server messages path:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/msg\/\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; lockfile:&nbsp; &nbsp; \/var\/lock\/afpd<\/pre>\n<p>\u6b63\u3057\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u69d8\u3067\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u7f6e\u304d\u5834\u6240\u3082\u5927\u4e08\u592b\u305d\u3046\u3067\u3059\u3002<\/p>\n<h5>7.4 make install<\/h5>\n<p>\u3044\u3088\u3044\u3088\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<pre># cd\n# cd work\/netatalk\/netatalk-2.2.0\n# make install<\/pre>\n<p>\u5ff5\u306e\u305f\u3081\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre># \/usr\/local\/sbin\/afpd -V\nafpd 2.2.0 - Apple Filing Protocol (AFP) daemon of Netatalk\nThis program is free software; you can redistribute it and\/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion. Please see the file COPYING for further information and details.\nafpd has been compiled with support for these features:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; AFP3.x support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; TCP\/IP Support:&nbsp; &nbsp; Yes\nDDP(AppleTalk) Support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;CNID backends:&nbsp; &nbsp; dbd last tdb\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; SLP support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;Zeroconf support:&nbsp; &nbsp; Yes\n&nbsp; TCP wrappers support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Quota support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;Admin group support:&nbsp; &nbsp; Yes\n&nbsp; &nbsp; Valid shell checks:&nbsp; &nbsp; Yes\n&nbsp; &nbsp;&nbsp; &nbsp;cracklib support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Dropbox kludge:&nbsp; &nbsp; No\n&nbsp; Force volume uid\/gid:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ACL support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;EA support:&nbsp; &nbsp; ad | sys\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; LDAP support:&nbsp; &nbsp; No\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; afpd.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afpd.conf\n&nbsp; &nbsp;AppleVolumes.system:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/AppleVolumes.system\n&nbsp; AppleVolumes.default:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/AppleVolumes.default\n&nbsp; &nbsp; afp_signature.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afp_signature.conf\n&nbsp; &nbsp;&nbsp; &nbsp;afp_voluuid.conf:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/afp_voluuid.conf\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;afp_ldap.conf:&nbsp; &nbsp; not supported\n&nbsp; &nbsp;&nbsp; &nbsp; UAM search path:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/uams\/\n&nbsp; Server messages path:&nbsp; &nbsp; \/usr\/local\/etc\/netatalk\/msg\/\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; lockfile:&nbsp; &nbsp; \/var\/lock\/afpd<\/pre>\n<p>\u5927\u4e08\u592b\u306e\u69d8\u3067\u3059\u3002<\/p>\n<h4>8. Netatalk\u8a2d\u5b9a<\/h4>\n<h5>8.1 \/etc\/default\/netatalk<\/h5>\n<p>\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u5909\u66f4\u70b9\u306e\u307f\u3001\u5217\u6319\u3057\u307e\u3059\u3002\n<\/p>\n<pre>ATALK_MAC_CHARSET='MAC_JAPANESE'\nATALK_UNIX_CHARSET='UTF8'\nAFPD_UAMLIST=&quot;-U uams_guest.so,uams_dhx.so,uams_dhx2.so&quot;<\/pre>\n<h5>8.2 \/usr\/local\/etc\/netatalk\/afpd.conf<\/h5>\n<p>\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>- -tcp -noddp -uamlist uams_guest.so,.so,uams_dhx.so,uams_dhx2.so \\\n-maccodepage MAC_JAPANESE -unixcodepage UTF8 \\\n-slp<span style=\"color: #33ff00\"> (SLP\u3092\u4f7f\u3046\u5834\u5408\u306b\u6307\u5b9a)<\/span><\/pre>\n<p>SLP(-slp)\u306f\u3001Mac OS X 10.2\u3088\u308a\u3082\u53e4\u3044OS(Mac OS 9\u3068\u304b)\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3092\u77e5\u3089\u305b\u308b\u4ed5\u7d44\u307f\u3067\u3059\u306e\u3067\u3001\u901a\u5e38\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<h5>8.3 \/usr\/local\/etc\/netatalk\/AppleVolumes.default<\/h5>\n<p>\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>:DEFAULT: options:upriv,usedots cnidscheme:dbd maccharset:MAC_JAPANESE volcharset:UTF8 dperm:0700 fperm:0600 ea:sys\n\/home\/username &quot;username&quot; allow:@username deny:admin\n\/home\/d_capsule &quot;Debian Capsule&quot; options:tm volsizelimit:5000<\/pre>\n<p>\u5143\u3005\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u305f&quot;~&quot;\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\/home\/username\u306f\u3001\u30ed\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002<\/p>\n<p>\/home\/d_capsule\u306f\u3001Time Machine\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u3067\u3059\u3002volsizelimit:5000\u306f\u30015GiB\u3068\u8a00\u3046\u4e8b\u3067\u3059\u3002\u5b9f\u614b\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre># mkdir \/home\/d_capsule\n# chown nobody:nogroup \/home\/d_capsule\n# chmod 775 \/home\/d_capsule<\/pre>\n<h4>9. \u8d77\u52d5<\/h4>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">\u524d\u7de8<\/a>\u3067avahi-daemon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3059\u3002<\/p>\n<pre># \/etc\/init.d\/netatalk start\n# \/etc\/init.d\/avahi-daemon start<\/pre>\n<h4>10. \u52d5\u4f5c\u78ba\u8a8d<\/h4>\n<p>Mac OS X\u5074\u3067\u306e\u52d5\u4f5c\u78ba\u8a8d\u3067\u3059\u3002OS X\u306f\u3001Lion(10.7)\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u9805\u76ee\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Finder\u304b\u3089\u3001\u30b5\u30fc\u30d0\u304c\u898b\u3048\u308b\u304b? &#8230; OK<\/li>\n<li>\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308c\u308b\u304b? &#8230; OK<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u308b\u304b? (Mac\u2192Debian\u3001Debian\u2192Mac) &#8230; OK<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3068\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306f\u3069\u3046\u304b? &#8230; OK<\/li>\n<li>\u62e1\u5f35\u5c5e\u6027\u306f\u3064\u3044\u3066\u3044\u308b\u304b? &#8230; OK<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u78ba\u8a8d(\u65e5\u672c\u8a9e\u3001\u7981\u6b62\u6587\u5b57\u3001\u9577\u3044\u30d5\u30a1\u30a4\u30eb\u540d) &#8230; OK<\/li>\n<li>TimeMachine\u306e\u30c7\u30a3\u30b9\u30af\u306b\u8868\u793a\u3055\u308c\u308b\u304b? &#8230; OK<\/li>\n<\/ul>\n<p>\u5168\u9805\u76ee\u3001OK\u3067\u3057\u305f\u3002<\/p>\n<p>\u3042\u3001guest\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3059\u3002\u306a\u3093\u3067\u3060\u308d\u3046&#8230;\u3002<\/p>\n<pre># asip-status.pl 10.211.55.4\nAFP reply from 10.211.55.4:548\nFlags: 1&nbsp; Cmd: 3&nbsp; ID: 57005\nReply: DSIGetStatus\nRequest ID: 57005\nMachine type: Netatalk 2.2.0\nAFP versions: AFP2.2,AFPX03,AFP3.1,AFP3.2,AFP3.3\nUAMs: DHX2,DHCAST128,No User Authent\nVolume Icon &amp; Mask: exist\nFlags: SupportsCopyFile,SupportsServerMessages,SupportsServerSignature,SupportsTCP\/IP,SupportsSrvrNotifications,SupportsOpenDirectory,SupportsUTF8Servername,SupportsUUIDs,SupportsSuperClient\nServer name: etch\nSignature:\n42 80 54 4f 27 af 11 ff a0 e3 7a dd f7 7f 7c 76&nbsp; B.TO'.....z...|v\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;\nNetwork address: 10.211.55.4 (TCP\/IP address)\nUTF8 Servername: etch<\/pre>\n<p>guest\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u69d8\u306b\u601d\u3048\u308b\u306e\u3067\u3059\u304c\u3001\u306a\u305c\u304b\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3010\u95a2\u9023\u8a18\u4e8b\u3011\n<\/p>\n<ul>\n<li><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/07\/debian-sargenet.html\">Debian Sarge\u306eLANDISK\u306b\u306fnetatalk 2.2beta4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a><\/li>\n<li><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html\">Debian Etch\u306bnetatalk 2.2.0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u524d\u7de8): \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a><\/li>\n<li>Debian Etch\u306bnetatalk 2.2.0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u5f8c\u7de8): \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>IO-DATA\u306eNASLANDISK Home HDL4-G\u306f\u3001\u642d\u8f09\u3055\u308c\u3066\u3044\u308bnetatalk\u304c\u53e4\u3059\u304e\u3066\u3001OS X 10.7 Lion\u3067\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u70ba\u306b\u306f\u3001netatalk\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eDebian Etch\u306bnetatalk 2.2.0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u5f8c\u7de8)\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[30,5],"tags":[],"class_list":["post-2049","post","type-post","status-publish","format-standard","hentry","category-netatalk","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":2048,"url":"https:\/\/oichinote.com\/plus\/2011\/08\/debian-etchneta.html","url_meta":{"origin":2049,"position":0},"title":"Debian Etch\u306bnetatalk 2.2.0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u524d\u7de8)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e748\u670814\u65e5","format":false,"excerpt":"LANDISK Home HDL4-G\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u3044\u3064\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308bnetatalk\u304c\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2128,"url":"https:\/\/oichinote.com\/plus\/2011\/11\/landisk-home-hd.html","url_meta":{"origin":2049,"position":1},"title":"LANDISK Home HDL4-G\u3067\u3084\u308a\u305f\u3044\u4e8b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e7411\u67081\u65e5","format":false,"excerpt":"IODATA\u304b\u3089\u3001\u65b0\u578b\u306eNAS\u304c\u767a\u58f2\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u8ee2\u9001\u901f\u5ea6\u304c\u3001\u975e\u5e38\u306b\u9ad8\u901f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u767a\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2278,"url":"https:\/\/oichinote.com\/plus\/2012\/03\/netatalk-30-alp.html","url_meta":{"origin":2049,"position":2},"title":"netatalk 3.0 alpha1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u69d8\u3067\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e743\u670830\u65e5","format":false,"excerpt":"\u79c1\u306f\u3001Update Scanner\u3067\u3001RSS\u306e\u7121\u3044Web\u30da\u30fc\u30b8\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3059\u3002 Update \u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2919,"url":"https:\/\/oichinote.com\/plus\/2012\/05\/netatalk-2-2-3-debian-dpkg-ubuntu-10-04-install.html","url_meta":{"origin":2049,"position":3},"title":"netatalk 2.2.3\u3092debian\u5316\u3057\u3066Ubuntu 10.04\u306bdpkg\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e745\u670824\u65e5","format":false,"excerpt":"\u5148\u65e5\u3001netatalk 2.2.3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u65e9\u901f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 Ubuntu 1\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3578,"url":"https:\/\/oichinote.com\/plus\/2012\/07\/installing-debianized-netatalk-3-0-on-ubuntu-10-04.html","url_meta":{"origin":2049,"position":4},"title":"Netatalk 3.0\u3092debian\u5316\u3057\u3066Ubuntu 10.04\u306bdpkg\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e747\u67089\u65e5","format":false,"excerpt":"Netatalk 3.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 Netatalk 2.x\u304b\u3089\u306e\u5909\u66f4\u70b9\u306f\u3001\u6b21\u306eweb\u30da\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1992,"url":"https:\/\/oichinote.com\/plus\/2011\/06\/ubuntu-1004neta-2.html","url_meta":{"origin":2049,"position":5},"title":"Ubuntu 10.04\u306bnetatalk 2.2beta4\u3092dpkg\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e746\u670819\u65e5","format":false,"excerpt":"HAT\u3055\u3093\u306b\u3001\u30b3\u30e1\u30f3\u30c8\u3067\u6559\u3048\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002 11.10 Oneiric\u7528\u306e2.2-beta4\u306ed\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/2049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=2049"}],"version-history":[{"count":0,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/2049\/revisions"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=2049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=2049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=2049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}