Posts

Install GVM Vulnerability Scanner on Ubuntu 24.04 Using Containers

GVM Installation on Ubuntu 24.04 🛡️ GVM Vulnerability Scanner Install Greenbone Community Edition on Ubuntu 24.04 using Docker Containers 💻 Hardware Requirements CPU: 4 Cores RAM: 8 GB Disk: 60 GB Free 📦 Prerequisites Ubuntu 24.04 Server/Desktop Docker & Docker Compose curl, ca-certificates, gnupg 1️⃣ Add Docker Repository sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg \ -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc 2️⃣ Install Docker & Plugins sudo apt-get install gnupg docker-ce docker-ce-cli \ containerd.io docker-buildx-plugin docker-compose-plugin 3️⃣ Verify Docker docker run hello-world 4️⃣ Non-Root Docker Access sudo usermod -aG docker $USER newgrp docke...

Metabase On-Prem Installation Steps

 ======================================================== METABASE ON-PREM INSTALLATION SOP (NO DOCKER) WITH NGINX + PUBLIC IP (PRODUCTION READY) ======================================================== DOCUMENT VERSION : 1.0 STATUS           : VERIFIED WORKING OS               : Ubuntu 22.04 / 24.04 JAVA             : OpenJDK 21 METADATA DB      : PostgreSQL ACCESS           : Nginx Reverse Proxy (Public IP) METABASE PORT    : 3000 (localhost only) NGINX PORT       : 80 / 443 ======================================================== =========================== 1. SYSTEM PRE-REQUISITES =========================== Run as root or sudo user. sudo apt update && sudo apt upgrade -y Install required packages: sudo apt install -y \ openjdk-21-jdk \ postgresql postgresql-contrib \ nginx \ curl unzip Verify...

Apache Superset – On-Prem Installation SOP

Apache Superset – On-Prem Installation SOP Apache Superset – On-Prem Installation SOP Production Deployment (No Docker) Ubuntu 22.04 / 24.04 PostgreSQL Metadata Redis Cache MySQL Enabled systemd + Gunicorn 1. System Preparation sudo apt update && sudo apt upgrade -y sudo apt install -y \ build-essential libssl-dev libffi-dev python3-dev python3-venv \ libsasl2-dev libldap2-dev libpq-dev default-libmysqlclient-dev \ redis-server postgresql postgresql-contrib curl git nginx sudo systemctl enable redis-server sudo systemctl start redis-server 2. PostgreSQL Metadata Database sudo -u postgres psql CREATE DATABASE superset; CREATE USER superset_user WITH PASSWORD 'StrongPassword'; ALTER ROLE superset_user SET client_encoding TO 'utf8'; ALTER ROLE superset_user SET default_transaction_isolation TO 'read committed'; ALTER ROLE superset_user SET timezone TO 'UTC'; GRANT ALL PRIVILEGES ON DATA...

Samba Active Directory Domain Controller (AD DC) Setup on Ubuntu 22.04.5 LTS

Step-by-Step: Samba Active Directory (AD) on Ubuntu 22.04 — Production Setup, Hardening & Failover (example.com) Step-by-Step: Samba Active Directory (AD) on Ubuntu 22.04 — Production Setup, Hardening & Failover (example.com) Author: Sidhesh Devale · Platform: Ubuntu 22.04 · Primary DC: sd01 (192.168.0.7) · Secondary DC: sd02 (192.168.0.10) Contents Pre-Setup Requirements Primary DC (SD01) — Provision Secondary DC (SD02) — Join Secure SYSVOL Replication (rsync+ssh) Full Production Hardening Failover & FSMO Role Transfer Validation & Testing Monitoring, Backup & Maintenance Troubleshooting 1. Pre-Setup Requirements This guide assumes two Ubuntu 22.04 servers (SD01 and SD02) on a trusted LAN with static IPs: SD01 (Primary): 192.168.0.7 SD02 (Secondary): 192.168.0.10 Domain: example.com Quick checklist Update OS and install required pack...

Install & Configure GLPI on Ubuntu (Nginx + MariaDB + PHP 8.3) — Full SOP 2025

🧭 Install & Configure GLPI on Ubuntu (Nginx + MariaDB + PHP 8.3) — Full SOP 2025 Comprehensive setup guide for GLPI 10.x using Nginx , MariaDB , and PHP 8.3 on Ubuntu 22.04/24.04 LTS. 📋 1. Prerequisites Ubuntu 22.04/24.04 with sudo/root privileges DNS record or hostname (e.g. glpi.localhost or glpi.example.com ) Updated system packages sudo apt update && sudo apt upgrade -y ⚙️ 2. Install Required Packages 2.1 Nginx Web Server sudo apt install -y nginx sudo nano /etc/nginx/sites-available/glpi.conf server { listen 80; listen [::]:80; server_name glpi.localhost; root /var/www/glpi/public; location / { try_files $uri /index.php$is_args$args; } location ~ ^/index\.php$ { fastcgi_pass unix:/run/php/php8.3-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } sudo ln -s /etc/...

Kubernetes Installation SOP on CentOS Stream 10 (Step-by-Step Deployment Guide 2025)

🧭 Kubernetes Installation SOP on CentOS Stream 10 Step-by-step Kubernetes v1.31 deployment on CentOS Stream 10 with containerd, kubeadm, and worker node integration. Optimized for production setups. 📋 1. Pre-requisites Minimum 2 CPUs and 2 GB RAM (4 GB recommended for control plane) Root or sudo privileges Stable internet connectivity Unique hostnames and static IPs for all nodes ⚙️ 2. System Preparation (Run on All Nodes) hostnamectl set-hostname k8s-master # Example for master node dnf update -y swapoff -a sed -i '/swap/d' /etc/fstab modprobe overlay modprobe br_netfilter Create sysctl configuration: cat 📦 3. Install Container Runtime (containerd) dnf install -y yum-utils device-mapper-persistent-data lvm2 dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo dnf install -y containerd.io Configure containerd: mkdir -p /etc/containerd containerd config default | tee /etc/containerd/config.toml s...

Deploy Zabbix + Grafana + Keycloak + PostgreSQL on Podman (Complete Infrastructure Stack Setup 2025)

🚀 Deploy Zabbix + Grafana + Keycloak + PostgreSQL on Podman Complete step-by-step deployment guide for Zabbix monitoring with integrated Grafana dashboards , Keycloak authentication , and PostgreSQL database — powered by Podman containers and systemd automation. 📋 1. Prerequisites OS: RHEL / CentOS 9 or Ubuntu 22.04+ Podman installed ( podman --version ) Python3 and pip for podman-compose Sudo / root privileges Basic Firewall & SELinux knowledge 📁 2. Create Project Directory mkdir -p ~/zabbix-stack/db ~/zabbix-stack/grafana cd ~/zabbix-stack ⚙️ 3. Install Podman Compose sudo pip install podman-compose which podman-compose Example output: /usr/local/bin/podman-compose 🧩 4. Create podman-compose.yml Use the following YAML configuration file: version: "3.9" networks: zbxnet: driver: bridge services: zabbix-db: image: docker.io/postgres:15 container_name: zabbix-db restart: always environment: ...