|
1 2 3 4 5 6 7 8 9 |
wget http://fr.wordpress.org/latest-fr_FR.tar.gz tar xfz latest-fr_FR.tar.gz mv wordpress/* ./ rm latest-fr_FR.tar.gz rmdir wordpress |
|
1 2 3 4 5 6 7 8 9 |
wget http://fr.wordpress.org/latest-fr_FR.tar.gz tar xfz latest-fr_FR.tar.gz mv wordpress/* ./ rm latest-fr_FR.tar.gz rmdir wordpress |
|
1 |
mysql -u root -p |
|
1 2 3 4 5 6 7 |
CREATE DATABASE [nom_de_la_base]; CREATE USER "[nom_utilisateur]"@"localhost"; SET password FOR "[nom_utilisateur]"@"localhost" = password('[mot_de_passe]'); GRANT ALL ON[nom_de_la_base].* TO "[nom_utilisateur]"@"localhost"; |
|
1 |
addgroup ftpuser |
|
1 |
nano /etc/proftpd/proftpd.conf |
Désactiver le DefaultRoot initial
|
1 |
#DefaultRoot ~ |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
RequireValidShell off DefaultRoot ~ ftpuser DenyGroup !ftpuser |
|
1 2 3 |
useradd [identifiant] -d [dossier_racine] -s /bin/false -m passwd [identifiant] |
Exemple:
|
1 |
useradd cyril -d /var/www/cyril -s /bin/false -m |
|
1 |
adduser [identifiant] ftpuser |
|
1 |
service proftpd restart |