Installer NFS
En ligne de commande powershell:
ServerManagerCmd -install File-Services FS-NFS-Services
ou
Ocsetup ServicesForNFS-ServerAndClient;ServerForNFS-Infrastructure;NFS-Administration;ClientForNFS-Infrastructure
En ligne de commande powershell:
ServerManagerCmd -install File-Services FS-NFS-Services
ou
Ocsetup ServicesForNFS-ServerAndClient;ServerForNFS-Infrastructure;NFS-Administration;ClientForNFS-Infrastructure
Pré requis: DSM 3.X
Automatiser l’initialisation du chroot debian sur un Synology DS210+.
Ce système fut précédemment réalisé avec ce tutorial.
Dans un nouveau répertoire du /volume1, créez le script S91InitDebian.sh suivant:
#!/bin/sh # SynoStop=/usr/bin/killall case $1 in start) echo "Mount debian ..." mount -o bind /volume1/@debian /opt/debian mount -o bind /dev /opt/debian/chrootgnuspe/dev mount -o bind /proc /opt/debian/chrootgnuspe/proc ;; stop) #$SynoStop tracd > /dev/null 2>&1 ;; #restart) # $0 stop # $0 start # ;; *) echo "Usages: $0 [start|stop]" ;; esac
ajouter le script au répertoire rc.d du nas Synology:
NAS> ln -s yourVolume1Rc.dScript/S93MavenProxy.sh /usr/syno/etc.defaults/rc.d/
supporter le stop et restart du script de service.