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 16/09/2010, à 20:09

nour_al_imen

Problème installation Apache 2.2.16 [Résolu]

[Bonjour,
Est ce quelqu'un peut m'aider? Je viens de suivre les instructions ci dessous pour installer apache mais en éxcutant la dernière commande il m'affiche :

N@Nour-al-imen-laptop:~$ /usr/local/apache2/bin/apachectl -k start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open log

Téléchargement       $ lynx http://httpd.apache.org/download.cgi
Extraction                 $ gzip -d httpd-NN.tar.gz
                                $ tar xvf httpd-NN.tar
                                $ cd httpd-NN
Configuration            $ ./configure --prefix=PREFIX
Compilation                    $ make
Installation                    $ make install
Personnalisation            $ vi PREFIX/conf/httpd.conf
Test                            $ PREFIX/bin/apachectl -k start
NN doit être remplacé par le numéro de version courant, et PREFIX par le chemin du répertoire d'installation. Si PREFIX n'est pas spécifié, le chemin du répertoire d'installation prendra sa valeur par défaut, à savoir /usr/local/apache2.

Je suis plutôt débutante !!! sad
Merci

Dernière modification par nour_al_imen (Le 12/06/2012, à 21:00)


BETTAIEB Imen  --  Coach Agile
Membre du LoCo Team Ubuntu-Tn (communauté approuvée des utilisateurs de Ubuntu en Tunisie)
https://www.linkedin.com/in/bettaieb/

Hors ligne

#2 Le 17/09/2010, à 13:58

synapse

Re : Problème installation Apache 2.2.16 [Résolu]

Bonjour,

    Au cas ou, il y a un moyen très simple d'installer Apache :

# sudo aptitude install apache2    wink

Sinon, essai de mettre "sudo" en début de commande pour lancer apache en tant que "root".

# sudo /usr/local/apache2/bin/apachectl -k start

-> apache ouvre le port 80. Tous les ports inférieurs à 1024 nécessitent des droits spéciaux.

Hors ligne

#3 Le 21/09/2010, à 19:27

nour_al_imen

Re : Problème installation Apache 2.2.16 [Résolu]

Merci synapse, je vais essayer tes recommandations


BETTAIEB Imen  --  Coach Agile
Membre du LoCo Team Ubuntu-Tn (communauté approuvée des utilisateurs de Ubuntu en Tunisie)
https://www.linkedin.com/in/bettaieb/

Hors ligne

#4 Le 28/10/2010, à 12:25

nour_al_imen

Re : Problème installation Apache 2.2.16 [Résolu]

En faites pour ceux qui les intéressent il fallait avoir effectivement les privilèges du super utilisateur donc pour moi j'ai écrit la commande
su et j'ai entré mon mot de passe et voilà le tour est joué.


BETTAIEB Imen  --  Coach Agile
Membre du LoCo Team Ubuntu-Tn (communauté approuvée des utilisateurs de Ubuntu en Tunisie)
https://www.linkedin.com/in/bettaieb/

Hors ligne

#5 Le 12/06/2012, à 20:47

Arnold59

Re : Problème installation Apache 2.2.16 [Résolu]

Bonjour,

Installation de Apache version 2.4.2 sous Linux Ubuntu 12.04 :

/usr/local/httpd-2.4.2# ./configure

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... no
configure: error: APR not found.  Please read the documentation.

Erreur lors de l'installation, que dois-je faire pour installer Apache & PHP.

D'avance merci.

Hors ligne

#6 Le 12/06/2012, à 21:01

nour_al_imen

Re : Problème installation Apache 2.2.16 [Résolu]

Il est préférable d'ouvrir un nouveau thread.
J'ai trouvé cette réponse sur le net et je n'ai pas le temps de traduire.


When it tells you Please read documentation it means that you should go read Apache documentation ( http://httpd.apache.org/docs/2.4/install.html ) which tells you to

download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the domain names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/)

then do

./configure --with-included-apr


BETTAIEB Imen  --  Coach Agile
Membre du LoCo Team Ubuntu-Tn (communauté approuvée des utilisateurs de Ubuntu en Tunisie)
https://www.linkedin.com/in/bettaieb/

Hors ligne

#7 Le 12/06/2012, à 22:46

Arnold59

Re : Problème installation Apache 2.2.16 [Résolu]

Merci,

Je vais tester cela.
La version 2.4.2 demande cette option supplémentaire par rapport à la version httpd-2.2.22.

Pour la version Apache 2.4.2 il faut ajouter l'option APR :
./configure --with-included-apr

./configure --prefix=/usr/local/httpd-2.4.2 --with-included-apr

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.

Je continue la recherche

Dernière modification par Arnold59 (Le 12/06/2012, à 22:50)

Hors ligne