MaJ du 04-02-2021

This commit is contained in:
2021-02-04 09:55:26 +01:00
parent 84b4e1a85d
commit fb07a20b0c
56 changed files with 4962 additions and 95 deletions

View File

@@ -0,0 +1,22 @@
# Ports
| | | |
| ------------------------------------------------------------ | --------------------------- | ------ |
| mymediaforalexa | 52050 - 52051 | Docker |
| homebridge | Bridge: 51534<br />UI: 8581 | Docker |
| Hoobs | Bridge: 51826<br />UI: 8181 | Docker |
| [PiHole](https://mariushosting.com/how-to-install-pi-hole-on-your-synology-nas/) | 8090 | Docker |
| Lychee | 90 | |
| | | |
| | | |
| | | |
| | | |
https://mariushosting.com/synology-how-to-update-docker-image/

View File

@@ -187,9 +187,9 @@ drwxr-xr-x 17 root root 4096 Mar 9 01:15 ..
#### Redémarrer Apache:
`synoservice --restart pkgctl-WebStation`
`sudo synoservice --restart pkgctl-WebStation`
`synoservice --restart pkgctl-Apache2.2`
`sudo synoservice --restart pkgctl-Apache2.2`
service [pkgctl-Apache2.2] restart failed, synoerr=[0x2000]
@@ -425,6 +425,24 @@ Zend Engine v3.3.16, Copyright (c) 1998-2018 Zend Technologies
```bash
$ find /volume1/@appstore/PHP7.3 -name *.ini
/volume1/@appstore/PHP7.3/etc/php/conf.d/memcached.ini
/volume1/@appstore/PHP7.3/etc/php/conf.d/redis.ini
/volume1/@appstore/PHP7.3/misc/php-fpm.ini
/volume1/@appstore/PHP7.3/usr/local/etc/php73/cli/php.ini
/volume1/@appstore/PHP7.3/usr/local/etc/php73/cli/conf.d/extension.ini
$ find /volume1/@appstore/PHP7.4 -name *.ini
/volume1/@appstore/PHP7.4/etc/php/conf.d/memcached.ini
/volume1/@appstore/PHP7.4/etc/php/conf.d/redis.ini
/volume1/@appstore/PHP7.4/misc/php-fpm.ini
/volume1/@appstore/PHP7.4/usr/local/etc/php74/cli/php.ini
/volume1/@appstore/PHP7.4/usr/local/etc/php74/cli/conf.d/extension.ini
```
### Composer:
<u>Installation:</u>
@@ -485,6 +503,16 @@ You are already using composer version 1.7.1 (stable channel).
### Node.js
Utiliser `--unsafe-perm`
```bash
sudo npm install -g thumbsup --unsafe-perm
```
### Erreurs:
/bin/nano
@@ -501,3 +529,9 @@ sudo ln -s /lib/libncurses.so.5.9 /lib/libtinfo.so.5
https://help.synology.com/developer-guide/index.html
#### iTunes Server:
[MàJ pour Apple Music](https://supfiles.synology.com/fsdownload/cgMMujWfd/iTunes%20Server%201.5.3-2504%20Patch)

View File

@@ -273,3 +273,13 @@ Exécuter kymsu2.sh à distance:
bruno@silverbook:~$ ssh dsm916 ./kymsu/kymsu2.sh
```
#### Compiler dcraw.
Télécharger les [sources](https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/24922branch/evansport-source/), puis:
```bash
$ gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNODEP
```

14
docs/Synology/php.md Normal file
View File

@@ -0,0 +1,14 @@
# PHP
Synology fournit plusieurs paquets PHP:
- PHP 5.6
- PHP 7.0 (necéssaire pour Photo Station)
- PHP 7.2
- PHP 7.3
- PHP 7.4

View File

@@ -64,6 +64,43 @@ $ pip3 install --user --upgrade setuptools
### Erreur à la création d'un environnement virtuel:
```bash
bruno@DS916:~/venv $ python -m venv lychee
Error: Command '['/volume1/homes/bruno/venv/lychee/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
```
Il faut le créer avec l'option `--without-pip`.
```bash
bruno@DS916:~/venv $ python3 -m venv --without-pip letchee
bruno@DS916:~/venv $ source letchee/bin/activate
(letchee) bruno@DS916:~/venv $ curl https://bootstrap.pypa.io/get-pip.py | python3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1842k 100 1842k 0 0 4757k 0 --:--:-- --:--:-- --:--:-- 4773k
Collecting pip
Downloading pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 3.1 MB/s
Collecting setuptools
Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)
|████████████████████████████████| 785 kB 15.3 MB/s
Collecting wheel
Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-20.2.4 setuptools-50.3.2 wheel-0.35.1
(letchee) bruno@DS916:~/venv $ deactivate
bruno@DS916:~/venv $ source letchee/bin/activate
(letchee) bruno@DS916:~/venv $ l
```
```bash

129
docs/Synology/services.md Normal file
View File

@@ -0,0 +1,129 @@
# DSM Services
#### Commandes:
```bash
synoservicecfg --list
synoservice --status
synoservicecfg --stop <service>
synoservicecfg --hard-stop <service>
synoservicecfg --start <service>
synoservicecfg --hard-start <service>
synoservice --restart <service>
synoservicectl --restart <service>
```
#### Services:
```bash
DSM
apparmor
atalk
avahi
bluetoothd
bonjour
btacd
crond
cups-lpd
cupsd
dbus
dc-output
ddns
findhost
ftpd
ftpd-ssl
gcpd
heartbeat
hotplugd
iscsitrg
ldap-server
miniupnpd-handler
natpmpd
nfsd
nginx
nmbd
nslcd
ntpd-client
ntpd-server
pgsql
pkgctl-Apache2.4
pkgctl-AudioStation
pkgctl-CMS
pkgctl-CloudSync
pkgctl-DNSServer
pkgctl-Docker
pkgctl-DownloadStation
pkgctl-FileStation
pkgctl-Git
pkgctl-HyperBackup
pkgctl-Java8
pkgctl-LogCenter
pkgctl-MariaDB
pkgctl-MariaDB10
pkgctl-Node.js_v4
pkgctl-PEAR
pkgctl-PHP5.6
pkgctl-PHP7.0
pkgctl-Plex Media Server
pkgctl-StorageAnalyzer
pkgctl-TextEditor
pkgctl-VPNCenter
pkgctl-WebStation
pkgctl-adminer
pkgctl-domoticz
pkgctl-filebot
pkgctl-filebot-node
pkgctl-git
pkgctl-python
pkgctl-sickrage
pppoerelay
rsyncd
s2s_daemon
samba
scemd
sftp
snmp
ssdp
ssh-shell
support-remote-access
synoagentregisterd
synobackupd
synocacheclient
synocachepinfiletool
synocgid
synoconfd
synocontentextractd
synocrond
synogpoclient
synoindexd
synologrotate
synomkflvd
synomkthumbd
synomount
synoovs-db
synoovs-vswitch
synoperfeventd
synorelayd
synosnmpcd
synostoraged
synotifyd
synotunnel
synovpnclient
synowifid
syslog-acc
syslog-ng
syslog-notify
system
telnetd
tftp
upnpd
ups-net
ups-usb
usbipd
winbindd
```