Apache

Apache Not Starting for unknown reasons

Seeing this? Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details. Followed by running both of the suggested commands only to learn nada darn thing?? Here’s a few things I’ve found. Check any new SSL Certs Make sure any self-signed certificates are made… read more »

Install LAMP on Ubuntu

Linux, Apache, MariaDB (or MySQL) and PHP These steps work with both Ubuntu 18.04 LTS and Ubuntu 20.04 LTS I’ve included steps for both MariaDB and MySQL. sudo apt update -y sudo apt upgrade -y sudo apt install apache2 -y # MariaDB sudo apt install mariadb-server -y # MySQL sudo apt install mysql-server -y sudo… read more »

How to create a CSR (Certificate Signing Request) in Linux using OpenSSL

Before you can purchase or create your own self signed SSL certificate, you must first create a CSR (Certificate Signing Request) and a Private Key. These two files much be created simultaneously or the resulting SSL certificate will not work. As root, Run the following command: openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout… read more »

How to use a2ensite and a2dissite with rpm based apache systems

One thing this author prefers, it is the Debian (apt-get) style use of a2ensite and a2dissite to enable and disable hosted domains. This guide will show you how to set up a similar system in rpm based (Redhat, Fedora, CentOS, etc) systems. Set up instructions To setup a similar system on your rpm based server,… read more »

Sidebar