Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/07/2018, à 06:54

pif78

Localhost ne se fait pas après installation des paquets Ubuntu 18 Scw

Bonjour,

Je viens d'acquérir une START-1-S chez Scaleway.

J'ai installé un serveur PRO FTPD.

J'ai suivi la doc LAMP d'Ubuntu https://doc.ubuntu-fr.org/apache2 mais je bloque directement après l'installation des paquets


***apt install libapache2-mod-php mysql-server php-mysql

apt install php-curl php-gd php-intl php-json php-mbstring php-xml php-zip

Une fois les paquets installés, ouvrez un des liens suivants dans votre navigateur :

http://127.0.0.1/
http://localhost***

Quand je tape http://127.0.0.1/ ou http://localhost sur ma machine j'ai "No such file or directory"

Ai-je oublié une étape? La partie DNS peut-être?

J'ai bien le fichier index.html dans /var/www/html

Merci d'avance !

PS : Je débute, je suis un noob.

Hors ligne

#2 Le 14/07/2018, à 07:24

pif78

Re : Localhost ne se fait pas après installation des paquets Ubuntu 18 Scw

Pourtant voici le statut d'Apache2 bien actif par contre je lis une phrase à la fin que je capte pas trop

"Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive global…ss this message"

root@scw-19d645:/#  /etc/init.d/apache2 status
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Sat 2018-07-14 07:56:22 CEST; 21min ago
  Process: 13394 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
  Process: 13400 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
 Main PID: 13415 (apache2)
    Tasks: 6 (limit: 2296)
   CGroup: /system.slice/apache2.service
           ├─13415 /usr/sbin/apache2 -k start
           ├─13420 /usr/sbin/apache2 -k start
           ├─13421 /usr/sbin/apache2 -k start
           ├─13422 /usr/sbin/apache2 -k start
           ├─13423 /usr/sbin/apache2 -k start
           └─13424 /usr/sbin/apache2 -k start

Jul 14 07:56:22 scw-19d645 systemd[1]: Starting The Apache HTTP Server...
Jul 14 07:56:22 scw-19d645 apachectl[13400]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive global…ss this message
Jul 14 07:56:22 scw-19d645 systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.

Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 14/07/2018, à 16:55)

Hors ligne

#3 Le 14/07/2018, à 10:37

pif78

Re : Localhost ne se fait pas après installation des paquets Ubuntu 18 Scw

C'est bon ca fonctionne, je suis juste un noob...

Hors ligne