June 2024

Dev ops, Linux

Securing SSH Server

Introduction Secure Shell (SSH) is a protocol used to securely access and manage remote servers. Implementing proper security measures for SSH is essential to protect your server from unauthorized access and potential security threats. This guide will cover steps to secure your SSH server, including adding a new user, disabling root login, changing the SSH […]

Dev ops, Linux

HTTP/2 on Apache

Introduction to HTTP/2 HTTP/2 is the second major version of the HTTP network protocol used by the World Wide Web. It was developed by the Internet Engineering Task Force (IETF) HTTP Working Group as the successor to HTTP/1.1. Benefits of HTTP/2: Overall, HTTP/2 offers significant improvements in performance, efficiency, and user experience compared to its

Dev ops, Linux

Setting Up Redmine with LDAP Authentication

Step 1: Install Required Packages Step 2: Install Redmine Download and extract Redmine: Step 3: Install LDAP and Other Dependencies Step 4: Configure Apache Virtual Host Create a new Apache virtual host configuration file for Redmine: Step 5: Enable Virtual Host and Passenger Module Step 6: Configure Redmine Database Edit the config/database.yml file: Step 7:

Dev ops, Linux

Setting Up LDAP for Authentication

Step 1: Install OpenLDAP Install OpenLDAP and LDAP utilities: Step 2: Configure LDAP Export LDAP database configuration: Create a directory to store LDAP configuration files: Create a base DN file (basedn.ldif) with organizational units: Step 3: Add User to LDAP Create an LDIF file (username.ldif) to add a user: Add the base DN and user

Dev ops, Linux

Nextcloud with Apache2 and SSL

Introduction to Nextcloud Nextcloud is a self-hosted, open-source file sync, and share solution. It provides features similar to those offered by commercial cloud storage services like Dropbox, Google Drive, and Microsoft OneDrive, but with the added benefit of being under your control. Here’s why Nextcloud is a compelling option: Setting Up Nextcloud with Apache2 and

Dev ops, Linux

Setting Up Plausible Analytics

Plausible Analytics is a lightweight, open-source web analytics tool. It is designed to be simple to use, privacy-friendly, and provides essential website statistics without the use of cookies or tracking personal data. This guide will walk you through the steps to self-host Plausible Analytics using Docker and configure it with either NGINX or Apache2 as

Dev ops, Linux, Programming

Setting Up Nominatim for Bangladesh

This guide will walk you through the installation and setup of Nominatim on a Debian-based system. Step 1: Install Required Packages Update your package list and install the necessary packages: Step 2: Install and Configure Sudo Install sudo and add the necessary paths: Create the nominatim user: Set environment variables for the nominatim user: Set

Programming

Documentation for Setting Up PostgreSQL Password File

This guide will help you set up a .pgpass file to connect to a PostgreSQL database without being prompted for a password. Step 1: Create the .pgpass File Create a .pgpass file in your home directory or another preferred location with the following content: Step 2: Set File Permissions Ensure that the .pgpass file has

Programming

Java: Number to Bangla Words

NumberToBanglaWords is a Java class that provides methods to convert numeric values into their equivalent textual representation in Bengali and English languages. It supports both traditional and legacy formats for representing numbers. Usage You can use the provided methods to convert numeric values into text. The class offers the following conversion options: Import Convert Numeric

Uncategorized

Golang: Data Indexing to Elasticsearch and Elasticsearch Query Builder

This repository provides a program to index customer data into Elasticsearch using the provided query builder and the github.com/elastic/go-elasticsearch/v8 package, along with a query builder utility for constructing Elasticsearch queries in Go. Prerequisites Before using the provided code, make sure you have the following prerequisites installed: Installation To use the provided code, you need to

Scroll to Top