logo smart home family kruse

Kruse Smart Home

Easy living in our smart home & Garden

Setup a Piwigo site on a Raspberry Pi with Virtualmin

Setup a Piwigo site on a Raspberry Pi with Virtualmin

Piwigo is an open source photo management software to manage, organize and share your photo easily on the web. Your images can be viewed and managed from a common web browser or from Piwigo mobile applications available for Android and Apple devices.

You can setup a Piwigo site on a Raspberry Pi 4 with Virtualmin, a web based virtual hosting platform.

Fixing Apache webserver not re-starting after reboot of Webmin

Fixing Apache webserver not re-starting after reboot of Webmin

Apache webserver not re-starting after reboot on a Raspberry Pi server running  Webmin / Virtualmin make websites inaccessible. Manual starting the Apache webserver can still be done, but not handy and easily forgotten.

This can easily be fixed by modifying an Apache ports configuration file. as explained in this article.

Setup scheduled backups within Virtualmin

Setup scheduled backups within Virtualmin

In case of failure of hard or software leading to one or websites being done a restore of an backup would be the easiest option. This requires backups to be available.

This article describes how to setup scheduled backups within Virtualmin at a certain frequency. Backups can be stored locally or remote on for example a NAS (recommended).

Creating a website backup with Virtualmin

Creating a website backup with Virtualmin

Restoring a Piwigo backup at a server running Webmin with Virtualmin can be a better option than a fresh install if your site contains thousands of photos. A backup can be restored on the same webserver or on another server (for example if you relocated the site). Some webserver configuration changes are required to get the Piwigo site operational again.

This article describes how to restore a backup and make the required configuration changes.

Restoring a WordPress site backup at a Webmin server

Restoring a WordPress site backup at a Webmin server

Restoring a Worpress site backup at a server running Webmin with Virtualmin can be required when due to hardware or software failure. A backup can be restored on the same webserver or on another server (for example if you relocated the site). With the Virtualmin backup & restore functionality this is easy.

This article describes how to restore a backup and make the required configuration changes.

Store Piwigo data on a separate drive (Raspberry Pi, SSD)

Store Piwigo data on a separate drive (Raspberry Pi, SSD)

Having Piwigo installed on a Raspberry Pi with 2 SSD’s with a webserver under Webmin/Virtualmin opens the possibility to store Piwigo data on a separate drive to prevent the often lower capacity of the boot drive becoming an issue in the future.

This article describes how to configure the Raspberry Pi and Piwigo to store the data on the second data SSD.

Restoring a Piwigo backup at a Webmin server

Restoring a Piwigo backup at a Webmin server

Restoring a Piwigo backup at a server running Webmin with Virtualmin can be a better option than a fresh install if your site contains thousands of photos. A backup can be restored on the same webserver or on another server (for example if you relocated the site). Some webserver configuration changes are required to get the Piwigo site operational again.

This article describes how to restore a backup and make the required configuration changes.

Install Dockge, a Docker Compose stack manager

Install Dockge, a Docker Compose stack manager

Dockge is a lightweight web-based manager for Docker Compose stacks, intended to simplify the creation, editing, starting, stopping, and updating of Compose-based containers.

For a Raspberry Pi running Webmin, Virtualmin, and Apache, Dockge is often more suitable than Portainer. Since Webmin and Virtualmin already provide comprehensive server administration, Dockge serves effectively as a focused Docker Compose management layer without the additional complexity of a broader platform.

Redirecting an URL from one Webmin server to another

Redirecting an URL from one Webmin server to another

Having two Raspberry Pi’s running each  Webmin /Virtualmin allows to have a test server and an operational server to prevent mistakes stops accessing your websites. As most people will have one external IP address it is required that the first server forwards specific URL’s to the second server.  This article describes how to setup redirecting an URL from one Webmin server to another Webmin server.

Install Virtualmin on a Raspberry Pi

Install Virtualmin on a Raspberry Pi

Hosting multiple websites is relative easy if you Install Virtualmin on a Raspberry Pi. After initial configuration, setting up websites, called virtual servers, is the next step.

These virtual servers is the way for hosting multiple websites as the web server needs to forward used URL’s to the correct folder on the Raspberry Pi. Virtualmin is a so called virtual hosting platform and makes setting up web servers much easier then manually by using Unix commands.

Hosting multiple websites on a Raspberry Pi with Virtualmin

Hosting multiple websites on a Raspberry Pi with Virtualmin

Hosting multiple websites on a Raspberry Pi 4 with Virtualmin involves some initial configuration after which setting up websites, called virtual servers, is easy.

These virtual servers is the way for hosting multiple websites as the web server needs to forward used URL’s to the correct folder on the Raspberry Pi. Virtualmin is a so called virtual hosting platform and makes setting up web servers much easier then manually by using Unix commands.