X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 3C28CF816FB for ; Tue, 5 Mar 2019 12:03:41 +0000 (UTC) Received: by mail-io1-f54.google.com with SMTP id y13so6807661iop.11 for ; Tue, 05 Mar 2019 04:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HxtQFY1Un+3fxCo9kijeIakI6rEyTS1BbS4UQsKjOlc=; b=UVW4vg9cWqaINW4BefiFv4J78+50U2d/cLhKvTY1svjvYEXEk1nRiOcvx78i+mwpM7 W1q77UkrdnbV9xsjr2HmSkSBWTw3K31hvi4IZCQ+mohqDFbQ0fIxwYOl2WBpYnLa4L2V SomR572ZfBef1Tca1Ve7DbgwFuhqzqn2OANzfLJKetJK3bysuXQzM18KItS4RE9YZpXR 9f85/PfrA+QgXvFMuG2JYJuDJFpNv8NQDNwMD42QaeHjEX42edd8VgE1rB9ZEG8q9XAt 4ooUj/qIMF2uOvEdMqjBSljbO6VOTOGb7FbIBiwexiQOKcLKp8oNOV+uGYLSJ6Q90YM4 zx/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HxtQFY1Un+3fxCo9kijeIakI6rEyTS1BbS4UQsKjOlc=; b=VAAIfWyWApZYN3PU7jjZo84c3VNz7ASz4pAP6BrMolRlYA37xz2vIpCDSiGRr69RsO SybRfocspYwUJAbOCgK1nk75kFOdPVES/WHqaZ43RGJCKKq1mfvUycWEBu/lLEK0dfyw ylETP8HmZLcrKpsHfpsIxeMc/PvKDt58xzMs+4YDj7EVhpvXcrP2hXOeK52y0SLWuO6k c/cEE4XAaYGqA1IqKFGSafsZirFknshnlKK1pjNH6dbeHMjcWO9br6F0mSU8Wcyf6mGp KEbNm0T+nJkcou2SLVRoIzxratQ/dP6zZMhX3TClbTc+c2CWujS98+wU/WXcaGKAKLSG OAkw== X-Gm-Message-State: APjAAAUuICQ18vK93O5mJF1a3OMmtL4grc4h3lyKjALhF3oX91a623L8 6z8GwwVw0AQ5rIQH7Lt382RBYr4pfRJ8R7nbqKo39eXm8oM= X-Google-Smtp-Source: APXvYqyp0M4GqJ4UfmgbN6+sOx/DCGvOhmjHET/Gxqvs6SLkIkN+Sk8WQMa3UWLfORrn4mZkENiO9wa80Trb/OcmjEU= X-Received: by 2002:a6b:f816:: with SMTP id o22mr5683025ioh.196.1551787420555; Tue, 05 Mar 2019 04:03:40 -0800 (PST) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190304083832.GB25800@marco.lxc> <20190305083608.GA3227@marco.lxc> In-Reply-To: <20190305083608.GA3227@marco.lxc> From: PICCORO McKAY Lenz Date: Tue, 5 Mar 2019 08:03:29 -0400 Message-ID: Subject: Re: [alpine-user] LAMP setup To: alpine-user Content-Type: multipart/alternative; boundary="000000000000f8200d058357a938" --000000000000f8200d058357a938 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mar., 5 de mar. de 2019 a la(s) 04:36, Marco Dickert ( marco@misterunknown.de) escribi=C3=B3: > On 2019-03-04 12:32:47, PICCORO McKAY Lenz wrote: > > not! > I just tried it on my local alpine edge machine. It works. > > /etc/apache2/conf.d/ are deprecated! > At least the alpine default configuration includes it... > deprecated means that works for a while.. later does noT > > also there's no need to change ownershiop of the conf file.. > Changing the group would be sufficient, but /etc/phpmyadmin is not > readable by > others, because it may contain server credentials. So I guess it would be > better > to change the postinstall hint to: > $ chgrp -R apache /etc/phpmyadmin > $ chmod -R g+w /etc/phpmyadmin > that's better but i prefer admins must know what must be done manually > > > system must own the changes and users only must "use" ... the "apache" > user > > must not have access to system files, that are a security misctake > inherits > > from "muti-vendor" sites how to.. > > > > 2019-03-04 4:08 GMT-04:30, Marco Dickert : > > > On 2019-03-02 21:14:25, PICCORO McKAY Lenz wrote: > > >> ummm sorry but there-s too much differences beetween winbutu to alpi= ne > > >> > > >> if you apt instal apache phpmyadmin > > >> in winbutnu quickly you have inmmediatelly at localhost/phpmyadmin t= he > > >> result > > >> > > >> in apine not all are like that! > > > > > > Well, I understand your point, but you choose a very bad example to > argue: > > > > > > $ apk add apache2 php7-apache2 phpmyadmin > > > [...] > > > * If you use apache2: > > > * 1) Change the ownership of the config directory: > > > * chown -R apache:apache /etc/phpmyadmin > > > * 2) See if you need to modify the apache2 config: > > > * /etc/apache2/conf.d/phpmyadmin.conf > > > * 3) Restart apache2 when done. > > > * > > > OK: 524 MiB in 321 packages > > > $ chown -R apache:apache /etc/phpmyadmin > > > $ /etc/init.d/apache2 restart > > > > > > This works instantly^^ > > > > > > Cheers, > > > Marco > > > -- > > > Marco Dickert > > > marco@misterunknown.de > > > https://misterunknown.de > > > > > > > > > -- > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > -- > Marco Dickert > marco@misterunknown.de > https://misterunknown.de > --000000000000f8200d058357a938 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
El mar., 5 de mar. de 2019 a la(s) 04:36, Marco Dic= kert (marco@misterunknown.de)= escribi=C3=B3:
= On 2019-03-04 12:32:47, PICCORO McKAY Lenz wrote:
> not!
I just tried it on my local alpine edge machine. It works.
> /etc/apache2/conf.d/ are deprecated!
At least the alpine default configuration includes it...

deprecated means that works for a while.. later does noT
=C2=A0<= br>
> also there's no need to change ownershiop of the conf file..
Changing the group would be sufficient, but /etc/phpmyadmin is not readable= by
others, because it may contain server credentials. So I guess it would be b= etter
to change the postinstall hint to:
$ chgrp -R apache /etc/phpmyadmin
$ chmod -R g+w /etc/phpmyadmin

that'= ;s better but i prefer admins must know what must be done manually
=C2=A0

> system must own the changes and users only must "use" ... th= e "apache" user
> must not have access to system files, that are a security misctake inh= erits
> from "muti-vendor" sites how to..
>
> 2019-03-04 4:08 GMT-04:30, Marco Dickert <marco@misterunknown.de>:
> > On 2019-03-02 21:14:25, PICCORO McKAY Lenz wrote:
> >> ummm sorry but there-s too much differences beetween winbutu = to alpine
> >>
> >> if you apt instal apache phpmyadmin
> >> in winbutnu quickly you have inmmediatelly at localhost/phpmy= admin the
> >> result
> >>
> >> in apine not all are like that!
> >
> > Well, I understand your point, but you choose a very bad example = to argue:
> >
> > $ apk add apache2 php7-apache2 phpmyadmin
> > [...]
> > * If you use apache2:
> > *=C2=A0 =C2=A0 =C2=A01) Change the ownership of the config direct= ory:
> > *=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 chown -R apache:apache= /etc/phpmyadmin
> > *=C2=A0 =C2=A0 =C2=A02) See if you need to modify the apache2 con= fig:
> > *=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /etc/apache2/conf.d/ph= pmyadmin.conf
> > *=C2=A0 =C2=A0 =C2=A03) Restart apache2 when done.
> > *
> > OK: 524 MiB in 321 packages
> > $ chown -R apache:apache /etc/phpmyadmin
> > $ /etc/init.d/apache2 restart
> >
> > This works instantly^^
> >
> > Cheers,
> > Marco
> > --
> > Marco Dickert
> > marco= @misterunknown.de
> > https://misterunknown.de
> >
>
>
> --
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com

--
Marco Dickert
marco@misterunk= nown.de
h= ttps://misterunknown.de
--000000000000f8200d058357a938-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---