{"id":1654,"date":"2010-07-18T01:24:49","date_gmt":"2010-07-17T16:24:49","guid":{"rendered":"http:\/\/oichinote.com\/plus\/2010\/07\/18\/ubuntu-10-04%e3%81%abnetatalk-2-1-3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e8%bf%bd%e8%a8%98%e3%83%bb%e8%a8%82%e6%ad%a3%e3%81%82%e3%82%8a\/"},"modified":"2010-07-18T01:24:49","modified_gmt":"2010-07-17T16:24:49","slug":"ubuntu-1004neta","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2010\/07\/ubuntu-1004neta.html","title":{"rendered":"Ubuntu 10.04\u306bnetatalk 2.1.3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u30fb\u8a02\u6b63\u3042\u308a]"},"content":{"rendered":"<p>(\u8ffd\u8a18 2010-11-13 01:28 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\/etc\/netatalk\/afp_signature.conf\u306e\u7f6e\u304f\u4f4d\u7f6e\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u304c\u3001\/etc\u304cread only mount\u306b\u306a\u3063\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u3046\u4e8b\u3092\u60f3\u5b9a\u3057\u3066\u3067\u3059\u3002\u666e\u901a\u306f\u3001\u3053\u306e\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002)<\/p>\n<p>\u65b0\u898f\u306b\u3001<a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2010\/07\/powermac-g4mddu.html\">PowerMac G4\/MDD\u306bUbuntu 10.04\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a]<\/a>\u3057\u305f\u306e\u3067\u3001netatalk\u3082\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306a\u308a\u307e\u3059\u3002\u30bf\u30a4\u30df\u30f3\u30b0\u826f\u304f\u3001netatalk 2.1.3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306e\u3067\u3001\u3061\u3087\u3046\u3069\u826f\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n<p><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2010\/06\/ubuntu-910netat.html\">Ubuntu 9.10\u306bnetatalk 2.1.2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u30fb\u8a02\u6b63\u3042\u308a]<\/a>\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305d\u3053\u3067\u5f97\u305f\u53cd\u7701\u3068\u77e5\u898b\u3092\u53d6\u308a\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u6b21\u306e\u65b9\u91dd\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>netatalk 2.1.3\u3092\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<li>\u8a2d\u5b9a\u306f\u30e2\u30c0\u30f3\u306a\u7269\u306b\u3059\u308b(SLP\u5bfe\u5fdc\u306f\u6b8b\u3059)<\/li>\n<li>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u306f\u3001Ubuntu\u306e\u6d41\u5100\u306b\u306a\u308b\u3079\u304f\u5408\u308f\u305b\u308b<\/li>\n<li>netatalk\u306e\u52d5\u4f5c\u3067\u6c17\u306b\u306a\u308b\u6240\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u66ab\u5b9a\u7684\u306b\u5bfe\u5fdc\u3059\u308b<\/li>\n<\/ul>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\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 target=\"_blank\" href=\"http:\/\/www003.upp.so-net.ne.jp\/hat\/netatalk\/andsamba.html\">Netatalk and Samba<\/a><\/li>\n<li><a target=\"_blank\" href=\"http:\/\/hatx.blog.so-net.ne.jp\/netatalk_status\">netatalk 2.1.3 \u30ea\u30ea\u30fc\u30b9\uff1aHAT\uff1aSo-net blog<\/a> <\/li>\n<li><a target=\"_blank\" href=\"http:\/\/bibo-log.blog.so-net.ne.jp\/2010-05-15\">ubuntu 10.04 (lucid)\u306b netatalk 2.1 \u3092\u5165\u308c\u308b\uff1a\u2606 \u3073\u307c\u3046\u308d\u3050 \u2606\uff1aSo-net\u30d6\u30ed\u30b0<\/a> <\/li>\n<\/ul>\n<p>\u307e\u305a\u306f\u3001\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3067\u3059\u3002 <\/p>\n<pre>$ sudo apt-get install libdb4.8-dev <span style=\"color: #33ff00\">(CNID\u306e\u7ba1\u7406\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span>\n$ sudo apt-get install libssl-dev <span style=\"color: #33ff00\">(uams_dhx.so\u3092\u4f7f\u3046\u6642\u306b\u5fc5\u8981)<\/span>\n$ sudo apt-get install libgcrypt11-dev <span style=\"color: #33ff00\">(uams_dhx2.so\u3092\u4f7f\u3046\u6642\u306b\u5fc5\u8981)<\/span>\n$ sudo apt-get install libslp-dev <span style=\"color: #33ff00\">(SLP\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span><\/pre>\n<p>netatalk\u306e\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u5c55\u958b\u3057\u307e\u3059\u3002<\/p>\n<pre>$ cd\n$ mkdir work\n$ cd work\n$ mkdir netatalk\n$ cd netatalk\n$ wget http:\/\/sourceforge.net\/projects\/netatalk\/files\/netatalk\/2.1.3\/netatalk-2.1.3.tar.gz\/download\n$ tar xvzf netatalk-2.1.3.tar.gz<\/pre>\n<p>configure\u3057\u307e\u3059\u3002<\/p>\n<pre>$ cd\n$ cd work\/netatalk\/netatalk-2.1.3\n$ .\/configure --enable-debian \\ <span style=\"color: #33ff00\">(Ubuntu\u306fDebian\u7cfb\u306a\u306e\u3067)<\/span>\n&gt; --enable-srvloc \\ <span style=\"color: #33ff00\">(SLP\u306e\u305f\u3081\u306b\u5fc5\u8981)<\/span>\n&gt; --prefix=\/usr \\ <span style=\"color: #33ff00\">(\u3067\u304d\u305f\u30d5\u30a1\u30a4\u30eb\u306f\/usr\u4ee5\u4e0b\u306b\u7f6e\u304f)<\/span>\n&gt; --with-pkgconfdir=\/etc\/netatalk \\ <span style=\"color: #33ff00\">(\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7f6e\u304d\u5834)<\/span>\n&gt; --with-uams-path=\/usr\/lib\/netatalk <span style=\"color: #33ff00\">(\u30e6\u30fc\u30b6\u8a8d\u8a3c\u30e9\u30a4\u30d6\u30e9\u30ea\u7f6e\u304d\u5834)<\/span><\/pre>\n<p>&#8211;with-message-dir\u3092\u6307\u5b9a\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001Server messages path\u306f[PKGCONF\/msg](\/etc\/netatalk\/msg)\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Server messages path\u304c\u4f55\u306b\u4f7f\u308f\u308c\u308b\u304b\u3001\u79c1\u306f\u308f\u304b\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>configure\u306e\u7d50\u679c\u3067\u3059\u3002<\/p>\n<pre>Using libraries:\n&nbsp; &nbsp; LIBS =&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;= -lgcrypt\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =\n&nbsp; &nbsp; BDB:\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; LIBS&nbsp; &nbsp;=&nbsp; -ldb-4.8\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; CFLAGS =\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: yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Large file support (&gt;2GB) for AFP3: yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Extended Attributes: ad | sys\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;DDP enabled: yes\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;CUPS support:&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;tcp wrapper support:&nbsp; &nbsp; no\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;quota support:&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; yes\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;admin group support:&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; 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<p>\u3053\u306e\u307e\u307e\u3067\u306f\u3001afpd\u5b9f\u884c\u4e2d\u306b\u3001\/etc\/netatalk\u306e\u4e0b\u306b\u3001afp_signature.conf\u3068\u8a00\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u3089\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u3001(\u8a02\u6b63 2010-07-24 00:25 <del>\u52d5\u7684<\/del>)\u77e5\u3089\u306a\u3044\u9593\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u3089\u308c\u3066\u3057\u307e\u3046\u306e\u306f\u6c17\u6301\u3061\u304c\u60aa\u3044\u306e\u3067\u5909\u66f4\u3057\u307e\u3059\u3002etc\/afpd\/Makefile\u3092\u3001\u76f4\u63a5\u76f4\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u5909\u66f4\u524d\u3002<\/p>\n<pre>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;-D_PATH_AFPDSIGCONF=\\&quot;$(pkgconfdir)\/afp_signature.conf\\&quot; \\<\/pre>\n<p>\u5909\u66f4\u5f8c\u3002<\/p>\n<pre>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;-D_PATH_AFPDSIGCONF=\\&quot;\/var\/lib\/netatalk\/afp_signature.conf\\&quot; \\<\/pre>\n<p>\u6b21\u306e\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u3001\u52d5\u7684\u306b\u4f5c\u3089\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u3001\/var\/lib\u306b\u7f6e\u304f\u306e\u304c\u826f\u3055\u305d\u3046\u306a\u306e\u3067\u3059\u304c\u3001\u3069\u3046\u306a\u306e\u3067\u3057\u3087\u3046\u304b?<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"http:\/\/manpages.ubuntu.com\/manpages\/gutsy\/ja\/man7\/hier.7.html\">Ubuntu<br \/>\nManpage:hier &#8211; \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u968e\u5c64\u306e\u8aac\u660e<\/a><\/li>\n<\/ul>\n<p>(\u8ffd\u8a18 2010-07-24 00:25 FHS\u306b\u5f93\u3046\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<a target=\"_blank\" href=\"http:\/\/www.pathname.com\/fhs\/\">Filesystem Hierarchy Standard<\/a>)<\/p>\n<p>\u3053\u306e\u76f4\u3057\u65b9\u3060\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u3089\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5909\u66f4\u306b\u306a\u308b\u3060\u3051\u3067\u3001man\u306e\u6587\u7ae0\u4e2d\u306e\u8a18\u8ff0\u304c\u76f4\u308a\u307e\u305b\u3093\u3002man\u306f\u3001\u79c1\u306e\u74b0\u5883\u3067\u306f\u3001\u79c1\u3057\u304b\u898b\u306a\u3044\u306e\u3067\u3001\u826f\u3044\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u69d8\u306a\u61f8\u5ff5\u304c\u3042\u308b\u4e8b\u3092\u3001\u958b\u767a\u8005\u306e\u65b9\u306b\u9023\u7d61\u3092\u53d6\u3063\u305f\u65b9\u304c\u826f\u3044\u306e\u3067\u3057\u3087\u3046\u304b? <a target=\"_blank\" href=\"http:\/\/www003.upp.so-net.ne.jp\/hat\/netatalk\/andsamba.html\">Netatalk<br \/>\nand Samba<\/a>\u306b\u306f\u3001\u30d0\u30b0\u3092\u898b\u3064\u3051\u305f\u3089\u5831\u544a\u3057\u3066\u307b\u3057\u3044\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306e\u4ef6\u306f\u3001\u30d0\u30b0\u3068\u306f\u8a00\u3048\u306a\u3044\u3057&#8230;\u3002<\/p>\n<p>\u6839\u672c\u4fee\u6b63\u306e\u305f\u3081\u306b\u306f\u3001configure\u3068Makefile.in\u3001\u304a\u3088\u3073\u30de\u30cb\u30e5\u30a2\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u4fee\u6b63\u306f\u96e3\u3057\u304f\u306a\u3055\u305d\u3046\u3067\u3059\u304c\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3084\u5909\u6570\u306e\u540d\u524d\u3092\u6c7a\u3081\u308b\u306e\u304c\u3001\u9762\u5012\u306a\u6c17\u304c\u3057\u307e\u3059\u3002\u5358\u7d14\u306b\u3001signaturedir\u3068\u3059\u308c\u3070\u826f\u3044\u3067\u3057\u3087\u3046\u304b?<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb&amp;\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<pre>$ make\n$ sudo make install<\/pre>\n<p>afpd\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u672c\u5f53\u306f\u3001make\u304c\u7d42\u308f\u3063\u305f\u76f4\u5f8c\u306b(\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u524d\u306b)\u3001etc\/afpd\/afpd -V\u3067\u8abf\u3079\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre>$ \/usr\/sbin\/afpd -V\nafpd 2.1.3 - 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:\tYes\n&nbsp; &nbsp;&nbsp; &nbsp;Transport layers:\tTCP\/IP DDP\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;CNID backends:\tdbd last tdb\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; SLP support:\tYes\n&nbsp; TCP wrappers support:\tNo\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Quota support:\tYes\n&nbsp; &nbsp;Admin group support:\tYes\n&nbsp; &nbsp; Valid shell checks:\tYes\n&nbsp; &nbsp;&nbsp; &nbsp;cracklib support:\tNo\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Dropbox kludge:\tNo\n&nbsp; Force volume uid\/gid:\tNo\n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; afpd.conf:\t\/etc\/netatalk\/afpd.conf\n&nbsp; &nbsp; afp_signature.conf:\t\/var\/lib\/netatalk\/afp_signature.conf\n&nbsp; &nbsp;AppleVolumes.system:\t\/etc\/netatalk\/AppleVolumes.system\n&nbsp; AppleVolumes.default:\t\/etc\/netatalk\/AppleVolumes.default\n&nbsp; &nbsp;&nbsp; &nbsp; UAM search path:\t\/usr\/lib\/netatalk\/\n&nbsp; Server messages path:\t\/etc\/netatalk\/msg\/<\/pre>\n<p>\u6b63\u3057\u304f\u3067\u304d\u3066\u3044\u308b\u69d8\u3067\u3059\u3002<\/p>\n<p>\u5404\u7a2e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre>$ cd \/etc\/netatalk\n$ sudo vi afpd.conf\n$ sudo mv netatalk.conf \/etc\/default\/netatalk\n$ sudo vi \/etc\/default\/netatalk\n$ sudo vi AppleVolumes.default<\/pre>\n<p>\/etc\/netatalk\/afpd.conf\u306b\u306f\u3001\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u6b8b\u3059\u3088\u3046\u306b\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 \\\n-setuplog &quot;Default LOG_INFO \/var\/log\/netatalk\/default.log&quot; \\\n-setuplog &quot;Core LOG_INFO \/var\/log\/netatalk\/core.log&quot; \\\n-setuplog &quot;Logger LOG_INFO \/var\/log\/logger.log&quot; \\\n-setuplog &quot;CNID LOG_INFO \/var\/log\/netatalk\/cnid.log&quot; \\\n-setuplog &quot;AFPDaemon LOG_INFO \/var\/log\/netatalk\/afp.log&quot;<\/pre>\n<p>\/etc\/default\/netatalk\u306b\u306f\u3001\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u5909\u66f4\u70b9\u306e\u307f\u3001\u5217\u6319\u3057\u307e\u3059\u3002<\/p>\n<pre>ATALK_NAME=`\/bin\/hostname --short`\nATALK_MAC_CHARSET='MAC_JAPANESE'\nATALK_UNIX_CHARSET='UTF8'\nAFPD_UAMLIST=&quot;-U uams_guest.so,uams_dhx.so,uams_dhx2.so&quot;<\/pre>\n<p>\/etc\/netatalk\/AppleVolumes.default\u306b\u306f\u3001\u6b21\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>:DEFAULT: options:upriv,usedots cnidscheme:dbd maccharset:MAC_JAPANESE\nvolcharset:UTF8 dperm:0700 fperm:0600 ea:sys <span style=\"color: #33ff00\">(\u5b9f\u969b\u306b\u306f1\u884c)<\/span>\n\/home\/username &quot;username&quot; allow:@username deny:admin\n\/home\/u_capsule &quot;Ubuntu 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\/u_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>$ sudo mkdir \/home\/u_capsule\n$ sudo chown nobody:nogroup \/home\/u_capsule\n$ sudo chmod 775 \/home\/u_capsule<\/pre>\n<p>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>$ sudo mkdir \/var\/log\/netatalk<\/pre>\n<p>afp_signature.conf\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>$ sudo mkdir \/var\/lib\/netatalk<\/pre>\n<p>\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre>$ sudo service netatalk start<\/pre>\n<p>avahi-daemon\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002Ubuntu 10.04\u306b\u306f\u3001\u6700\u521d\u304b\u3089avahi-daemon\u304c\u5165\u3063\u3066\u3044\u3066\u3001\u8d77\u52d5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>$ cd \/etc\/avahi\/services\n$ sudo vi afpd.service\n$ sudo vi adisk.service<\/pre>\n<p>afpd.service\u306e\u4e2d\u8eab\u306f\u3001\u6b21\u306e\u69d8\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?xml version=&quot;1.0&quot; standalone='no'?&gt;\n&lt;!DOCTYPE service-group SYSTEM &quot;avahi-service.dtd&quot;&gt;\n&lt;service-group&gt;\n&nbsp; &lt;name replace-wildcards=&quot;yes&quot;&gt;%h&lt;\/name&gt;\n&nbsp; &lt;service&gt;\n&nbsp; &nbsp; &lt;type&gt;_afpovertcp._tcp&lt;\/type&gt;\n&nbsp; &nbsp; &lt;port&gt;548&lt;\/port&gt;\n&nbsp; &lt;\/service&gt;\n&lt;\/service-group&gt;<\/pre>\n<p>adisk.service\u306e\u4e2d\u8eab\u306f\u3001\u6b21\u306e\u69d8\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?xml version=&quot;1.0&quot; standalone='no'?&gt;\n&lt;!DOCTYPE service-group SYSTEM &quot;avahi-service.dtd&quot;&gt;\n&lt;service-group&gt;\n&nbsp; &lt;name replace-wildcards=&quot;yes&quot;&gt;%h&lt;\/name&gt;\n&nbsp; &lt;service&gt;\n&nbsp; &nbsp; &lt;type&gt;_adisk._tcp&lt;\/type&gt;\n&nbsp; &nbsp; &lt;port&gt;9&lt;\/port&gt;\n&nbsp; &nbsp; &lt;txt-record&gt;sys=adVF=0x100&lt;\/txt-record&gt;\n&nbsp; &nbsp; &lt;txt-record&gt;dk0=adVN=Ubuntu Capsule,adVF=0x81&lt;\/txt-record&gt;\n&nbsp; &lt;\/service&gt;\n&lt;\/service-group&gt;<\/pre>\n<p>\u3053\u308c\u3067\u3001Mac OS X\u304b\u3089\u898b\u3048\u308b\u306f\u305a\u3067\u3059\u3002avahi-daemon\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u3060\u3051\u3067\u826f\u304f\u3001\u518d\u8d77\u52d5\u306e\u5fc5\u8981\u306f\u7121\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>Mac OS X 10.5.8 Leopard\u3067\u8a66\u3057\u307e\u3057\u305f\u3002Bonjour\u30db\u30b9\u30c8\u3068\u3057\u3066\u898b\u3048\u307e\u3059\u3002\u30de\u30a6\u30f3\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u305d\u3046\u3057\u305f\u3089\u3001CNID\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u3067\u3001\u30ea\u30fc\u30c9\u30aa\u30f3\u30ea\u30fc\u3067\u30de\u30a6\u30f3\u30c8\u3055\u308c\u308b\u3068\u3044\u3046\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u51fa\u3066\u304d\u307e\u3057\u305f(\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3059\u308b\u306e\u3092\u5fd8\u308c\u307e\u3057\u305f)\u3002<\/p>\n<p>\/var\/log\/netatalk\/default.log\u3092\u898b\u308b\u3068\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>Jul 17 19:20:32.548734 afpd[3892] {cnid_dbd.c:314} (E:CNID): dbd_rpc:\nError reading header from fd (db_dir \/home\/u_capsule): Connection reset by peer\n<span style=\"color: #33ff00\">(\u8868\u793a\u306e\u95a2\u4fc2\u3067\u3001\u6298\u308a\u8fd4\u3057\u3066\u3044\u307e\u3059)<\/span><\/pre>\n<p>DB\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u306e\u69d8\u306b\u898b\u3048\u307e\u3059\u3002\u4eca\u56de\u3001Berkeley DB\u30924.8\u306b\u5207\u308a\u66ff\u3048\u305f\u304b\u3089\u3067\u3057\u3087\u3046\u304b? \u524d\u56de\u306f\u3001Berkeley DB 4.6\u3067\u3057\u305f\u3002Ubuntu\u5074\u3067.AppleDB\u3092\u6d88\u3057\u3066\u3001Mac OS X\u304b\u3089\u518d\u63a5\u7d9a\u3057\u3066\u307f\u305f\u3089\u76f4\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3010\u95a2\u9023\u8a18\u4e8b\u3011<\/p>\n<ul>\n<li><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2010\/07\/powermac-g4mddu.html\">PowerMac<br \/>\nG4\/MDD\u306bUbuntu 10.04\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a]<\/a><\/li>\n<li><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2010\/06\/ubuntu-910netat.html\">Ubuntu<br \/>\n9.10\u306bnetatalk 2.1.2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u30fb\u8a02\u6b63\u3042\u308a]<\/a><\/li>\n<li><a rel=\"_RAclick\" href=\"https:\/\/oichinote.com\/plus\/2010\/07\/ubuntu-910avahi.html\">Ubuntu 9.10\u306bavahi\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u3042\u308a]<\/a><\/li>\n<\/ul>\n<p>(\u8a02\u6b63 2011-03-06 00:15)afpd.conf\u306e\u66f8\u304d\u65b9\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(\u8ffd\u8a18 2010-11-13 01:28 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\/etc\/netatalk\/afp_signature.conf\u306e\u7f6e\u304f\u4f4d\u7f6e\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u304c\u3001\/etc\u304cread only mount\u306b\u306a\u3063\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u3046\u4e8b\u3092 [&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_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eUbuntu 10.04\u306bnetatalk 2.1.3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u30fb\u8a02\u6b63\u3042\u308a]\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-1654","post","type-post","status-publish","format-standard","hentry","category-netatalk","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1796,"url":"https:\/\/oichinote.com\/plus\/2010\/12\/ubuntu-1004neta.html","url_meta":{"origin":1654,"position":0},"title":"Ubuntu 10.04\u306bnetatalk 2.2alpha4\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2010\u5e7412\u67087\u65e5","format":false,"excerpt":"netatalk 2.2alpha4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\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":1850,"url":"https:\/\/oichinote.com\/plus\/2011\/01\/ubuntu-1004neta.html","url_meta":{"origin":1654,"position":1},"title":"Ubuntu 10.04\u306bnetatalk 2.2beta1\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[\u8ffd\u8a18\u30fb\u8a02\u6b63\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e741\u670830\u65e5","format":false,"excerpt":"netatalk 2.2beta1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4e00\u5fdc\u3001ACL\u5bfe\u5fdc\u3067\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":1780,"url":"https:\/\/oichinote.com\/plus\/2010\/11\/ubuntu-1004ne-3.html","url_meta":{"origin":1654,"position":2},"title":"Ubuntu 10.04\u306bnetatalk 2.2alpha3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2010\u5e7411\u670821\u65e5","format":false,"excerpt":"netatalk 2.2alpha3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u306a\u3093\u304b\u3001\u6bce\u9031\u672b\u306b\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/09\/20101121finderinfo.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1884,"url":"https:\/\/oichinote.com\/plus\/2011\/03\/ubuntu-1004neta.html","url_meta":{"origin":1654,"position":3},"title":"Ubuntu 10.04\u306bnetatalk 2.2beta2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e743\u67085\u65e5","format":false,"excerpt":"netatalk 2.2beta2\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3068\u3001HAT\u3055\u3093\u304b\u3089\u30b3\u30e1\u30f3\u30c8\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u306e\u3067\u3001\u30a4\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":1921,"url":"https:\/\/oichinote.com\/plus\/2011\/04\/ubuntu-1004neta.html","url_meta":{"origin":1654,"position":4},"title":"Ubuntu 10.04\u306bnetatalk 2.2beta4\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e744\u67089\u65e5","format":false,"excerpt":"netatalk 2.2beta4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u72b6\u6cc1\u306f\u3001beta\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":1894,"url":"https:\/\/oichinote.com\/plus\/2011\/03\/ubuntu-1004ne-1.html","url_meta":{"origin":1654,"position":5},"title":"Ubuntu 10.04\u306bnetatalk 2.2beta3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e743\u670813\u65e5","format":false,"excerpt":"\u88ab\u707d\u3055\u308c\u305f\u5730\u57df\u306e\u65b9\u306b\u306f\u3001\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u666e\u6bb5\u901a\u308a\u306bMac\u304c\u4f7f\u3048\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3001\u96fb\u529b\u4f9b\u7d66\u304c\u5fc3\u914d\u306a\u306e\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\/1654","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=1654"}],"version-history":[{"count":0,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/1654\/revisions"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=1654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=1654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}