It is important to have a proper log rotation that prevents disk space issues and keeps system running smoothly. If you are running a Laravel application on a Linux system, you should also implement a proper log rotation policy. Here in this article we will discuss 3 ways to rotate Laravel logs. Method 1: Use Laravel’s Built-in Daily Log Rotation Laravel has a built-in log rotation options. You just need to configure Laravel to auto-rotate logs daily without external tools. Edit the config/logging.php file in editor and add the following content: ‘channels’ => [ ‘daily’ => [ ‘driver’ => ‘daily’,…
Author: Rahul
As of October 14, 2025, PHP version 8.4.13 is the latest version available for installation on Debian systems. In this tutorial you will learn installation process of PHP 8.4 and other PHP versions on Debian 13 Linux systems. Step 1: Update Packages First of all, update the apt cache and install a few required packages. sudo apt update sudo apt install gnupg apt-transport-https ca-certificates Step 2: Add PHP Repository Now add the PHP repository in your Debian system. wget -qO – https://packages.sury.org/php/apt.gpg | sudo gpg –dearmor -o /usr/share/keyrings/sury-archive-keyring.gpg echo “deb [signed-by=/usr/share/keyrings/sury-archive-keyring.gpg] https://packages.sury.org/php/ bookworm main” | sudo tee /etc/apt/sources.list.d/sury-php.list Step 3:…
ERPNext is a popular open-source Enterprise Resource Planning (ERP) system that helps businesses manage operations like accounting, inventory, sales, and human resources in a unified platform. The latest release of version 15 offers enhanced features and improved performance. This tutorial will help you build a powerful ERP system tailored to your business needs. Step 1: Set Up the erpnext User The very first task is to create a dedicated user for your ERP application. We never recommend running this as root. sudo adduser erpnext sudo usermod -aG sudo erpnext su – erpnext Step 2: Install System Dependencies ERPNext requires multiple…
Let’s Make Terraform Flexible, Infra Coders! Hey there, Infra coders! You’ve already got Terraform up and running, created your first resources, managed state like pros, and even built reusable modules. Now, it’s time to make your Terraform code even more powerful with variables and outputs. Think of variables as the ingredients you can swap out in a recipe and outputs as the final dish you present to the world. These features let you write flexible, reusable code that adapts to different needs without rewriting everything. In this article, we’ll explore what variables and outputs are, how to use them, and…
Welcome to Terraform Modules, Infra Coders! Hey there, Infra coders! So far, you’ve mastered installing Terraform, connecting it to a cloud provider, and understanding the all-important state file. Now, let’s level up with Terraform modules. Think of modules as reusable blueprints—like a recipe you can use to cook the same dish in different kitchens without rewriting the whole thing. Modules make your Terraform code cleaner, reusable, and easier to manage, especially when your projects get bigger or involve a team. In this article, we’ll explore what modules are, why they’re awesome, how to create and use them, and some best…
This tutorial provides a comprehensive guide to securing Apache Solr with an SSL certificate from Let’s Encrypt, a free and automated certificate authority. By following these steps, you will enable Solr to operate over HTTPS, ensuring encrypted communication. This guide assumes you are using a Linux server (Ubuntu/Debian) with Apache Solr and Apache2 web server already installed. Prerequisites A server running Ubuntu/Debian with Apache Solr installed. Apache2 web server installed and configured. A registered domain name pointing to your server’s public IP. Root or sudo access to the server. Basic familiarity with terminal commands. Step 1: Install Certbot Certbot is…
Let’s Talk Terraform State, Infra Coders! Hey there, Infra coders! By now, you’ve got Terraform installed, connected it to a cloud provider like AWS, and even created an S3 bucket with a simple configuration file. That’s awesome! But today, we’re diving into something super important that ties it all together: Terraform State. Think of state as Terraform’s memory—it keeps track of everything you’ve built. Without it, Terraform would be like a chef who forgets what ingredients they’ve already added to the dish. In this article, we’ll explore what Terraform state is, why it matters, how to manage it safely, and…
Hey Infra Coders, Let’s Talk Providers! Welcome back, Infra coders! You’ve already written your first Terraform configuration and created some cool AWS resources like an S3 bucket and an EC2 instance. Now, let’s take it up a notch by exploring providers—the magic behind Terraform’s ability to work with different cloud platforms. In this article, we’ll learn how to manage providers for AWS, Azure, and Google Cloud Platform (GCP) in the same Terraform project. Think of providers as your bridge to different clouds, and we’re about to become bridge-building experts! We’ll set up a configuration that creates resources across AWS, Azure,…
Welcome to the Terraform Tutorial Series, Infra Coders! Hey there, Infra coders! Ready to master Infrastructure as Code (IaC) with Terraform? This tutorial series is your go-to guide for learning how to build, manage, and automate cloud infrastructure like a pro. Whether you’re just starting out or looking to level up, we’ve got you covered with simple, step-by-step articles that make Terraform easy and fun to learn. Below, you’ll find a complete list of our Terraform articles. Each one builds on the last, so you can follow along from the basics to advanced topics. Let’s dive into the world of…
Time to Write Your First Terraform Code, Infra Coders! Hey, Infra coders! By now, you’ve got Terraform installed and set up with a cloud provider like AWS from our last article. Awesome work! Today, we’re diving into the fun part—writing your first Terraform configuration file to build something real in the cloud. Think of this as your first hands-on project, like sketching out a blueprint and watching it come to life. We’ll create an AWS S3 bucket and a simple EC2 instance (a virtual server) step by step. Don’t worry, I’ll keep it super simple and walk you through everything.…
 
