Comments on How to Install MediaWiki with Nginx on Ubuntu 16.04

In this tutorial, I will show you step-by-step how to install MediaWiki with Nginx web server on Ubuntu 16.04. I will guide you on how to install and configure the LEMP stack for MediaWiki installation, including generating and configuring new free SSL Letsencrypt for MediaWiki security.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Rudiger Wolf

What about the step to configure DNS?

By: Joe Edrick

Thank you so much! Is it okay if I post a summarized version with tips I learned on Medium?

By: Dave

Just FYI, this post appears to now be out of date.

When I try the very first step under "Step 2 - Install and Configure PHP-FPM," I get these errors from apt:

E: Unable to locate package php7.0-fpm

E: Couldn't find any package by glob 'php7.0-fpm'

E: Couldn't find any package by regex 'php7.0-fpm'

E: Unable to locate package php7.0-intl

E: Couldn't find any package by glob 'php7.0-intl'

E: Couldn't find any package by regex 'php7.0-intl'

E: Unable to locate package php7.0-xml

E: Couldn't find any package by glob 'php7.0-xml'

E: Couldn't find any package by regex 'php7.0-xml'

E: Unable to locate package php7.0-curl

E: Couldn't find any package by glob 'php7.0-curl'

E: Couldn't find any package by regex 'php7.0-curl'

E: Unable to locate package php7.0-gd

E: Couldn't find any package by glob 'php7.0-gd'

E: Couldn't find any package by regex 'php7.0-gd'

E: Unable to locate package php7.0-mbstring

E: Couldn't find any package by glob 'php7.0-mbstring'

E: Couldn't find any package by regex 'php7.0-mbstring'

E: Unable to locate package php7.0-mysql

E: Couldn't find any package by glob 'php7.0-mysql'

E: Couldn't find any package by regex 'php7.0-mysql'

By: Till

The tutorial is for Ubuntu 16.04 and it works fine on that Ubuntu version until now. I guess you used it on a wrong Ubuntu version where the article is not written for. It must fail there as other Ubuntu version have other php versions and the php version is part of the name of the packages that you install. Always use an article for the operating system version where it is made for.