Category: Linux
Installation and Configuration of Fail2ban on Amazon Linux 2023
It is important to note that Amazon Linux 2023 is pre-installed with Python 3.9 by default. Some of the old Python version features have been removed in Python 3.9, so you will need to use the latest Fail2ban source code
Linux System Hardening Best Practices for a Secure Environment
Linux systems are widely used for their stability, flexibility, and security. However, no system is inherently secure without proper configurations and maintenance. Hardening a Linux system minimizes vulnerabilities and strengthens its security posture. This post outlines key steps to harden
Configuring the timezone settings in Linux and setting a cron job to use the new timezone permanently
Step 1: To check the current timezone of the Linux server timedatectl Step 2: To list all available time zones in the Linux server timedatectl list-timezones Step 3: To set the desired timezone on the Linux server timedatectl set-timezone America/Los_Angeles
RabbitMq – Open Source Message Broker
RabbitMq Installation Installation on Linux machine Update the package list sudo apt-get update -y Install prerequisite in most cases sudo apt-get install curl gnupg -y Install RabbitMq sudo apt-get install -y rabbitmq-server Start RabbitMq sudo systemctl start rabbitmq-server RabbitMq Installation
How To Fix Busybox Initramfs Error On Linux based OS
Some time our OS boot process gets stuck to the BusyBox shell and ends up at the initramfs prompt. ERROR: —————————————- BusyBox v1.27.2 (Ubuntu 1:1.27.2-4ubuntu3.2) built-in shell (ash) Enter ‘help’ for a list of built-in commands. (initramfs) —————————————- SOLUTION: Type
400 Bad Request Error while creating a virtual domain in Ubuntu
Problem Statement: I have more than 3 PHP projects in the workspace which is at path /var/www/html in Ubuntu 14.04 system. When I open my browser and type http://localhost, then the list of all PHP, CakePHP, or laravel projects is
Firebase Integration With Laravel 6.x (Ubuntu 18.04)
Below are the steps to integrate Firebase with Laravel 6.x Step 1 To integrate Firebase with Laravel we first need a Laravel project. Create a new Laravel project using the given composer command. composer create-project –prefer-dist laravel/laravel firebase Step 2
Installation and configuration of gitlab (Ubuntu)
Installation & configuration of gitlab with Let’s Encrypt on Ubuntu 18.04 Step.1 Update to latest repos :~$ sudo apt-get update Step.2 Now, Install the prerequisites required for gitlab :~$ sudo apt-get install -y curl openssh-server ca-certificates Step.3 Download the latest
Auto-Renew “Let’s encrypt” SSL Certificate using certbot
Auto-Renew “Let’s encrypt” SSL Certificate using certbot Make sure Domain is pointed to the server and should only be using IPv4 version. IPv6 will not work and you must have pre-configured the domain in apache configuration and make sure your
