Downgrade PHP 8.0 to 7.4 on Ubuntu

Copy from https://hostappraiser.com/downgrade-php-8-0-to-7-4-on-ubuntu/ Use update-alternatives –config php The first way to accomplish this is by issuing the following command This will give you a listing as shown below As you can see I entered the number 1 to select version 7.4. Then did a quick check to validate the change. Let’s restart apache2 s ourContinue reading “Downgrade PHP 8.0 to 7.4 on Ubuntu”

How To Set Up Nginx Server Blocks

By Justin Ellingwood Introduction When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server. In this guide, we’ll discuss how to configure server blocks in Nginx on an Ubuntu 16.04 server. Prerequisites We’re going toContinue reading “How To Set Up Nginx Server Blocks”

SSL in DigitalOcean

Goto your server and openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr      Generate Key and CSR file for request certificate in hosting by using command sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/example.com.key -out /etc/ssl/certs/example.com.crt Go to control panel which hosting provide SSL and download Now you willContinue reading “SSL in DigitalOcean”

Ubuntu Server Setup Guide for Django Websites

By: Brent O’Connor. This guide is a walk-through on how to setup Ubuntu Server for hosting Django websites. The Django stack that will be used in this guide is Ubuntu, Nginx, Gunicorn and Postgres. This stack was chosen solely from the reading I’ve done and talking to other Django developers in order to get their recommendations.Continue reading “Ubuntu Server Setup Guide for Django Websites”