mediawiki isn't working "out of the box"

Mike McGrath mmcgrath at redhat.com
Sun Mar 8 21:07:20 UTC 2009


On Fri, 6 Mar 2009, Stephen John Smoogen wrote:

> On Fri, Mar 6, 2009 at 3:55 PM, Michael Stahnke <mastahnke at gmail.com> wrote:
> > In a nutshell, here's most of what I did.
> >
> > WIKINAME=syswiki
> > mkdir -p /var/www/wikifarm
> > mkdir -p /var/www/wikifarm/$WIKINAME
> > cd /var/www/wikifarm/$WIKINAME
> > cp -f -pur /var/www/wiki/* .
> > ln -s /usr/share/mediawiki/*.php .
> > ln -s /usr/share/mediawiki/*.php5 .
> > ln -s /usr/share/mediawiki/extensions .
> > ln -s /usr/share/mediawiki/includes .
> > ln -s /usr/share/mediawiki/skins .
> > ln -s /usr/share/mediawiki/languages .
> > ln -s /usr/share/mediawiki/locale .
> > ln -s /usr/share/mediawiki/serialized .
> > ln -s /usr/share/mediawiki/maintenance/ .
> > chown -R apache:apache *
> > unset WIKINAME
>
>
> My brain isnt' working does that chown change the permissions of the
> linked items so that they are writable by the base process? Wouldn't
> it be better to just copy the files then
>
>

I think it was initially packaged this way to allow people to easily run
multiple installs of mediawiki on the same box, but also allow for a
simple "yum update" of them all.

	-Mike




More information about the epel-devel-list mailing list