Fading Coder

One Final Commit for the Last Sprint

Building Nginx from Source for Static File Hosting on Ubuntu

To compile Nginx on Ubuntu for serving static content, first install the toolchain and required libraries: sudo apt update sudo apt install -y build-essential libpcre3-dev zlib1g-dev libssl-dev The build environment requires PCRE for regex support in location blocks, zlib for gzip compression module...

Installing Strapi and Deploying with Nginx Locally

Strapi is an open-source headless content management system built with JavaScript and powered by Node.js. It provides an intuitive admin panel for managing content through APIs. Creating a New Project with Strapi To initiate a new project, execute the following command: npx create-strapi-app@latest...

Setting Up a Linux Environment for Decoupled Web Applications

Java Runtime Environment Setup Transfer the JDK binary package to a temporary workspace and create a dedicated directory under the system partition. mkdir -p /opt/dev/java tar -xzf /tmp/deliverables/jdk-8u401-x64.tar.gz -C /opt/dev/java mv /opt/dev/java/jdk1.8.0_* /opt/dev/java/sdk-root Configure th...

Configuring ALLOWED_HOSTS for Django Production Deployment

When setting DEBUG = False in Django's settings file, attempting to run the development server will result in an error. python manage.py runserver 8888 CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False. This error indicates that the ALLOWED_HOSTS configuration is mandatory when deb...

Deploying a Maven Web Application to Tomcat 9 Using the Tomcat Manager

Tomcat 9 does not provide a dedicated Maven plugin. The Tomcat Manager interface, however, is backward-compatible, so the Tomcat 7 Maven Plugin can be used to deploy to Tomcat 9. This guide shows two setups: Using the Tomcat 8 Maven Plugin (historical build that requires custom plugin repositories)...