[Ubuntu-cat] Instalació LAMP en Ubuntu 16.04

Joan Carles palimsesto a gmail.com
dim ago 29 18:12:23 UTC 2017


El 29/08/17 a les 15:21, Joan Carles ha escrit:
> Hola!
> Comente com abans...
>
>  29/08/17 a les 13:49, Miki ha escrit:
>> mmm, buscant per google diu que:
>>
>> The installation should switch from event MPM to prefork MPM 
>> automatically, but if it doesn't, you can switch it manually by doing |
>>
>> sudo a2dismod mpm_event|
>
> |palimsesto a palimsesto-GA-MA770-UD3:~$ sudo a2dismod mpm_event
> [sudo] contrasenya per a palimsesto:
> Module mpm_event disabled.
> To activate the new configuration, you need to run:
>   service apache2 restart
> palimsesto a palimsesto-GA-MA770-UD3:~$ service apache2 restart
> Job for apache2.service failed because the control process exited with 
> error code. See "systemctl status apache2.service" and "journalctl 
> -xe" for details.
> |
>>
>>  followed by
>>
>> |sudo a2enmod mpm_prefork|.
>
> palimsesto a palimsesto-GA-MA770-UD3:~$ sudo a2enmod mpm_prefork
> Considering conflict mpm_event for mpm_prefork:
> Considering conflict mpm_worker for mpm_prefork:
> Enabling module mpm_prefork.
> To activate the new configuration, you need to run:
>   service apache2 restart
> palimsesto a palimsesto-GA-MA770-UD3:~$ service apache2 restart
> palimsesto a palimsesto-GA-MA770-UD3:~$
>
>>
>> i després tornes a fer el configtest i si tot ok reinicies l'apache
> palimsesto a palimsesto-GA-MA770-UD3:~$ sudo apachectl configtest
> AH00558: apache2: Could not reliably determine the server's fully 
> qualified domain name, using 127.0.1.1. Set the 'ServerName' directive 
> globally to suppress this message
> Syntax OK
> palimsesto a palimsesto-GA-MA770-UD3:~$
>
> Reinicie Apache
>
> palimsesto a palimsesto-GA-MA770-UD3:~$ service apache2 restart
> palimsesto a palimsesto-GA-MA770-UD3:~$
>
> Llavors fins aquí, en quin punt em trobe? Sí puc llegir els .php en 
> localhost perfectament, que abans no podia.
> Continue instalant Lamp pel servidor local? no cal  ja? Per on he de 
> continuar?
> Puc passar a instalar Wordpress?.
> Si pots orientar-me una mica. El motiu de tot això era tindre Lamp 
> instal.lat per posar Wordpress, però amb tot els errors que m'han 
> aparegut no se per on continuar.
> Ja em dius quan pugues.
>
> Salutacions i gràcies.
>>
>>
>> -- 
>>
>>     Salutacions,
>>
>>     Joan Carles
>>     Usuari GNU/Linux #324197#
>>     http://counter.li.org/
>>
>>
>>     --
>>     Ubuntu-cat mailing list
>>     Ubuntu-cat a lists.ubuntu.com <mailto:Ubuntu-cat a lists.ubuntu.com>
>>     Modify settings or unsubscribe at:
>>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-cat
>>     <https://lists.ubuntu.com/mailman/listinfo/ubuntu-cat>
>>
>>
>>
>>

Hola!

Doncs no se si puc continuar endavant.
He fet un:

sudo apt update && sudo apt upgrade

però en l'actualització de tot, fins i tot headers, image, aplicacions...

ha aparegut errors:

S'està configurant mysql-server-5.7 (5.7.19-0ubuntu0.16.04.1)…
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such 
file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips 
on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: s'ha produït un error en processar el paquet mysql-server-5.7 
(--configure):
  el subprocés s'ha instal·lat el script post-installation retornà el 
codi d'eixida d'error 1
dpkg: problemes de dependències impedeixen la configuració de mysql-server:
  mysql-server depèn de mysql-server-5.7; tot i així:
   El paquet mysql-server-5.7 encara no està configurat.

dpkg: s'ha produït un error en processar el paquet mysql-server 
(--configure):
  problemes de dependències - es deixa sense configurar
No s'ha escrit cap informe perquè el missatge d'error indica que és un 
error consequent de una fallida anterior.

....
S'han trobat errors en processar:
  mysql-server-5.7
  mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)



Com es pot solventar això?



>
> -- 
> Salutacions,
>
> Joan Carles
> Usuari GNU/Linux #324197#
> http://counter.li.org/
>

-- 
Salutacions,

Joan Carles
Usuari GNU/Linux #324197#
http://counter.li.org/

-------------- part següent --------------
Un document HTML ha estat eliminat...
URL: <https://lists.ubuntu.com/archives/ubuntu-cat/attachments/20170829/d16a4e68/attachment.html>


Més informació sobre la llista de correu Ubuntu-cat