mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
small fixes
This commit is contained in:
parent
e92368e26e
commit
71d0089818
22 changed files with 71 additions and 72 deletions
|
@ -45,7 +45,7 @@ Voici une liste plus exhaustive des clients XMPP : https://fr.wikipedia.org/wik
|
|||
|
||||
Il est possible de rendre les conversations plus sécurisées et privées en les chiffrants à l'aide de [OMEMO](https://xmpp.org/extensions/xep-0384.html), notamment en utilisant Gajim :
|
||||
- Installer `gajim` et le plugin `gajim-omemo`
|
||||
- Activez le plugins dans `Outils > Plugins`
|
||||
- Activez le plugin dans `Outils > Plugins`
|
||||
- Activez le chiffrement dans une conversation avec un contact disposant de OMEMO.
|
||||
|
||||
## Salon de discussion
|
||||
|
|
|
@ -30,7 +30,7 @@ scp (-r) /your/file/ root@your-domain.org:/home/yunohost.transmission/completed
|
|||
```
|
||||
|
||||
##### How to download a complete folder?
|
||||
Once connected to your server, using [SSH](ssh), move to the download folder and ZIP it:
|
||||
Once connected to your server, using [SSH](/ssh), move to the download folder and ZIP it:
|
||||
```bash
|
||||
cd /home/yunohost.transmission/completed
|
||||
zip -r your_archive.zip [dossier]
|
||||
|
|
|
@ -43,6 +43,6 @@ For older devices, you might want to burn a CD/DVD. The software to use depends
|
|||
|
||||
* On Windows, use [ImgBurn](http://www.imgburn.com/) to write the image file on the disc
|
||||
|
||||
* On Mac OS, use [Disk Utility](http://support.apple.com/kb/ph7025)
|
||||
* On macOS, use [Disk Utility](http://support.apple.com/kb/ph7025)
|
||||
|
||||
* On GNU/Linux, you have plenty of choices, like [Brasero](https://wiki.gnome.org/Apps/Brasero) or [K3b](http://www.k3b.org/)
|
||||
|
|
|
@ -43,6 +43,6 @@ Pour les anciens matériels, il vous faut peut-être utiliser un CD/DVD. Le logi
|
|||
|
||||
* Sur Windows, utilisez [ImgBurn](http://www.imgburn.com/) pour écrire l’image sur le disque
|
||||
|
||||
* Sur Mac OS, utilisez [Disk Utility](http://support.apple.com/kb/ph7025)
|
||||
* Sur macOS, utilisez [Disk Utility](http://support.apple.com/kb/ph7025)
|
||||
|
||||
* Sur GNU/Linux, vous avez plusieurs choix, tels que [Brasero](https://wiki.gnome.org/Apps/Brasero) ou [K3b](http://www.k3b.org/)
|
||||
|
|
|
@ -10,7 +10,7 @@ DNS significa « Domain Name Server » en inglés, y está frecuentemente empl
|
|||
|
||||
**Por ejemplo** : `yunohost.org` apunta hacia `88.191.153.110`.
|
||||
|
||||
Este sistema fue creado para poder memorizar más fácilmente las direcciones de servidores. Existen registros DNS en los cuales hay que apuntarse. Esto se hace con **registrars** que te alquilarán estos nombres de dominio a cambio de cierto importe (entre 5 y algunas centenas de euros). Estos [registrars](registrar) son entidades privadas autorizadas por el [ICANN](https://es.wikipedia.org/wiki/Corporaci%C3%B3n_de_Internet_para_la_Asignaci%C3%B3n_de_Nombres_y_N%C3%BAmeros), tales como [Gandi](http://gandi.net), [OVH](http://ovh.com) o [BookMyName](http://bookmyname.com).
|
||||
Este sistema fue creado para poder memorizar más fácilmente las direcciones de servidores. Existen registros DNS en los cuales hay que apuntarse. Esto se hace con **registrars** que te alquilarán estos nombres de dominio a cambio de cierto importe (entre cinco y algunas centenas de euros). Estos [registrars](registrar) son entidades privadas autorizadas por el [ICANN](https://es.wikipedia.org/wiki/Corporaci%C3%B3n_de_Internet_para_la_Asignaci%C3%B3n_de_Nombres_y_N%C3%BAmeros), tales como [Gandi](http://gandi.net), [OVH](http://ovh.com) o [BookMyName](http://bookmyname.com).
|
||||
|
||||
Es importante notar que los subdominios no necesariamente apuntan al dominio principal.
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ La configuration des DNS est une étape cruciale pour que votre serveur soit acc
|
|||
|
||||
### Qu’est-ce que c’est ?
|
||||
|
||||
**N’hésitez pas à regarder la très bonne conférence de Stéphane Bortzmeyer :
|
||||
**N’hésitez pas à regarder la très bonne conférence de Stéphane Bortzmeyer :**
|
||||
|
||||
https://www.iletaitunefoisinternet.fr/post/1-dns-bortzmeyer/
|
||||
|
||||
|
@ -14,7 +14,7 @@ DNS signifie « Domain Name Server » en anglais, et est souvent employé pour
|
|||
|
||||
**Par exemple** : `yunohost.org` renvoie vers `88.191.153.110`.
|
||||
|
||||
Ce système a été créé pour pouvoir retenir plus facilement les adresses de serveur. Il existe donc des registres DNS dans lesquels il faut s’inscrire. Ceci peut être fait auprès de **registrars** qui vous feront louer ces noms de domaine contre une certaine somme (entre 5 et quelques centaines d’euros). Ces [registrars](registrar) sont des entités privées autorisées par l’[ICANN](http://fr.wikipedia.org/wiki/ICANN), telles que [Gandi](http://gandi.net), [OVH](http://ovh.com) ou [BookMyName](http://bookmyname.com).
|
||||
Ce système a été créé pour pouvoir retenir plus facilement les adresses de serveur. Il existe donc des registres DNS dans lesquels il faut s’inscrire. Ceci peut être fait auprès de **registrars** qui vous feront louer ces noms de domaine contre une certaine somme (entre cinq et quelques centaines d’euros). Ces [registrars](registrar) sont des entités privées autorisées par l’[ICANN](http://fr.wikipedia.org/wiki/ICANN), telles que [Gandi](http://gandi.net), [OVH](http://ovh.com) ou [BookMyName](http://bookmyname.com).
|
||||
|
||||
Il est important de noter que les sous-domaines ne renvoient pas nécessairement au domaine principal.
|
||||
Si `yunohost.org` renvoie vers `88.191.153.110`, ça ne signifie pas que `backup.yunohost.org` renvoie vers la même IP. Vous devez donc configurer **tous** les domaines et sous-domaines que vous souhaitez utiliser.
|
||||
|
|
|
@ -19,7 +19,7 @@ You may retrieve your server private IP adress through different means:
|
|||
|
||||
## Configure DNS of Internet box or router
|
||||
|
||||
The goal here is to create a network wide redirection handled by your router. The idea is to create a DNS redirection to your server's IP. You should access your router's configuration and look for DNS configuration, then add a redirection to your server's IP (e.g. redirect "yunohost.local" to 192.168.1.21).
|
||||
The goal here is to create a network wide redirection handled by your router. The idea is to create a DNS redirection to your server's IP. You should access your router's configuration and look for DNS configuration, then add a redirection to your server's IP (e.g. redirect `yunohost.local` to `192.168.1.21`).
|
||||
|
||||
### SFR Box
|
||||
If you haven't found your server private IP, you may find it using the SFR box admin panel:
|
||||
|
@ -36,7 +36,7 @@ Modifying hosts file should be done only if you cannot alter your box's DNS or r
|
|||
- Windows hosts file is located at:
|
||||
`%SystemRoot%\system32\drivers\etc\`
|
||||
> You MUST activate hidden and system file display to see the hosts file.
|
||||
- UNIX systems (GNU/Linux, Mac OS) hosts file is located at:
|
||||
- UNIX systems (GNU/Linux, macOS) hosts file is located at:
|
||||
`/etc/hosts`
|
||||
> You MUST have root privileges to modify the file.
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Puedes descubrir la dirección privada de tu servidor de varias maneras :
|
|||
|
||||
## Configurar el DNS de la caja Internet o del router
|
||||
|
||||
Vas a crear una redirección que estará activa en toda tu red local. El objetivo es crear una redirección DNS hacia el IP de tu servidor en tu caja Internet. Hay que acceder a la interfaz de configuración de tu caja y a los parámetros DNS, y luego crear una redirección local (por ejemplo, yunohost.local puede redigir hacia 192.168.21).
|
||||
Vas a crear una redirección que estará activa en toda tu red local. El objetivo es crear una redirección DNS hacia el IP de tu servidor en tu caja Internet. Hay que acceder a la interfaz de configuración de tu caja y a los parámetros DNS, y luego crear una redirección local (por ejemplo, `yunohost.local` puede redigir hacia `192.168.1.21`).
|
||||
|
||||
## Configurar el archivo [hosts](https://es.wikipedia.org/wiki/Archivo_hosts) del ordenador cliente
|
||||
Sólo deberías modificar el archivo hosts si no puedes modificar el DNS de tu caja Internet / router, porque el archivo hosts únicamente afectará el ordenador en el cual el archivo esté modificado.
|
||||
|
@ -27,7 +27,7 @@ Sólo deberías modificar el archivo hosts si no puedes modificar el DNS de tu c
|
|||
- En Windows, encontrarás el archivo hosts aquí :
|
||||
`%SystemRoot%\system32\drivers\etc\`
|
||||
> Es preciso visualizar los archivos y sistemas escondidos para ver el archivo hosts.
|
||||
- En sistemas UNIX (GNU/Linux, Mac OS), lo encontrarás aquí :
|
||||
- En sistemas UNIX (GNU/Linux, macOS), lo encontrarás aquí :
|
||||
`/etc/hosts`
|
||||
> Necesitarás derechos root para modificar el archivo.
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Vous pouvez retrouver l’adresse privée de votre serveur de différentes mani
|
|||
|
||||
## Configurer le DNS de la box ou du routeur
|
||||
|
||||
L'idée ici est de créer une redirection qui sera active sur tout votre réseau. Le but est de créer une redirection DNS vers l'ip de votre serveur YunoHost dans votre box. Il faut donc accéder à l'interface de configuration de votre box et aux paramétrages DNS, puis créer la redirection locale (par exemple, yunohost.local renvoi sur 192.168.21).
|
||||
L'idée ici est de créer une redirection qui sera active sur tout votre réseau. Le but est de créer une redirection DNS vers l'ip de votre serveur YunoHost dans votre box. Il faut donc accéder à l'interface de configuration de votre box et aux paramétrages DNS, puis créer la redirection locale (par exemple, `yunohost.local` renvoi sur `192.168.1.21`).
|
||||
|
||||
### Box SFR
|
||||
Si vous ne disposez toujours pas de l’adresse IP privée de votre serveur, vous pouvez la trouver sur l’interface de votre box SFR :
|
||||
|
@ -36,7 +36,7 @@ La modification du fichier hosts devrait être effectuée seulement si vous ne p
|
|||
- Sous Windows, vous trouverez le fichier hosts ici :
|
||||
`%SystemRoot%\system32\drivers\etc\`
|
||||
> Il est nécessaire d’afficher les fichiers cachés et systèmes pour voir le fichier hosts.
|
||||
- Sous les systèmes UNIX (GNU/Linux, Mac OS), vous le trouverez ici :
|
||||
- Sous les systèmes UNIX (GNU/Linux, macOS), vous le trouverez ici :
|
||||
`/etc/hosts`
|
||||
> Les droits root sont nécessaires pour modifier le fichier.
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ Cette page liste plusieurs types d’installations, classés par catégories.
|
|||
</div>
|
||||
|
||||
<div class="col col-md-3 text-center">
|
||||
<a href="/docker"><img src="/images/docker.png" height=150 style="vertical-align:bottom"><b><p>(Non-officiel!) Images docker</p></b></a>
|
||||
<a href="/docker"><img src="/images/docker.png" height=150 style="vertical-align:bottom"><b><p>(Non-officiel !) Images docker</p></b></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
|
||||
* Un ordenador compatible x86 dedicado a YunoHost : portátil, netbook, ordenador de escritorio. Puedes reutilizar calquiera máquina con **256 Mo de RAM mínimo**
|
||||
* Otro ordenador para examinar esta guía y acceder a tu servidor
|
||||
* Un [proveedor de Internet ético](/isp), de preferencia con acceso de buena velocidad (ascendente)
|
||||
* Un [proveedor de Internet ético](/isp), de preferencia con acceso de buena velocidad (ascendente)
|
||||
* Una **memoria USB** con capacidad mínima de 1Go **O** un **CD en blanco** estándar
|
||||
* ***Casos particulares*** : si tu servidor no tiene tarjeta gráfica, hay que preparar un iso que se inicie sobre el puerto de serie](https://github.com/luffah/debian-mkserialiso).
|
||||
* ***Casos particulares*** : si tu servidor no tiene tarjeta gráfica, hay que preparar un ISO que se inicie sobre el puerto de serie](https://github.com/luffah/debian-mkserialiso).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
* Un matériel compatible x86 dédié à YunoHost : portable, netbook, ordinateur. Vous pouvez réutiliser n’importe quelle machine avec **256 Mo de RAM minimum**
|
||||
* Un autre ordinateur pour parcourir ce guide et accéder à votre serveur
|
||||
* Un [fournisseur d’accès correct](/isp), de préférence avec une bonne vitesse de téléversement (débit montant)
|
||||
* Une **clé USB** d’une capacité minimum d’1Go **OU** un **CD vierge** standard
|
||||
* ***Cas particulier*** : Si votre serveur n'a pas de carte graphique, il faut [préparer un iso qui démarre sur le port série](https://github.com/luffah/debian-mkserialiso).
|
||||
* Une **clé USB** d’une capacité minimum d’1 Go **OU** un **CD vierge** standard
|
||||
* ***Cas particulier*** : Si votre serveur n'a pas de carte graphique, il faut [préparer un ISO qui démarre sur le port série](https://github.com/luffah/debian-mkserialiso).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
<img src="/images/nettop.jpg">
|
||||
|
||||
* Un computer con architettura x86: laptop, nettop, netbook, desktop.
|
||||
Puoi usare qualsiasi computer con minimo 256mb di ram**.
|
||||
Puoi usare qualsiasi computer con minimo 256 MB di ram**.
|
||||
* Un altro computer per leggere questa guida e per accedere al tuo server.
|
||||
* un [buon ISP](/isp), possibilmente con una banda illimitata.
|
||||
* una **chiavetta usb** da almeno 1gb **O** un classico **cd/dvd vuoto**
|
||||
* ***casi particolari*** : se il tuo server non ha una scheda video, [prepara l'iso per fare il boot con la porta seriale}(https://github.com/luffah/debian-mkserialiso).
|
||||
* una **chiavetta USB** da almeno 1 GO **O** un classico **CD/DVD vuoto**
|
||||
* ***casi particolari*** : se il tuo server non ha una scheda video, [prepara l'ISO per fare il boot con la porta seriale](https://github.com/luffah/debian-mkserialiso).
|
||||
|
||||
---
|
||||
|
||||
|
@ -30,8 +30,7 @@ Puoi usare qualsiasi computer con minimo 256mb di ram**.
|
|||
|
||||
---
|
||||
|
||||
To connect directly to your computer or with [SSH](/ssh) (only on local network:
|
||||
* User: **root**
|
||||
* Password: **yunohost**
|
||||
|
||||
|
||||
To connect directly to your computer or with [SSH](/ssh) (only on local network) :
|
||||
Per connettersi direttamente al computer o con [SSH](/ssh) (solo su rete locale) :
|
||||
* User : **root**
|
||||
* Password : **yunohost**
|
||||
|
|
|
@ -13,7 +13,7 @@ Before setting up a server at home, it is recommended that you know the [possibl
|
|||
|
||||
## Pre-requisites
|
||||
|
||||
- A Raspberry Pi 2, 3 or 4 (RPi 0 and 1 may work but require some tweaking ... see [this issue](https://github.com/YunoHost/issues/issues/1423)) ;
|
||||
- A Raspberry Pi 2, 3 or 4 (RPi 0 and 1 may work but require some tweaking... see [this issue](https://github.com/YunoHost/issues/issues/1423)) ;
|
||||
- An microSD card: **8GB** capacity (at least) and **Class 10** speed rate are highly recommended (like the [Transcend 300x](http://www.amazon.fr/Transcend-microSDHC-adaptateur-TS32GUSDU1E-Emballage/dp/B00CES44EO)) ;
|
||||
- A power supply (either an adapter or a MicroUSB cable)i ;
|
||||
- An ethernet cable (RJ-45) to connect your Raspberry Pi to your router. (Raspberry Pi Zero users can connect the Pi using an OTG cable, [Wifi dongle](https://core-electronics.com.au/tutorials/raspberry-pi-zerow-headless-wifi-setup.html).) ;
|
||||
|
@ -42,17 +42,17 @@ We do not recommend the manual installation because it is more technical and lon
|
|||
</div>
|
||||
|
||||
<div class="alert alert-warning" markdown="1">
|
||||
The latest Rasbpian images requires a screen and a keyboard, as it is no longer possible to connect directly to the Raspberry through SSH. Nevertheless it is possible to re-enable SSH at boot : before starting your Raspberry, put in the boot partition of the SD card an empty file named `ssh` (without extension).
|
||||
The latest Raspberry Pi OS images requires a screen and a keyboard, as it is no longer possible to connect directly to the Raspberry through SSH. Nevertheless it is possible to re-enable SSH at boot: before starting your Raspberry, put in the boot partition of the SD card an empty file named `ssh` (without extension).
|
||||
</div>
|
||||
|
||||
0. Install Raspbian Buster Lite on the SD card ([instructions](https://www.raspberrypi.org/downloads/raspbian/)). The Raspbian Buster Lite can be found here: https://downloads.raspberrypi.org/raspbian_lite/images/
|
||||
0. Install Raspberry Pi OS Lite on the SD card ([instructions](https://www.raspberrypi.org/downloads/raspberry-pi-os/)). The Raspberry Pi OS Lite can be found here: https://downloads.raspberrypi.org/raspbian_lite/images/
|
||||
|
||||
1. Connect to your Raspberry Pi with the user `pi`. Set the root password with
|
||||
```bash
|
||||
sudo passwd root
|
||||
```
|
||||
|
||||
2. Edit `/etc/ssh/sshd_config` to allow ssh login for root, by replacing `PermitRootLogin without-password` with `PermitRootLogin yes`. Reload the ssh daemon with `service ssh reload`.
|
||||
2. Edit `/etc/ssh/sshd_config` to allow SSH login for root, by replacing `PermitRootLogin without-password` with `PermitRootLogin yes`. Reload the SSH daemon with `service ssh reload`.
|
||||
|
||||
3. Disconnect and reconnect, this time as root.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Vor der Einrichtung eines Servers zuhause ist es empfehlenswert [mögliche Einsc
|
|||
## Voraussetzungen
|
||||
|
||||
- Einen Raspberry Pi 2, 3 oder 4 (RPi 0 and 1 may work but require some tweaking ... see [this issue](https://github.com/YunoHost/issues/issues/1423)) ;
|
||||
- Eine microSD Karte: **8GB** Speicherplatz (mindestens) und **Class 10** Geschwindigkeit werden empfohlen (wie zum Beispiel die [Transcend 300x](http://www.amazon.fr/Transcend-microSDHC-adaptateur-TS32GUSDU1E-Emballage/dp/B00CES44EO)) ;
|
||||
- Eine microSD Karte: **8 GB** Speicherplatz (mindestens) und **Class 10** Geschwindigkeit werden empfohlen (wie zum Beispiel die [Transcend 300x](http://www.amazon.fr/Transcend-microSDHC-adaptateur-TS32GUSDU1E-Emballage/dp/B00CES44EO)) ;
|
||||
- Ein Netzeil (entweder ein Steckernetzteil oder ein MicroUSB Kabel) ;
|
||||
- An Netzwerkkabel (RJ-45) um den Raspberry mit dem router zu verbinden. (Raspberry Pi Zero Nutzer können ein OTG Kabel nutzen, [Wifi dongle](https://core-electronics.com.au/tutorials/raspberry-pi-zerow-headless-wifi-setup.html).) ;
|
||||
- Einen [geeigneten Provider](/isp), am Besten einen mit einer guten upload Geschwindigkeit.
|
||||
|
@ -42,17 +42,17 @@ We do not recommend the manual installation because it is more technical and lon
|
|||
</div>
|
||||
|
||||
<div class="alert alert-warning" markdown="1">
|
||||
The latest Rasbpian images requires a screen and a keyboard, as it is no longer possible to connect directly to the Raspberry through SSH. Nevertheless it is possible to re-enable SSH at boot : before starting your Raspberry, put in the boot partition of the SD card an empty file named `ssh` (without extension).
|
||||
The latest Raspberry Pi OS Lite images requires a screen and a keyboard, as it is no longer possible to connect directly to the Raspberry through SSH. Nevertheless it is possible to re-enable SSH at boot: before starting your Raspberry, put in the boot partition of the SD card an empty file named `ssh` (without extension).
|
||||
</div>
|
||||
|
||||
0. Install Raspbian Buster Lite on the SD card ([instructions](https://www.raspberrypi.org/downloads/raspbian/)).
|
||||
0. Install Raspberry Pi OS Lite on the SD card ([instructions](https://www.raspberrypi.org/downloads/raspberry-pi-os/)).
|
||||
|
||||
1. Connect to your Raspberry Pi with the user `pi`. Set the root password with
|
||||
```bash
|
||||
sudo passwd root
|
||||
```
|
||||
|
||||
2. Edit `/etc/ssh/sshd_config` to allow ssh login for root, by replacing `PermitRootLogin without-password` with `PermitRootLogin yes`. Reload the ssh daemon with `service ssh reload`.
|
||||
2. Edit `/etc/ssh/sshd_config` to allow SSH login for root, by replacing `PermitRootLogin without-password` with `PermitRootLogin yes`. Reload the SSH daemon with `service ssh reload`.
|
||||
|
||||
3. Disconnect and reconnect, this time as root.
|
||||
|
||||
|
|
|
@ -42,12 +42,12 @@ No recomendamos la instalación manual porque es más técnica y más larga que
|
|||
</div>
|
||||
|
||||
<div class="alert alert-warning" markdown="1">
|
||||
Las últimas versiones de Raspbian necesitan una pantalla y un teclado porque ya no es posible conectarse directamente por SSH al Raspberry por defecto. Sin embargo, es posible reactivar el inicio de SSH al boot : solo hay que poner un archivo llamado `ssh` (vacío, sin extensión) en la partición boot de la tarjeta SD.
|
||||
Las últimas versiones de Raspberry Pi OS necesitan una pantalla y un teclado porque ya no es posible conectarse directamente por SSH al Raspberry por defecto. Sin embargo, es posible reactivar el inicio de SSH al boot : solo hay que poner un archivo llamado `ssh` (vacío, sin extensión) en la partición boot de la tarjeta SD.
|
||||
</div>
|
||||
|
||||
0. Instalar Raspbian Buster Lite ([instrucciones](https://www.raspberrypi.org/downloads/raspbian/)) en la tarjeta SD.
|
||||
0. Instalar Raspberry Pi OS Lite ([instrucciones](https://www.raspberrypi.org/downloads/raspberry-pi-os/)) en la tarjeta SD.
|
||||
|
||||
1. Conéctate con ssh al Raspberry Pi con el usuario pi. Define una contraseña root con
|
||||
1. Conéctate con SSHal Raspberry Pi con el usuario pi. Define una contraseña root con
|
||||
```bash
|
||||
sudo passwd root
|
||||
```
|
||||
|
|
|
@ -45,15 +45,15 @@ Nous déconseillons l'installation manuelle car elle est plus technique et plus
|
|||
Les dernières versions de Raspbian nécessitent un écran et un clavier, car il n'est plus possible de se connecter directement en SSH au Raspberry par défaut. Néanmoins, il est possible de réactiver le lancement de SSH au boot : il suffit de placer dans la partition boot de la carte SD un fichier nommé `ssh`, vide et sans extension.
|
||||
</div>
|
||||
|
||||
0. Installez Raspbian Buster Lite ([instructions](https://www.raspberrypi.org/downloads/raspbian/)) sur la carte SD.
|
||||
Le lien vers la Raspbian Buster Lite est ici: https://downloads.raspberrypi.org/raspbian_lite/images/
|
||||
0. Installez Raspberry Pi OS Lite ([instructions](https://www.raspberrypi.org/downloads/raspberry-pi-os/)) sur la carte SD.
|
||||
Le lien vers Raspberry Pi OS Lite est ici : https://downloads.raspberrypi.org/raspbian_lite/images/
|
||||
|
||||
1. Connectez-vous en ssh au Raspberry Pi avec l'utilisateur pi. Définissez un mot de passe root avec
|
||||
1. Connectez-vous en SSH au Raspberry Pi avec l'utilisateur pi. Définissez un mot de passe root avec
|
||||
```bash
|
||||
sudo passwd root
|
||||
```
|
||||
|
||||
2. Modifiez `/etc/ssh/sshd_config` pour autoriser root à se logger en ssh, en remplaçant `PermitRootLogin without-password` par `PermitRootLogin yes`. Rechargez le daemon ssh avec `service ssh reload`, puis re-connectez-vous en root.
|
||||
2. Modifiez `/etc/ssh/sshd_config` pour autoriser root à se logger en SSH, en remplaçant `PermitRootLogin without-password` par `PermitRootLogin yes`. Rechargez le daemon SSH avec `service ssh reload`, puis re-connectez-vous en root.
|
||||
|
||||
3. Déconnectez-vous et reconnectez-vous avec l'utilisateur root cette fois.
|
||||
|
||||
|
|
28
ssh.md
28
ssh.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
## What's SSH?
|
||||
|
||||
**SSH** stands for Secure Shell, and refers to a protocol that allows to remotly control a machine using the command line interface (CLI). It is available by default in any terminal on Linux and Mac OS / OSX. On Windows, you may want to use [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (after launching it, click on Session then SSH).
|
||||
**SSH** stands for Secure Shell, and refers to a protocol that allows to remotly control a machine using the command line interface (CLI). It is available by default in any terminal on GNU/Linux and macOS. On Windows, you may want to use [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (after launching it, click on Session then SSH).
|
||||
|
||||
## During YunoHost installation
|
||||
|
||||
|
@ -10,16 +10,16 @@
|
|||
|
||||
If you are installing on a VPS, then your VPS provider should have gave you your IP address.
|
||||
|
||||
If you are installing at home (e.g. on a Raspberry Pi or OLinuXino), then you need to find out which IP has been attributed to your board after you plugged it to your internet box / router. Several ways exists to find your server's IP :
|
||||
If you are installing at home (e.g. on a Raspberry Pi or OLinuXino), then you need to find out which IP has been attributed to your board after you plugged it to your internet box / router. Several ways exists to find your server's IP:
|
||||
|
||||
- open a terminal and use `sudo arp-scan --local` to list the IP on your local network ;
|
||||
- if the arp-scan command displays a confusing number of devices, you can check which ones are open to ssh with `nmap -p 22 192.168.1.0/24` to sort them out (adapt the IP range to your local network)
|
||||
- use your internet box / router interface to list the machines connected, or check the logs ;
|
||||
- open a terminal and use `sudo arp-scan --local` to list the IP on your local network;
|
||||
- if the arp-scan command displays a confusing number of devices, you can check which ones are open to SSH with `nmap -p 22 192.168.1.0/24` to sort them out (adapt the IP range to your local network)
|
||||
- use your internet box / router interface to list the machines connected, or check the logs;
|
||||
- plug a screen on your server, log in and type `hostname --all-ip-address`.
|
||||
|
||||
#### Connect
|
||||
|
||||
Assuming your IP address is `111.222.333.444`, open a terminal and enter :
|
||||
Assuming your IP address is `111.222.333.444`, open a terminal and enter:
|
||||
|
||||
```bash
|
||||
ssh root@111.222.333.444
|
||||
|
@ -35,15 +35,15 @@ Since YunoHost 3.4, after running the postinstallation, you won't be able to log
|
|||
|
||||
After logging in for the first time, you should change the root password. The server might automatically ask you to do so. If not, use the command `passwd`. It is important to choose a reasonably strong password. Note that the root password will be overriden by the admin password when you perform the postinstallation.
|
||||
|
||||
#### Let's configure !
|
||||
#### Let's configure!
|
||||
|
||||
We're now ready to begin the [post-installation](postinstall).
|
||||
|
||||
## After installing YunoHost
|
||||
|
||||
If you installed your server at home and are attempting to connect from outside your local network, make sure port 22 is correctly forwarded to your server. (Reminder : since YunoHost 3.4 you should connect using the `admin` user !)
|
||||
If you installed your server at home and are attempting to connect from outside your local network, make sure port 22 is correctly forwarded to your server. (Reminder: since YunoHost 3.4 you should connect using the `admin` user!)
|
||||
|
||||
If you only know the IP address of your server :
|
||||
If you only know the IP address of your server:
|
||||
|
||||
```bash
|
||||
ssh admin@111.222.333.444
|
||||
|
@ -51,7 +51,7 @@ ssh admin@111.222.333.444
|
|||
|
||||
Then, you need to enter your administrator password created at [post-installation step](postinstall).
|
||||
|
||||
If you configured your DNS (or tweaked your `/etc/hosts`), you can simply use your domain name :
|
||||
If you configured your DNS (or tweaked your `/etc/hosts`), you can simply use your domain name:
|
||||
|
||||
```bash
|
||||
ssh admin@your.domain.tld
|
||||
|
@ -69,7 +69,7 @@ If you are connected as `admin` and would like to become `root` for more comfort
|
|||
|
||||
## Which users?
|
||||
|
||||
By default, only the `admin` user can log in to YunoHost ssh server.
|
||||
By default, only the `admin` user can log in to YunoHost SSH server.
|
||||
|
||||
YunoHost's users created via the administration interface are managed by the LDAP directory. By default, they can't connect via SSH for security reasons. If you want some users to have SSH access enabled, use the command:
|
||||
|
||||
|
@ -77,13 +77,13 @@ YunoHost's users created via the administration interface are managed by the LDA
|
|||
yunohost user ssh allow <username>
|
||||
```
|
||||
|
||||
It is also possible to remove ssh access using the following:
|
||||
It is also possible to remove SSH access using the following:
|
||||
|
||||
```bash
|
||||
yunohost user ssh disallow <username>
|
||||
```
|
||||
|
||||
Finally, it is possible to add, delete and list ssh keys, to improve ssh access security, using the commands:
|
||||
Finally, it is possible to add, delete and list SSH keys, to improve SSH access security, using the commands:
|
||||
|
||||
```bash
|
||||
yunohost user ssh add-key <username> <key>
|
||||
|
@ -93,6 +93,6 @@ yunohost user ssh list-keys <username>
|
|||
|
||||
## Security and SSH
|
||||
|
||||
N.B. : `fail2ban` will ban your IP for 10 minutes if you perform 5 failed login attempts. If you need to unban the IP, have a look at the page about [fail2ban](/fail2ban)
|
||||
N.B. : `fail2ban` will ban your IP for 10 minutes if you perform 5 failed login attempts. If you need to unban the IP, have a look at the page about [Fail2Ban](/fail2ban)
|
||||
|
||||
A more extensive discussion about security & SSH can be found on the [dedicated page](/security).
|
||||
|
|
10
ssh_de.md
10
ssh_de.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Was ist SSH?
|
||||
|
||||
**SSH** steht für **S**ecure **Sh**ell, und bezeichnet ein Protokoll, dass es einem erlaubt über ein entferntes System auf die Kommandozeile (Command Line Interface, **CLI**) zuzugreifen. SSH ist standardmäßig auf jedem Terminal auf Linux oder Mac OS / OSX verfügbar. Für Windows ist Drittsoftware nötig, z.B. [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (Klicke nach dem Start auf Session und dann SSH).
|
||||
**SSH** steht für **S**ecure **Sh**ell, und bezeichnet ein Protokoll, dass es einem erlaubt über ein entferntes System auf die Kommandozeile (Command Line Interface, **CLI**) zuzugreifen. SSH ist standardmäßig auf jedem Terminal auf GNU/Linux oder macOS verfügbar. Für Windows ist Drittsoftware nötig, z.B. [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (Klicke nach dem Start auf Session und dann SSH).
|
||||
|
||||
## Während der YunoHost Installation
|
||||
|
||||
|
@ -68,7 +68,7 @@ If you are connected as `admin` and would like to become `root` for more comfort
|
|||
|
||||
## Which users?
|
||||
|
||||
By default, only the `admin` user can log in to YunoHost ssh server.
|
||||
By default, only the `admin` user can log in to YunoHost SSH server.
|
||||
|
||||
YunoHost's users created via the administration interface are managed by the LDAP directory. By default, they can't connect via SSH for security reasons. If you want some users to have SSH access enabled, use the command:
|
||||
|
||||
|
@ -76,13 +76,13 @@ YunoHost's users created via the administration interface are managed by the LDA
|
|||
yunohost user ssh allow <username>
|
||||
```
|
||||
|
||||
It is also possible to remove ssh access using the following:
|
||||
It is also possible to remove SSH access using the following:
|
||||
|
||||
```bash
|
||||
yunohost user ssh disallow <username>
|
||||
```
|
||||
|
||||
Finally, it is possible to add, delete and list ssh keys, to improve ssh access security, using the commands:
|
||||
Finally, it is possible to add, delete and list SSH keys, to improve SSH access security, using the commands:
|
||||
|
||||
```bash
|
||||
yunohost user ssh add-key <username> <key>
|
||||
|
@ -92,6 +92,6 @@ yunohost user ssh list-keys <username>
|
|||
|
||||
## Security and SSH
|
||||
|
||||
N.B. : `fail2ban` will ban your IP for 10 mimutes if you perform 5 failed login attempts. If you need to unban the IP, have a look at the page about [fail2ban](/fail2ban)
|
||||
N.B. : `fail2ban` will ban your IP for 10 mimutes if you perform 5 failed login attempts. If you need to unban the IP, have a look at the page about [Fail2Ban](/fail2ban)
|
||||
|
||||
A more extensive discussion about security & SSH can be found on the [dedicated page](/security).
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## ¿ Qué es SSH ?
|
||||
|
||||
**SSH** est un acrónimo por Secure Shell, y representa un protocolo que permite controlar remotamente una máquina vía la línea de comandos (CLI). También es un comando básico disponible en los terminales de Linux y MacOS / OSX. En Windows, hace falta utilizar el programa [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (después de haberlo iniciado, clicar sobre Session y luego SSH).
|
||||
**SSH** est un acrónimo por Secure Shell, y representa un protocolo que permite controlar remotamente una máquina vía la línea de comandos (CLI). También es un comando básico disponible en los terminales de GNU/Linux y macOS. En Windows, hace falta utilizar el programa [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (después de haberlo iniciado, clicar sobre Session y luego SSH).
|
||||
|
||||
## Durante la instalación de YunoHost
|
||||
|
||||
|
@ -86,6 +86,6 @@ yunohost user ssh list-keys <username>
|
|||
|
||||
## SSH y seguridad
|
||||
|
||||
N.B. : `fail2ban` proscribirá tu IP durante 10 minutos si fracasas más de 5 veces consecutivas en identificarte. Si esto ocurre y que quieres re-validar tu IP, puedes echar un vistazo a la página [fail2ban](/fail2ban)
|
||||
N.B. : `fail2ban` proscribirá tu IP durante 10 minutos si fracasas más de 5 veces consecutivas en identificarte. Si esto ocurre y que quieres re-validar tu IP, puedes echar un vistazo a la página [Fail2Ban](/fail2ban)
|
||||
|
||||
Encontrarás explicaciones más completa sobre la seguridad y SSH en [la página dedicada](/security).
|
||||
|
|
10
ssh_fr.md
10
ssh_fr.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Qu’est-ce que SSH ?
|
||||
|
||||
**SSH** est un acronyme pour Secure Shell, et désigne un protocole qui permet de contrôler à distance une machine via la ligne de commande (CLI). C'est aussi une commande disponible de base dans les terminaux de Linux et Mac OS / OSX. Sous Windows, il vous faudra utiliser le logiciel [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (après l'avoir lancé, cliquer sur Session puis SSH).
|
||||
**SSH** est un acronyme pour Secure Shell, et désigne un protocole qui permet de contrôler à distance une machine via la ligne de commande (CLI). C'est aussi une commande disponible de base dans les terminaux de GNU/Linux et macOS. Sous Windows, il vous faudra utiliser le logiciel [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (après l'avoir lancé, cliquer sur Session puis SSH).
|
||||
|
||||
## Pendant l’installation de YunoHost
|
||||
|
||||
|
@ -13,7 +13,7 @@ Si vous installez YunoHost sur un VPS, votre fournisseur devrait vous avoir comm
|
|||
Si vous installez un serveur à la maison (par ex. sur Raspberry Pi ou OLinuXino), il vous faut trouver l'IP qui a été attribuée à votre carte après que vous l'ayez connectée à votre box internet / routeur. Il y a plusieurs façons de faire cela :
|
||||
|
||||
- ouvrez un terminal et tapez `sudo arp-scan --local` pour lister les IP des machines sur le réseau local ;
|
||||
- si la commande arp-scan vous affiche beaucoup de machines, vous pouvez vérifier lesquelles sont ouvertes au ssh avec `nmap -p 22 192.168.1.0/24` pour faire du tri (adaptez la plage IP selon votre réseau local)
|
||||
- si la commande arp-scan vous affiche beaucoup de machines, vous pouvez vérifier lesquelles sont ouvertes au SSH avec `nmap -p 22 192.168.1.0/24` pour faire du tri (adaptez la plage IP selon votre réseau local)
|
||||
- utilisez l'interface de votre box internet pour lister les machines connectées, ou regarder les logs ;
|
||||
- branchez un écran sur votre serveur, loggez-vous et tapez `hostname --all-ip-address`.
|
||||
|
||||
|
@ -76,12 +76,12 @@ Les utilisateurs YunoHost créés via l'interface d'administration sont gérés
|
|||
yunohost user ssh allow <username>
|
||||
```
|
||||
|
||||
De même, il est possible de supprimer l'accès ssh à un utilisateur avec la commande :
|
||||
De même, il est possible de supprimer l'accès SSH à un utilisateur avec la commande :
|
||||
```bash
|
||||
yunohost user ssh disallow <username>
|
||||
```
|
||||
|
||||
Enfin, il est possible d'ajouter, de supprimer et de lister des clés ssh, pour améliorer la sécurité de l'accès ssh, avec les commandes :
|
||||
Enfin, il est possible d'ajouter, de supprimer et de lister des clés SSH, pour améliorer la sécurité de l'accès SSH, avec les commandes :
|
||||
```bash
|
||||
yunohost user ssh add-key <username> <key>
|
||||
yunohost user ssh remove-key <username> <key>
|
||||
|
@ -90,6 +90,6 @@ yunohost user ssh list-keys <username>
|
|||
|
||||
## SSH et sécurité
|
||||
|
||||
N.B. : `fail2ban` bannira votre IP pour 10 minutes si vous échouez plus de 5 fois à vous identifier. Pour débannir une IP, vous pouvez regarder la page sur [fail2ban](/fail2ban)
|
||||
N.B. : `fail2ban` bannira votre IP pour 10 minutes si vous échouez plus de 5 fois à vous identifier. Pour débannir une IP, vous pouvez regarder la page sur [Fail2Ban](/fail2ban)
|
||||
|
||||
Une discussion plus complète de la sécurité et de SSH peut être trouvée sur [la page dédiée](/security).
|
||||
|
|
10
ssh_it.md
10
ssh_it.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
## What's SSH?
|
||||
|
||||
**SSH** sta per Secure Shell, un protocollo che permette di controllare da remoto un computer usando l'interfaccia a linea di comando (command line interface, CLI in inglese). È disponibile di default in ogni emulazione di terminale su Linux e MacOS / OSX. Su Windows è possibile usare [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (dopo averlo avviato si deve cliccare su Session e poi SSH).
|
||||
**SSH** sta per Secure Shell, un protocollo che permette di controllare da remoto un computer usando l'interfaccia a linea di comando (command line interface, CLI in inglese). È disponibile di default in ogni emulazione di terminale su GNU/Linux e macOS. Su Windows è possibile usare [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (dopo averlo avviato si deve cliccare su Session e poi SSH).
|
||||
|
||||
## Durante l'installazione di YunoHost
|
||||
|
||||
|
@ -63,7 +63,7 @@ Se sei loggato come `admin` ma vuoi usare l'utente `root` per maggiore comodità
|
|||
|
||||
## Utenti abilitati
|
||||
|
||||
Di default solo l'utente `admin` può loggarsi al server ssh di YunoHost.
|
||||
Di default solo l'utente `admin` può loggarsi al server SSH di YunoHost.
|
||||
|
||||
Gli utenti creati dall'interfaccia di amministrazione sono gestiti dalla directory LDAP e di default non possono connettersi via SSH per ragioni di sicurezza. Se invece vuoi abilitare all'accesso SSH alcuni utenti usa il comando:
|
||||
|
||||
|
@ -71,13 +71,13 @@ Gli utenti creati dall'interfaccia di amministrazione sono gestiti dalla directo
|
|||
yunohost user ssh allow <username>
|
||||
```
|
||||
|
||||
È sempre possibile eliminare l'accesso ssh con il comando:
|
||||
È sempre possibile eliminare l'accesso SSH con il comando:
|
||||
|
||||
```bash
|
||||
yunohost user ssh disallow <username>
|
||||
```
|
||||
|
||||
Infine è possibile aggiungere, eliminare ed elencare le chiavi ssh, usate per migliorare la sicurezza degli accessi ssh con i comandi:
|
||||
Infine è possibile aggiungere, eliminare ed elencare le chiavi SSH, usate per migliorare la sicurezza degli accessi SSH con i comandi:
|
||||
|
||||
```bash
|
||||
yunohost user ssh add-key <username> <key>
|
||||
|
@ -87,6 +87,6 @@ yunohost user ssh list-keys <username>
|
|||
|
||||
## Sicurezza e SSH
|
||||
|
||||
N.B.: `fail2ban` bannerà il tuo IP per 10 minuti nel caso di almeno 5 tentativi di accesso falliti. Se devi togliere il ban al tuo IP leggi la pagina relativa [fail2ban](/fail2ban)
|
||||
N.B.: `fail2ban` bannerà il tuo IP per 10 minuti nel caso di almeno 5 tentativi di accesso falliti. Se devi togliere il ban al tuo IP leggi la pagina relativa [Fail2Ban](/fail2ban)
|
||||
|
||||
Una discussione più approfondita relativa a sicurezza & SSH è su [questa pagina](/security).
|
||||
|
|
Loading…
Add table
Reference in a new issue