Próbował to już ktoś, coś. Zastanawiam się, czy może na virtualu odpalić sobie serwer Ubuntu, bo lubię, czy instalować natywnego debiana @Silas Mariusz ;-)
nie wiem jak będzie np z wydajnością
nie wiem jak będzie np z wydajnością
start)
a przed ;;
:[ ! -L "/lib/mysql" ] && ln -sf /opt/netatalk/lib/mysql /lib/mysql
/opt/netatalk/sbin/afpd -D
stop)
, zaraz pod tą linią:/opt/netatalk/sbin/afpd -k
#!/bin/sh
### BEGIN INIT INFO
# Provides: netatalk
# Required-Start: $remote_fs $syslog
# Should-Start: avahi-daemon
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 1
### END INIT INFO
#
# netatalk Netatalk 3.1.1 initscript
#
set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Netatalk"
NAME=netatalk
SCRIPTNAME=/etc/init.d/$NAME
# Guard to prevent execution if netatalk was removed.
test -x /usr/local/sbin/netatalk || exit 0
# Start Netatalk servers.
netatalk_startup() {
if [ -x /usr/local/sbin/netatalk ] ; then
/usr/local/sbin/netatalk
echo -n " netatalk"
fi
}
case "$1" in
start)
echo -n "Starting Netatalk services: "
netatalk_startup
echo "."
;;
stop)
echo -n "Stopping Netatalk Daemons:"
echo -n " netatalk"
start-stop-daemon --stop --quiet --oknodo --exec /usr/local/sbin/netatalk
echo "."
;;
restart)
$0 force-reload
;;
force-reload)
echo -n "Restarting Netatalk Daemons"
$0 stop
echo -n "."
sleep 2
echo -n "."
if $0 start; then
echo "done."
fi
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
start-stop-daemon
występuje tylko w linux'ach opartych o Debiana. Nie ma go w QNAP'ie.Usage: afpd [-d] [-F configfile]
afpd -h|-v|-V
The Netatalk distribution comes with several operating system specific startup script templates that are tailored according to the options given to the "configure" script before compiling. Currently, templates are provided for RedHat (sysv style), RedHat (systemd style), SUSE (sysv style), SUSE (systemd style), Gentoo, NetBSD, Debian and Solaris. You can select to install the generated startup script(s) by specifying a system type to "configure". To automatically install startup scripts give one of the available--with-init-style option to "configure".
Since new releases of Linux distributions appear all the time and the startup procedure for the other systems mentioned above might change as well, it is probably a good idea to not blindly install a startup script but to look at it first to see if it will work on your system. If you use Netatalk as part of a fixed setup, like a Linux distribution, an RPM or a BSD package, things will probably have been arranged properly for you. The following therefore applies mostly for people who have compiled Netatalk themselves.
The following daemon need to be started by whatever startup script mechanism is used:
Additionally, make sure that the configuration file afp.conf is in the right place.
- netatalk
/opt/netatalk/sbin/afpd
killall afpd
ps ax | grep afpd | grep -v grep
Kiedyś tam może się uda.Mariuszu, nie wiem jak Ci dziękować. Wpadaj na browca do stolicy
[~] # afpd -V
afpd 3.0.5 - Apple Filing Protocol (AFP) daemon of Netatalk
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.
afpd has been compiled with support for these features:
AFP versions: 2.2 3.0 3.1 3.2 3.3
CNID backends: cdb dbd last tdb
Zeroconf support: Avahi
TCP wrappers support: No
Quota support: Yes
Admin group support: Yes
Valid shell checks: Yes
cracklib support: No
EA support: ad | sys
ACL support: Yes
LDAP support: No
D-Bus support: No
DTrace probes: No
afp.conf: /usr/local/etc/afp.conf
extmap.conf: /usr/local/etc/extmap.conf
state directory: /var/netatalk/
afp_signature.conf: /var/netatalk/afp_signature.conf
afp_voluuid.conf: /var/netatalk/afp_voluuid.conf
UAM search path: /usr/local/etc/netatalk/uams//
Server messages path: /var/netatalk/msg/
type -f afpd
/usr/local/sbin/afpd
./usr/local/sbin/afpd -V
afpd 3.0.5 - Apple Filing Protocol (AFP) daemon of Netatalk
/opt/netatalk/sbin/afpd -V
afpd 3.1.1 - Apple Filing Protocol (AFP) daemon of Netatalk
Nie wiem czy to jest wina systemu czy nie przypadkiem tego, że ostatnie produkty Adobe na PC są schrzanione i mają memory leaki. Dla przykładu Photoshop CS6 jak i CC po kilku minutach pracy zaczyna mulić jak fiks. Gdzie CS5.5 idzie idealnie przez "cały wieczór".Co do maców, OS X trochę lepiej zarządza pamięcią i jeśli chodzi o pracę np w photoshopie to jest różnica. Mogę to stwierdzić, ponieważ na tym samym kompie działam w obu systemach.
Pisz tak dalej a naprawdę będziesz wisiał to :beer: za czas stracony przy kompilowaniu. Żarcik...Ładnie sypie, na dużych plikach typu filmy dobija na pojedynczym łączu do 125 MB/s. Spróbuję jeszcze włączyć trunka na OS X. Ela ogólnie ździebko lepiej niż na sambie w Win 7.
Oj jest 3 No zazdroszczęO jeżu! pomiędzy 180 a 240 MB/s. Jest moc!