public:kb:synology
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
public:kb:synology [2013/11/27 16:07] – modification externe 127.0.0.1 | public:kb:synology [2020/09/17 17:43] (Version actuelle) – [Redémarrer les services] laurent.joly | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | <WRAP tabs> |
+ | * [[: | ||
+ | * [[: | ||
+ | </ | ||
+ | ====== Synology ====== | ||
- | ==== Acces SSH pour tous les utilisateurs ==== | + | Quelques informations techniques concernant |
- | Par défaut, sous la version DSM 3.2 du NAS Synology (testé sur un ds211j), l' | + | ===== Redémarrer les services ===== |
- | | + | **General Command Line commands for handling DSM Services:** |
- | | + | < |
- | * editer ce fichier : vi /etc/passwd | + | synoservicecfg |
- | * A la fin de la ligne correspondant a l' | + | synoservice --status |
+ | synoservicecfg --stop < | ||
+ | synoservicecfg --hard-stop < | ||
+ | synoservicecfg --start < | ||
+ | synoservicecfg --hard-start < | ||
+ | synoservice --restart < | ||
+ | synoservicectl --restart < | ||
- | | + | </code> |
- | par | + | |
- | /bin/sh | + | |
- | + | ||
- | comme pour le compte admin. | + | |
- | ==== Authentification par clef ==== | + | pour Stopper la tache ActiveBackup ce serait donc |
+ | < | ||
+ | sudo synoservicecfg --stop pkgctl-ActiveBackup | ||
+ | </ | ||
- | L' | + | FIXME ce qui suit sur les services semblre obsolete FIXME |
- | ==== SFTP ==== | + | ==== Service cron ==== |
+ | < | ||
+ | / | ||
+ | / | ||
+ | </ | ||
- | [[http:// | + | ==== Service Thumbnails ==== |
- | + | C'est le service qui gère la création des miniatures des photos : | |
- | === ipkg === | + | |
< | < | ||
- | ssh root@ip_du_NAS | + | /usr/syno/etc/rc.d/ |
- | cd /volume1/@tmp | + | /usr/syno/etc/rc.d/S77synomkthumbd.sh start |
- | wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ | + | </ |
- | chmod +x syno-mvkw-bootstrap_1.2-7_arm.xsh | + | |
- | sh syno-mvkw-bootstrap_1.2-7_arm.xsh | + | |
- | rm syno-mvkw-bootstrap_1.2-7_arm.xsh | + | |
- | reboot | + | |
- | ... | + | |
- | ssh root@ip_du_NAS | + | |
- | ipkg update | + | |
- | ipkg upgrade | + | |
+ | |||
+ | ==== Service SSH ==== | ||
+ | |||
+ | Ilest possible de redémarrer le service SSH via l' | ||
+ | < | ||
+ | synoservicectl --reload sshd | ||
+ | ou | ||
+ | synoservicectl --restart sshd | ||
</ | </ | ||
- | | + | |
- | * Installer un paquet | + | ===== Fichiers de configuration ===== |
+ | |||
+ | ==== SSH ==== | ||
+ | |||
+ | === Activer service SSH === | ||
+ | Pour activer le service SSH utiliser l' | ||
+ | | ||
+ | * Terminal et SNMP | ||
+ | * Activer SSH | ||
+ | |||
+ | |||
+ | === Utiliser clefs === | ||
+ | Pour pouvoir utiliser des clefs SSH, il faut procéder à quelques ajustements | ||
+ | |||
+ | * Panneau de configuration | ||
+ | * Users | ||
+ | * Advanced | ||
+ | * User home | ||
+ | * cocher Enable user home service | ||
+ | |||
+ | S' | ||
+ | |||
+ | donc pour toto : | ||
+ | <code bash> | ||
+ | chmod -R go-rwx / | ||
+ | </ |
public/kb/synology.1385564843.txt.gz · Dernière modification : 2014/02/19 08:20 (modification externe)