LAMP server setup on Ubuntu 22.04 Jammy Jellyfish

Ubuntu 22.04 LAMP installation

A LAMP stack is an assortment of software that contains everything you need in order to serve a website, show dynamic content, and store or retrieve data from a database. The software is all within the LAMP acronym, namely the Linux operating system, Apache web server, MySQL database (or MariaDB alternatively), and PHP programming language.

Read more

How to open http port 80 in Redhat Linux using firewall-cmd

How to open http port 80 in Redhat Linux using firewall-cmd

This article will provide you with an information on how to open port in Redhat Linux, and more specifically we will be talking about the HTTP port 80.  firewalld is the default firewall program that comes pre-installed on Red Hat Enterprise Linux 7 and 8. By default, the firewall is turned on, meaning that a very limited number of services are able to receive incoming traffic.

Read more

ampache raspberry pi

Ampache Raspberry Pi installation

In this Ampache Raspberry Pi installation you will learn how to setup a web based audio/video streaming application, which allow us to access our music and videos remotely. It is a completely open source project, written in PHP. The source code is hosted on github, and at the moment of writing, the latest available release is 4.4.3. In this tutorial we see how to install it on a Raspberry Pi OS, so to create a self-hosted media server.

Read more

Migrate WordPress multisite to new server

WordPress is a free and open source Content Management System written in PHP and is what a vast segment of websites is based on. The platforms has a vary nice feature: it allows the creation and management of multiple websites from the same installation. While migrating a WordPress installation is quite easy, to migrate WordPress multisite to a new server requires additional steps. In this tutorial we see how to proceed.

Read more

Receiving the 403 Forbidden error when directory content listing is turned off

Turn Off directory browsing on Apache

When installing Apache on a Linux system, the directory content listing is enabled by default. This may be a desirable features in some scenarios, but it’s a potential security hole in others. It’s easy enough to turn this setting on or off for each website (virtual host) that you have set up.

In this guide, we’ll go over the step by step instructions to edit the Apache configuration to hide directory content listing for Apache.

In this tutorial you will learn:

  • How to hide directory content listing in Apache

Read more

Configuring Apache virtual hosts on Fedora

Configure Apache VirtualHost on Fedora

Apache web servers utilize the virtual host feature in order to host more than one website. If you have Apache installed on Fedora Linux and want to run multiple websites, this is the route you will have to take. But don’t worry, Apache makes it rather easy to setup and configure virtual hosts.

In this guide, we’ll go through the step by step instructions to configure Apache virtual hosts on Fedora.

In this tutorial you will learn:

  • How to configure Apache virtual hosts on Fedora Linux

Read more

apache-logo

How to manage dynamic virtual hosts with Apache and the mod_vhost_alias module

The Apache web server has the ability to serve multiple websites from the same IP address, using virtual hosts. Each Virtual Host can be configured in the main server configuration file, or, thanks to the Include or the IncludeOptional
directives, in its own dedicated one. When the number of virtual hosts increases, their management starts to become troublesome. If their configuration is quite similar, we can manage them dynamically, thanks to the mod_vhost_alias module. In this tutorial we will see how to do it.

In this tutorial you will learn:

  • What is an Apache virtual host
  • How to check if the mod_vhost_alias module is enabled
  • How to load the mod_vhost_alias module on Debian and Red Hat family of distributions
  • How to manage dynamic virtual hosts using the mod_vhost_alias module
apache-logo

Read more