Appletalk / Netatalk
2009-05-13 15:33:11来源:未知 阅读 ()
General Information
This short how-to gives you the instructions to install and configure an OpenBSD machine as a fileserver for Apple's
[url=javascript:;]Macintosh[/url]
Computers.
Requirements
A running OpenBSD installation (tested with 3.8 and 4.3)
wget must be installed (from the packages), or any other tool to get packages from the web (eg. curl)
Berkeley-DB must be installed (instructions here included)
Installation
Download and install the Berkeley-DB (aka SleepyCat Database), now owned by Oracle
Download:
#
# cd /usr
wget
http://download.oracle.com/berkeley-db/db-4.2.52.tar.gz
Unpack:
#
[url=javascript:;]tar[/url]
xzf db-4.2.52.tar.gz
Compile, configure & install
#
#
#
# cd /usr/db-4.2.52/build_unix
../dist/configure
make
make install
Note: Don't use any other version! They don't work with this configuration!
Download and install the
[url=javascript:;]Netatalk[/url]
package:
Download:
#
# cd /usr
wget
http://switch.dl.sourceforge.net/sourceforge/netatalk/netatalk-2.0.3.tar.gz
Unpack:
# tar xzf netatalk-2.0.3.tar.gz
Compile, configure & install:
#
#
#
# cd /usr/netatalk-2.0.3
./configure --with-bdb=/usr/local/BerkeleyDB.4.2
make
make install
Note: Don't use any other version! They don't work with this configuration!
Make link to /etc for compatibility:
# ln -s /usr/local/etc/netatalk /etc/netatalk
Configure for automatic start: in the file /etc/rc.local comment the section about netatalk if uncommented:
# Netatalk stuff
#if [ -f /etc/netatalk/rc.atalk ]; then
# . /etc/netatalk/rc.atalk
#fi
Add the following start sequence to end of file rc.local:
if [ -f /etc/netatalk/afpd.conf ]; then
echo ' afpd'; /usr/local/sbin/afpd
fi
If you don't wish to reboot to take effect, start the AFP-Daemon with the following command:
# /usr/local/sbin/afpd
I recommend to reboot to check if the startup sequence are ok. After the start check if afpd is running:
# ps ax | grep afpd
must result in a output like this:
27742 ?? I 0:00.05 /usr/local/sbin/afpd
Configuration
Enable AFP (apple filing protocol) password file:
# afppasswd -c
To add a user you must create a local user account:
# adduser
... fill in the gaps
Then set the afp password for this user:
# afppasswd -a USERNAME
To share volumes, you have to edit the file /etc/netatalk/AppleVolumes.default to look like this:
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash