FTP » Historique » Version 4
Patrice Nadeau, 2014-08-23 17:01
| 1 | 1 | Patrice Nadeau | %{font-size:18pt}FTP% |
|---|---|---|---|
| 2 | |||
| 3 | ---- |
||
| 4 | |||
| 5 | {{toc}} |
||
| 6 | |||
| 7 | Serveur de fichier FTP(File Transfer Protocol) |
||
| 8 | |||
| 9 | 3 | Patrice Nadeau | Le logiciel _Pure-FTPd_ est celui choisi. |
| 10 | 1 | Patrice Nadeau | |
| 11 | 4 | Patrice Nadeau | Pure-FTPd place ses fichiers dans : |
| 12 | * _/srv/ftp/_ : « root » de la structure FTP |
||
| 13 | * _/etc/pure-ftpd/pure-ftpd.conf_ : fichier de configuration |
||
| 14 | * _/etc/pure-ftpd/vhosts/_ : répertoire contenant les configuration des serveurs virtuels |
||
| 15 | 2 | Patrice Nadeau | |
| 16 | 1 | Patrice Nadeau | h1. Installation |
| 17 | |||
| 18 | En tant que _root_ : |
||
| 19 | <pre><code class="bash"> |
||
| 20 | # Installation |
||
| 21 | zypper install pure-ftpd |
||
| 22 | # Active le démarrage automatique |
||
| 23 | systemctl enable pure-ftpd |
||
| 24 | # Démarrage |
||
| 25 | systemctl start pure-ftpd |
||
| 26 | # Ouvrir le pare-feu |
||
| 27 | yast firewall services add service=service:pure-ftpd zone=EXT |
||
| 28 | </code></pre> |
||
| 29 | |||
| 30 | 4 | Patrice Nadeau | h1. Configuration |
| 31 | 1 | Patrice Nadeau | |
| 32 | 2 | Patrice Nadeau | Par défaut |
| 33 | 1 | Patrice Nadeau | * 10 utilisateurs peuvent être branchés en même temps |
| 34 | 2 | Patrice Nadeau | * l'usager _anonymous_ peut lire le contenu du dossier |