Posts

Netcat: ( TCP/IP Swiss Army Knife ) | DevOps | Linux | Use-Cases

Image
netcat (often abbreviated to nc ) is a computer networking utility for reading from and writing to network connections using TCP and UDP The command  is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities.  Features:   - port scanning, transferring files, and port listening, and it can be used as a backdoor The way I learn CLI tools is by first learning the usage of the tool, followed by committing a few simple commands to muscle memory I have tried to cover few use cases with netcat in this video Thanks you, Subscribe osgroup-techies for more  

Certification for Kubernetes? I got it covered.

Image
Working in such a rapidly growing software industry, there are new software and certifications which are announced almost every day. And for every new certification announced, you would think that doing it would be cool or help you in your career. Similarly, I saw some of the certification announcements, which included AWS, Azure, Jenkins, Docker, and Kubernetes certification. My initial thought was that I should do each & every one of them, but time passed by and here I am, with just one and only certification "CKA". This made me realize and question myself if completing a certification is necessary. Decision : Here is my take on it. Holding a certification won’t get you on top of the world, and not holding one will not make you fall. That being said, I enrolled to complete CKA, and here are a few points which made it easier for me to decide. 1. Cost : For some, this may not be the most important, but I still consider if its worth spending 200/300$ for it...

What happens when you turn on the wifi on your phone.....

Image
Bit Of Theory 😐       DHCP(Dynamic Host Configuration Protocol) : ~                           -  assigns an IP address and other network configuration parameters to each device on a network so they can communicate with other IP networks      My Phone When , I have No Ip  Now I Turn On my wifi (Things Work Happy Me😊 The DORA Process: Behind the Scenes Discover:             - DHCP Client ( your phone in this case ) sends out a DHCP Discover message to find out the DHCP ( your Router ) server What DHCP Discover message looks like? Offer    - DHCP server ( your router ) receives the DHCP discover message from client and sends back the DHCP offer message  How does DHCP Offer messag...

/bin/systemd systemd, init - systemd system and service manager

Image
Systemd : ~ systemd system and service manager. it runs as daemon with PID 1 Hey Guys, In this post, i will be demonstrating my experience with systemd😎😎 Sharing knowledge is the most fundamental act of friendship, because it is a way you can give something without losing something . Slower Boot times ? | Find the Culprit | Analyze with Systemd👮         Most of time we face a problem of slower boot times when we suddenly reboot or normally boot up our systems either be our local machines or production machines. It is always good to go find out the process causing this and handle it accordingly. systemd-analyze helps you get the exact details of all the processes enabled to start when computer start with total time taken and their contribution in slower boot times.          lets see few examples.....👀 Systemctl - Service Manager || Few useful use cases with nfs-server💀💀 Systemctl - L...

VIM ( Vi IMproved ) The Superstar - - - DevOps IDE

Image
Why vim ? very low memory footprint which makes it super fast popular , supports all programming languages free and Open Source , Always available Few Use Cases and Tips: Edit Multiples Files          I am big fan of vim. most of the time i have to work with multiple files and create them parallel , had to switch between the files and view the dependent variables. with vim it becomes easy and fast . In one my post https://osgroup-techies.blogspot.com/2020/05/elasticsearch-cluster-on-k3s-light_86.html I have provisioned es cluster now i will be creating manifests for kibana . i will be creating service , configmap and deployment in three different files using vim multiple screen feature although i can create the manifest in a single file, but i did so just to have proper readibility and understanding on k8s components for kibana.       Lets See how it looks like: ~ Line Numbers and Highligh...

Running GUI Applications inside Containers - Firefox | Gedit and many more

Image
Key Benefits:     Disposable Infrastructure  Its really fun 😷  , It is always good to know how things work.. Requisite: Lxd installed on your workstation (local laptop or wherever you are going to accomplish this) Love for Linux💝 Theorem:👇 Create a LXD Profile  Launch Container Get high on Contianers  🎶 Lets get our hands dirty... In case you are interested in theory and concepts: Profiles store any configuration (key/value or devices) that an instance(container instance) can  have   / etc/subuid && /etc/subgid  (idmaps for user namespace) : - mapping uids and gids on host to a set of uids and gids in a container  want more indepth understanding on idmaps connect with me

How to troubleshoot SSH Connection issues / SSH Connection Refused - Solved || Explained

Image
The Story..... We have two machines amazing-seasnail and first-shiner . first one being client and latter being server . ubuntu user on amazing-seasnail machine is configured connect to first-shiner . But due to some reason i am not able to do ssh login to first-shiner.         I have tried to simulate few problems and how to go about in these situations and what could be possible causes Here it goes .......  Thanks you guys !! Have a great day ahead. Stay home stay safe, Keep learning keep  sharing .