Posts

Showing posts from June, 2023

Wazuh Tutorial

Image
  Step 1: Introduction to Wazuh Wazuh is an open-source security monitoring platform that provides intrusion detection, log analysis, file integrity monitoring, and compliance monitoring. It helps you detect security threats, vulnerabilities, and any unusual activity in your environment. Video in Hindi language Step 2: Installation To install Wazuh, follow these steps: Download the Wazuh server from the official website. Install the necessary dependencies, such as Java and Elasticsearch. Configure Elasticsearch for Wazuh. Install and configure the Wazuh manager. Install and configure the Wazuh agent on the systems you want to monitor. Step 3: Configuration Once Wazuh is installed, you need to configure it to meet your specific requirements. Here are some key configuration steps: Modify the Wazuh server configuration file to specify the desired settings, such as SMTP server details for email alerts. Configure the Wazuh manager to receive and process logs from the agents. Customize t...

Apache airflow installation on ubuntu

Image
Installation on Ubuntu Installation of pip on Ubuntu To set up a virtual environment, we need to install a python package named virtualenv. sudo apt install python3-pip Installing & Setting Up a Virtual Environment After successfully installing pip, we will now install the virtualenv package using the following command: sudo pip3 install virtualenv To create a virtual environment directory as "airflow_env" inside the "airflow_workspace" directory, execute the following command: virtualenv airflow_env OUTPUT: created virtual environment CPython3.8.10.final.0–64 in 841ms . . activators BashActivator, CShellActivator, FishActivator, PowerShellActivator, PythonActivator To activate the environment use the following command: source airflow_env/bin/activate You will observe that our virtual environment name precedes the username on the terminal, as shown below: (airflow_env) username@desktop_name:~/airflow_workspace$ It indicates that we have successfully activated th...

EFK Deployment on Kubernetes.

Image
Introduction: In the world of modern application development, efficient log management and analysis are crucial for ensuring the health and stability of your Kubernetes infrastructure. Elastic Stack, often referred to as EFK (Elasticsearch, Fluentd, and Kibana), is a powerful open-source solution that provides a robust logging and monitoring platform. In this blog post, we will walk you through the process of deploying EFK on Kubernetes, enabling you to centralize logs, gain valuable insights, and troubleshoot issues effectively. Table of Contents: 1.What is EFK and Why Should You Use It? 2.Preparing Your Kubernetes Cluster for EFK Deployment 2.1. Installing Elasticsearch 2.2. Setting up Fluentd 2.3. Configuring Kibana 3. Deploying EFK Components on Kubernetes 3.1. Creating a Namespace 3.2. Deploying Elasticsearch 3.3. Setting up Fluentd 3.4. Deploying Kibana Configuring Fluentd to Collect and Forward Logs 4.1. Fluentd ConfigMap 4.2. Fluentd DaemonSet 4.3. Verifying Fluentd Config...