paquetage LAMP [Réglé]

thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
Est ce que quelqu'un peut m'aider ? Merci.
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Loup Bleu Membre non connecté
-
- Voir le profil du membre Loup Bleu
- Inscrit le : 11/09/2009
- Groupes :
Je te conseille la lecture de ce wiki de chez mandriva, tu devrais y trouver toutes les réponses nécessaires au fonctionnement de ton LAMP, même si ça date un peu...
Bien sûr, on sera là pour compléter l'info, si besoin

ASUS X72J - CM K72JR - CG ATI RADEON HD5470 - Proc : intel quad-core i3 - OpenSuse Leap 15.1 - MAGEIA 7

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
comment as-tu installé LAMP ?
Logiquement, urpmi task-lamp t'installe tout ...
Caché :
[root@new-host-3 adrien]# urpmi task-lamp
Afin de satisfaire les dépendances de « php-gd », un des paquetages suivants est nécessaire :
1- php-gd-5.3.13-1.mga2.x86_64 : GD extension module for PHP (à installer)
2- php-gd-bundled-5.3.13-1.mga2.x86_64 : GD extension module for PHP (à installer)
Que choisissez-vous ? (1-2) 1
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
apache 2.2.22 12.mga2 x86_64
apache-mod_dav 2.2.22 12.mga2 x86_64 (conseillé)
apache-mod_perl 2.0.5 15.mga2 x86_64
apache-mod_php 5.3.13 1.mga2 x86_64
apache-mod_userdir 2.2.22 12.mga2 x86_64 (conseillé)
apache-mpm-prefork 2.2.22 12.mga2 x86_64
lib64c-client0 2007f 1.mga2 x86_64
lib64freetype2 1.3.1 40.mga2 x86_64
lib64mbfl1 1.1.0 6.mga2 x86_64 (conseillé)
lib64mcrypt4 2.5.8 12.mga2 x86_64
lib64onig2 5.9.2 2.mga1 x86_64 (conseillé)
lib64php5_common5 5.3.13 1.mga2 x86_64
lib64t1lib5 5.1.2 12.mga2 x86_64
libmcrypt 2.5.8 12.mga2 x86_64
mariadb 5.5.23 4.mga2 x86_64
mariadb-extra 5.5.23 4.mga2 x86_64 (conseillé)
perl-DBD-mysql 4.20.0 2.mga2 x86_64
perl-Linux-Pid 0.40.0 1.mga2 x86_64
php-cli 5.3.13 1.mga2 x86_64
php-ctype 5.3.13 1.mga2 x86_64
php-dom 5.3.13 1.mga2 x86_64
php-eaccelerator 0.9.6.1 10.mga2 x86_64
php-eaccelerator-admin 0.9.6.1 10.mga2 x86_64
php-filter 5.3.13 1.mga2 x86_64
php-ftp 5.3.13 1.mga2 x86_64
php-gd 5.3.13 1.mga2 x86_64
php-gettext 5.3.13 1.mga2 x86_64
php-hash 5.3.13 1.mga2 x86_64
php-imap 5.3.13 1.mga2 x86_64
php-ini 5.3.13 1.mga2 x86_64
php-json 5.3.13 1.mga2 x86_64
php-mbstring 5.3.13 1.mga2 x86_64 (conseillé)
php-mcrypt 5.3.13 1.mga2 x86_64
php-mysql 5.3.13 1.mga2 x86_64
php-openssl 5.3.13 1.mga2 x86_64
php-pdo 5.3.13 1.mga2 x86_64
php-pear 1.9.4 3.mga2 noarch
php-posix 5.3.13 1.mga2 x86_64
php-session 5.3.13 1.mga2 x86_64
php-sqlite3 5.3.13 1.mga2 x86_64
php-suhosin 0.9.33 6.mga2 x86_64 (conseillé)
php-sysvsem 5.3.13 1.mga2 x86_64
php-sysvshm 5.3.13 1.mga2 x86_64
php-timezonedb 2012.3 1.mga2 x86_64
php-tokenizer 5.3.13 1.mga2 x86_64
php-xml 5.3.13 1.mga2 x86_64
php-xmlreader 5.3.13 1.mga2 x86_64
php-xmlwriter 5.3.13 1.mga2 x86_64
php-zlib 5.3.13 1.mga2 x86_64
phpmyadmin 3.5.1 1.mga2 noarch (conseillé)
proftpd 1.3.3g 1.mga2 x86_64 (conseillé)
t1lib-config 5.1.2 12.mga2 x86_64
task-lamp-extras 1 4.mga2 noarch (conseillé)
task-lamp-perl 1 4.mga2 noarch
task-lamp-php 1 4.mga2 noarch
webserver-base 2.0 2.mga2 x86_64
(média « Core 32bit Release »)
task-lamp 1 4.mga2 noarch
un espace additionnel de 41Mo sera utilisé.
10Mo de paquets seront récupérés.
Procéder à l'installation des 57 paquetages ? (O/n) o
Afin de satisfaire les dépendances de « php-gd », un des paquetages suivants est nécessaire :
1- php-gd-5.3.13-1.mga2.x86_64 : GD extension module for PHP (à installer)
2- php-gd-bundled-5.3.13-1.mga2.x86_64 : GD extension module for PHP (à installer)
Que choisissez-vous ? (1-2) 1
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
apache 2.2.22 12.mga2 x86_64
apache-mod_dav 2.2.22 12.mga2 x86_64 (conseillé)
apache-mod_perl 2.0.5 15.mga2 x86_64
apache-mod_php 5.3.13 1.mga2 x86_64
apache-mod_userdir 2.2.22 12.mga2 x86_64 (conseillé)
apache-mpm-prefork 2.2.22 12.mga2 x86_64
lib64c-client0 2007f 1.mga2 x86_64
lib64freetype2 1.3.1 40.mga2 x86_64
lib64mbfl1 1.1.0 6.mga2 x86_64 (conseillé)
lib64mcrypt4 2.5.8 12.mga2 x86_64
lib64onig2 5.9.2 2.mga1 x86_64 (conseillé)
lib64php5_common5 5.3.13 1.mga2 x86_64
lib64t1lib5 5.1.2 12.mga2 x86_64
libmcrypt 2.5.8 12.mga2 x86_64
mariadb 5.5.23 4.mga2 x86_64
mariadb-extra 5.5.23 4.mga2 x86_64 (conseillé)
perl-DBD-mysql 4.20.0 2.mga2 x86_64
perl-Linux-Pid 0.40.0 1.mga2 x86_64
php-cli 5.3.13 1.mga2 x86_64
php-ctype 5.3.13 1.mga2 x86_64
php-dom 5.3.13 1.mga2 x86_64
php-eaccelerator 0.9.6.1 10.mga2 x86_64
php-eaccelerator-admin 0.9.6.1 10.mga2 x86_64
php-filter 5.3.13 1.mga2 x86_64
php-ftp 5.3.13 1.mga2 x86_64
php-gd 5.3.13 1.mga2 x86_64
php-gettext 5.3.13 1.mga2 x86_64
php-hash 5.3.13 1.mga2 x86_64
php-imap 5.3.13 1.mga2 x86_64
php-ini 5.3.13 1.mga2 x86_64
php-json 5.3.13 1.mga2 x86_64
php-mbstring 5.3.13 1.mga2 x86_64 (conseillé)
php-mcrypt 5.3.13 1.mga2 x86_64
php-mysql 5.3.13 1.mga2 x86_64
php-openssl 5.3.13 1.mga2 x86_64
php-pdo 5.3.13 1.mga2 x86_64
php-pear 1.9.4 3.mga2 noarch
php-posix 5.3.13 1.mga2 x86_64
php-session 5.3.13 1.mga2 x86_64
php-sqlite3 5.3.13 1.mga2 x86_64
php-suhosin 0.9.33 6.mga2 x86_64 (conseillé)
php-sysvsem 5.3.13 1.mga2 x86_64
php-sysvshm 5.3.13 1.mga2 x86_64
php-timezonedb 2012.3 1.mga2 x86_64
php-tokenizer 5.3.13 1.mga2 x86_64
php-xml 5.3.13 1.mga2 x86_64
php-xmlreader 5.3.13 1.mga2 x86_64
php-xmlwriter 5.3.13 1.mga2 x86_64
php-zlib 5.3.13 1.mga2 x86_64
phpmyadmin 3.5.1 1.mga2 noarch (conseillé)
proftpd 1.3.3g 1.mga2 x86_64 (conseillé)
t1lib-config 5.1.2 12.mga2 x86_64
task-lamp-extras 1 4.mga2 noarch (conseillé)
task-lamp-perl 1 4.mga2 noarch
task-lamp-php 1 4.mga2 noarch
webserver-base 2.0 2.mga2 x86_64
(média « Core 32bit Release »)
task-lamp 1 4.mga2 noarch
un espace additionnel de 41Mo sera utilisé.
10Mo de paquets seront récupérés.
Procéder à l'installation des 57 paquetages ? (O/n) o
Je viens d'en tester l'installation et http://127.0.0.1 me donne bien "It Works!"
Que donne la commande service httpd status ?
A+
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
Voici la réponse à la commande:
Code BASH :
# service httpd status httpd.service - LSB: The Apache Web Server. Loaded: loaded (/etc/rc.d/init.d/httpd) Active: inactive (dead) CGroup: name=systemd:/system/httpd.service Use /etc/init.d/httpd extendedstatus for more information.
Code BASH :
# service httpd start Starting httpd (via systemctl): [ OK ]
Code BASH :
# service httpd status httpd.service - LSB: The Apache Web Server. Loaded: loaded (/etc/rc.d/init.d/httpd) Active: active (running) since Wed, 30 May 2012 08:07:55 +0200; 7s ago Process: 5813 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS) Main PID: 6020 (/usr/sbin/httpd) CGroup: name=systemd:/system/httpd.service ├ 6020 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6027 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6028 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6029 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6030 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6031 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6032 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... ├ 6033 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... └ 6034 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_... May 30 08:07:52 localhost httpd[5813]: Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0....erverName May 30 08:07:53 localhost httpd[5813]: [ OK ] Use /etc/init.d/httpd extendedstatus for more information.
En fait ce matin après reboot, je découvre httpd dans les services. J'ai juste coché la case qui permet le démarrage automatique.
Merci de votre aide.
Édité par thierryR Le 30/05/2012 à 08h12
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Néanmoins, je crois que httpd se lance par défaut, que tu sois en init 3 ou 5

Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !

Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie