Installer drupal 8 sur Debian 9

Bonjour,

Je voudrais installer drupal 8 sur ma debian 9 pour développement.

Dans le point 4 de https://www.howtoforge.com/tutorial/how-to-install-and-configure-drupal-on-debian-9/

il est écrit :
"
Next, you will need to create an Apache virtual host file for drupal. To do so, create a new drupal.conf file inside /etc/apache2/sites-available/ directory:

sudo nano /etc/apache2/sites-available/drupal.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/drupal
ServerName 192.168.15.189
ServerAlias www.example.com
<<Directory "/var/www/html/drupal/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/drupal-error_log
CustomLog /var/log/apache2/drupal-access_log common
</VirtualHost>

"
Si je comprends bien - vu que je veux installer sur ma machine pour développement - je dois remplacer :

ServerName 192.168.15.189
ServerAlias www.example.com
par :
ServerName 127.0.0.1
ServerAlias localhost

Est-ce correct ?

Merci

tu peux te créer un nom local,
dans ton fichier hosts tu met

127.0.0.1 drupal

et ensuite dans ton fichier de conf apache tu peux mettre

ServerName drupal
ServerAlias drupal

et si tu prends ton navigateur sur ton réseau local tu tapes

http://drupal

tu vas tomber sur ton cms