Posts

Setup Docker on Ubuntu

Image
Unleash the power of containerization on your Ubuntu machine! Docker revolutionizes how you develop, deploy, and run applications, and setting it up on Ubuntu is surprisingly simple. Whether you're a seasoned developer or a curious hobbyist, this guide will walk you through the process, empowering you to craft isolated, portable, and efficient software environments. Buckle up, and let's dive into the exciting world of Docker on Ubuntu! Get Started Setup 1. Uninstall old versions sudo apt-get remove docker docker-engine docker.io containerd runc -y Copy 2. Update the apt package index and install packages to allow apt to use a repository over HTTPS sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release -y Copy 3. Add Docker’s official GPG key sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg Copy 4. Use

DevOps: Setup GitLab v16.7.3 on Kubernetes v1.25.1

Image
In this blog, we will guide you through the process of setting up GitLab-v16.7.3 Community Edition on Kubernetes-v1.25.1, unlocking a powerful combination of version control and container orchestration. Whether you're a seasoned developer or just starting your journey in the world of DevOps, this step-by-step guide will help you seamlessly integrate GitLab CE with Kubernetes, harnessing the full potential of these cutting-edge technologies for enhanced development workflows. Let's dive into the details and elevate your software development experience. Get Started Requirements 1. Let's clone git repo git clone https://github.com/vinaykagithapu/gitlab-on-k8s.git cd gitlab-on-k8s/v16.7.3/nginx-ssl-helm-kind-v1.25.1 Copy Setup K8s Cluster 1. Let's create K8s v1.25.1 poc-gitlab using kind. kind create cluster --name poc-gitlab --image kindest/node:v1.25.1 --config kind/config.yaml kubectl get nodes Copy 2. Install metal-lb k

Fix Busybox Initramfs error on Ubuntu Linux.

I booted my ubuntu and i got the BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.1) built-in shell (ash). I tried exit  command and it thrown an error saying that: The root filesystem on /dev/mapper/ubuntu--vg-root requires a manual fsck. (initramfs) exit --> Got error:  The root filesystem on /dev/mapper/ubuntu--vg-root requires a manual fsck.     So I tried to manual check the partition using fsck as below (initramfs) fsck /dev/mapper/ubuntu--vg-root -y --> It checked and fixed all blocks and inodes in given partition. After that reboot the machine (initramfs) reboot  Now the machine bootsup normal

Find and Fix Log4J-2 Vulnerability Using Snyk - Ubuntu 20.04 (Linux)

Image
In this article, we are going to find and fix log4j-2 vulnerability using snyk and hands-on demo on how to scan and fix the project on Ubuntu 20.04(Linux).   Disclaimer:   The articles provided on HackWithV is purely for informational and educational purpose only, and for those who are willing and curious to know & learn about Cyber Security, Ethical Hacking,  Software Development and  IT Operations. Anytime the word "Hacking" that is used on this site shall be regarded as Ethical Hacking. Table of Content What is Log4J ?   Jump to Log4J2 Vulnerability   Jump to Hands-On   Jump to Synk   Jump to Requirements   Jump to Setup Sample Project   Jump to Install Snyk   Jump to Scan the Project    Jump to Monitor the Project    Jump to   Patching the Vulnerability    Jump to   Uninstall Snyk    Jump to    Remove Sample

Snyk - Ubuntu 20.04 (Linux)

Image
In this article, we are going to learn about Snyk, features, and hands-on demo on how to install, usage and uninstall on Ubuntu 20.04(Linux).   Disclaimer:   The articles provided on HackWithV is purely for informational and educational purpose only, and for those who are willing and curious to know & learn about Cyber Security, Ethical Hacking,  Software Development and  IT Operations. Anytime the word "Hacking" that is used on this site shall be regarded as Ethical Hacking. Table of Content What is Snyk ?   Jump to Features   Jump to Hands-On   Jump to Requirements   Jump to Download   Jump to Install   Jump to Usage   Jump to Uninstall    Jump to Cheat Sheet    Jump to    What is Snyk ?  Snyk is a developer security platform for securing code , dependencies , containers , and infrastructure as code .  Integra