Topic on Project:Support desk

How to properly Install MediaWiki on Fedora 32 (Or Fedora 3x)

6
Agompel (talkcontribs)

Good day,

I have tried to install Wikimedia on Fedora 32 (and 31 too) with MariaDB. , always to stumble on something not working. (close to the end).

Many posted here and there the same difficulties. Fedora/RedHat is a very popular Linux distro, usually very good.

The issue is probably some level of permissions.


The ideal (most simple) way should be # dnf install mediawiki

Or a similar dnf command using "group install" etc...

Could you look at this and at least document a valid manual install, then an properly working package install? (using Fedora package installer dnf).


Thanks for the attention.

Andre Gompel

Malyacko (talkcontribs)

@Agompel Hi, it is impossible to improve something if there is zero information about what is not working. Hence statements like "many posted here" make no sense (yet)... If there are problems then please explain what the problems are.

Also, for packages for random Linux distributions, please talk to the packagers of those Linux distributions. Thanks!

201.17.156.193 (talkcontribs)
  1. install media-wiki, httpd and mariadb


" sudo dnf install -y httpd mariadb-server php php-pear php-xml php-intl php-pecl-zendopcache php-gd php-mbstring ImageMagick-perl media-wiki "


2. start httpd and mariadb services


"sudo systemctl enable --now httpd"

"sudo systemctl enable --noew mariadb"


3. copy basic wiki template to /var/www/html folder ( fix the permissions and selinux if needed )


"cp -a /var/www/wiki/ /var/www/html"

201.17.156.193 (talkcontribs)

after that access in your browser:


localhost


here u can see if your apache server is running


localhost/wiki


your wikimedia basic setup

Malyacko (talkcontribs)
Nolski federation (talkcontribs)

Hi, I am new to mediawiki and perhaps I am missing something but there seems to be a gap between where you `dnf install mediawiki` and actually have an instance running.


Do I need to symlink files installed by dnf into /var/www/html/? Or do I need to do some other steps? This is unclear to me and every readme I've read so far seems to speak about downloading a separate tar (then what's the point of the mediawiki package?) or neglects to mention it. I'd be happy to update the provided wiki page if I can figure out how to stand up a mediawiki instance on fedora :)

Reply to "How to properly Install MediaWiki on Fedora 32 (Or Fedora 3x)"