Setting up MediaWiki on our Lighttpd web server and PostgreSQL execution environment under Alpine Linux
MediaWiki is up and running on our Lighttpd web server with PostgreSQL database under Alpine Linux

Setting up MediaWiki on our Lighttpd web server and PostgreSQL execution environment under Alpine Linux

Welcome back to another tutorial from our Alpine Linux explorations tutorial series.

This time we are going to set up MediaWiki on our Lighttpd web server and PostgreSQL execution environment under Alpine Linux.


Let us begin:

1. Once our Alpine Linux virtual machine execution environment has fully booted we are ready to begin the process – system ready.

Once our Alpine Linux virtual machine execution environment has fully booted we are ready to begin the process – system ready.
Once our Alpine Linux virtual machine execution environment has fully booted we are ready to begin the process – system ready.

2. We need to open the Linux Terminal.

We need to open the Linux Terminal.
We need to open the Linux Terminal.

3. We need to switch to the root user to run the necessary commands.

We need to switch to the root user to run the necessary commands.
We need to switch to the root user to run the necessary commands.

4. We need to update our Linux System to prepare for the MediaWiki deployment.

We need to update our Linux System to prepare for the MediaWiki deployment.
We need to update our Linux System to prepare for the MediaWiki deployment.

5. We need to update our Linux System to prepare for the MediaWiki deployment.

We need to update our Linux System to prepare for the MediaWiki deployment.
We need to update our Linux System to prepare for the MediaWiki deployment.

6. We need to update our Linux System to prepare for the MediaWiki deployment.

We need to update our Linux System to prepare for the MediaWiki deployment.
We need to update our Linux System to prepare for the MediaWiki deployment.

7. Now we need to install our Lighttpd web server and PHP support packages.

Now we need to install our Lighttpd web server and PHP support packages.
Now we need to install our Lighttpd web server and PHP support packages.

8. Now we need additional PostgreSQL database support packages.

Now we need additional PostgreSQL database support packages.
Now we need additional PostgreSQL database support packages.

9. We need to install MediaWiki.

We need to install MediaWiki.
We need to install MediaWiki.

10. Unpack the archive file.

Unpack the archive file.
Unpack the archive file.

11. Rename the MediaWiki directory and remove the tar archive file.

Rename the MediaWiki directory and remove the tar archive file.
Rename the MediaWiki directory and remove the tar archive file.

12. Change the permissions and create the necessary symlink.

Change the permissions and create the necessary symlink.
Change the permissions and create the necessary symlink.

13. We need to edit the Lighttpd web server configuration file.

We need to edit the Lighttpd web server configuration file.
We need to edit the Lighttpd web server configuration file.

14. We need to enable the fastcgi option.

We need to enable the fastcgi option.
We need to enable the fastcgi option.

15. Starting up PostgreSQL for our database support (we need it for our Lighttpd web server and MediaWiki).

Starting up PostgreSQL for our database support (we need it for our Lighttpd web server and MediaWiki).
Starting up PostgreSQL for our database support (we need it for our Lighttpd web server and MediaWiki).

16. We need to register our new PostgreSQL database server and add it to our boot autostart list.

We need to register our new PostgreSQL database server and add it to our boot autostart list.
We need to register our new PostgreSQL database server and add it to our boot autostart list.

17. We need to register our new Lighttpd web server and add it to our boot autostart list.

We need to register our new Lighttpd web server and add it to our boot autostart list.
We need to register our new Lighttpd web server and add it to our boot autostart list.

18. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

19. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

20. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

21. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

22. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

23. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

24. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

25. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

26. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

27. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

28. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

29. MediaWiki installation.

MediaWiki installation.
MediaWiki installation.

30. We must copy over our newly created configuration file.

We must copy over our newly created configuration file.
We must copy over our newly created configuration file.

31. MediaWiki is up and running on our Lighttpd web server with the PostgreSQL database under Alpine Linux.

MediaWiki is up and running on our Lighttpd web server with the PostgreSQL database under Alpine Linux.
MediaWiki is up and running on our Lighttpd web server with the PostgreSQL database under Alpine Linux.

32. We use the command 'poweroff' to shut down our Linux server machine.

We use the command 'poweroff' to shut down our Linux server machine.
We can now safely shut down our Alpine Linux system using the command 'poweroff'.

Well, that was most enjoyable. See you in the next tutorial!

To view or add a comment, sign in

More articles by Razvan Alexandru Ionica

  • Updating Rocky Linux 9.4 packages

    Rocky Linux was founded by Gregory Kurtzer, one of the original founders of CentOS, in December 2020. The project was…

  • Installing GUI on Oracle Solaris 11 (sol-11_4-text-x86.iso)

    Sun Solaris, now known as Oracle Solaris, is a Unix operating system originally developed by Sun Microsystems. Oracle…

    9 Comments
  • Updating Rocky Linux 9.4 Kernel

    Rocky Linux is a free and open-source enterprise operating system designed to be fully compatible with Red Hat…

    8 Comments
  • Updating Rocky Linux 9.4 Multimedia Codecs

    Rocky Linux is an open-source enterprise operating system designed to be a downstream, community-supported…

  • Setting up OpenSolaris 2009.06 (osol-0906-x86.iso) for a virtual machine

    UNIX is a powerful, multiuser, multitasking operating system originally developed in the 1960s and 1970s at AT&T's Bell…

    13 Comments
  • OpenSolaris 2009.06

    OpenSolaris was an open-source operating system based on the Solaris kernel and associated tools. It was initiated by…

    32 Comments
  • Force RHEL 7 to set the date 2 years in the past

    Here is a question from one of our fellow UNIX Europe group members: How can he force RHEL 7 to set the date 2 years in…

    12 Comments
  • Setting up RHEL 7 (rhel-server-7.9-x86_64-dvd) for a virtual machine

    RHEL 7, or Red Hat Enterprise Linux 7, was a major release of the RHEL operating system that was introduced in June…

    8 Comments
  • Update Rocky Linux from 9.3 to 9.4

    Rocky Linux is an exciting development in the world of Linux distributions. It was created as a direct response to the…

    2 Comments
  • Install LibreOffice on Rocky Linux 9.3

    Rocky Linux was created as a community-driven, enterprise-focused Linux distribution. It aims to be a downstream…

Insights from the community

Others also viewed

Explore topics