-
Notifications
You must be signed in to change notification settings - Fork 100
Installing Netatalk on Solaris
The unofficial OpenCSW package repository for Solaris distributes a netatalk binary package that can be installed through their package manager. This repo is useful in particular for older versions of Solaris, for instance Solaris 10.
For building and installing from source yourself, for instance to get a newer version, follow the guides linked here.
The Solaris system will need to get the very latest package updates from Oracle in order to build contemporary Netatalk.
First, run a full system update.
pkg update --accept
If needed, manually install the latest SRU for Solaris 11.
If you're running something earlier than 11.4.81 CBE, you may need to configure mDNS in order for Zeroconf to work properly. As of 11.4.81 CBE, Solaris has discarded mDNS in favor of Avahi.
The base image of Solaris 11.4 comes with Meson v0.59.2 which is too old for Netatalk. If you upgrade to Oracle Solaris 11.4.81 CBE you will get a recent enough version of Meson.
However, if you're stuck on an older Solaris system that cannot be upgraded, uninstall the stock Meson and install the one distributed by Python pip instead.
# pkg uninstall meson
# pkg update --accept
# pip install meson
Tested on Solaris 10 (1/13)
Note that the last version known to work well on Solaris 10 is 3.1.8. You can get a pre-built package of this version from OpenCSW.
Below follows instructions for building the software from scratch, if you so prefer.
Install the OpenCSW repository and package manager.
Add paths to development tool dirs to the PATH variable, e.g. by adding this line to .profile
PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin
To install the prebuilt binary package for netatalk, do:
pkgutil -y -i netatalk
These instructions are for building netatalk from scratch.
pkgutil -y -i git libtool automake autoconf pkgconfig gcc5core berkeleydb48_devel libgcrypt_dev libevent_dev
./bootstrap
env PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig ./configure \
--with-init-style=solaris \
--with-libgcrypt-dir=/opt/csw \
--with-pam-confdir=/etc/pam.d \
--with-bdb=/opt/csw/bdb48 \
--with-mysql-config=no
make
make install
Start Netatalk.
svcadm enable svc:/network/netatalk:default
Stop Netatalk.
svcadm disable svc:/network/netatalk:default
Resources
- Getting Started
- FAQ
- Troubleshooting
- Connect to AFP Server
- Webmin Module
- Benchmarks
- Interoperability with Samba
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Tech Notes
- Kerberos
- Special Files and Folders
- Spotlight
- MySQL CNID Backend
- Slow AFP read performance
- Limiting Time Machine volumes
- Netatalk and ZFS nbmand property
Retro AFP
Development