Mail archive
alpine-user

Re: [alpine-user] LAMP setup

From: PICCORO McKAY Lenz <mckaygerhard_at_gmail.com>
Date: Tue, 5 Mar 2019 08:03:29 -0400

El mar., 5 de mar. de 2019 a la(s) 04:36, Marco Dickert (
marco_at_misterunknown.de) escribió:

> 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 <marco_at_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/phpmyadmin 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:
> > > * 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_at_misterunknown.de
> > > https://misterunknown.de
> > >
> >
> >
> > --
> > Lenz McKAY Gerardo (PICCORO)
> > http://qgqlochekone.blogspot.com
>
> --
> Marco Dickert
> marco_at_misterunknown.de
> https://misterunknown.de
>



---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Tue Mar 05 2019 - 08:03:29 UTC