In Linux, we use services to keep important programs running smoothly, like a web server or a database. But sometimes, these services fail because of errors, crashes, or system issues. When that happens, you donât want to sit and restart them manually every timeâitâs a waste of effort and time. Thatâs where automation comes in handy. With tools like systemd, which is very common in Linux systems today, you can make your services restart on their own if they stop working. This keeps everything running without you needing to check constantly. Systemd is like a manager for services in Linux.…
Author: Rahul
Hey there, fellow sysadmins! If youâre reading this, you probably already know Docker is a big deal. Itâs like that trusty pressure cooker in your kitchenâmakes life faster and easier. But just like cooking, thereâs always room to level up your skills. In 2025, Docker is still rocking the tech world, and Iâm here to share some advanced tips to help you master it. Letâs dive inâno complicated jargon, just simple stuff that works! Why Docker Matters in 2025 Docker containers are everywhereâweb apps, microservices, DevOps pipelinesâyou name it. Theyâre lightweight, fast, and save us from the âit works on…
Monitoring your systems doesnât have to be a chore. If youâre running an Ubuntu server and want to keep tabs on performance metricsâlike CPU usage, memory, or disk I/OâPrometheus and Grafana are a dream team. Prometheus collects the data, and Grafana turns it into beautiful, easy-to-read dashboards. Iâve set this up a few times myself, and while it might seem daunting at first, itâs pretty straightforward once you break it down. Letâs walk through it together, step by step, and get your monitoring stack running on Ubuntu. For this guide, I am running a Ubuntu 24.04 (a solid LTS release…
Hello friends! Today, we will learn how to put Minikube on your Ubuntu computer. Minikube is a tool that runs Kubernetes, a very popular thing for managing apps, on your own machine. Itâs easy to do, and Iâll show you everything step by step. We will also need kubectl (a command tool for Kubernetes) and Docker (a tool to run containers). Donât worry, Iâll explain it all in simple words like weâre chatting! This simple tutorial uses an prewritten shell script that will install and configure complete k8s cluster using Minikube on your Ubuntu and other Debian based systems. The…
Minikube is a tool that helps you run Kubernetes on your own computer. It creates a small virtual machine that runs a single-node Kubernetes cluster. This helps developers test and learn Kubernetes without needing a big server. Minikube is easy to install and works on Windows, macOS, and Linux. This tutorial will help you to to setup K8s cluster on you Windows machine with the help of minikube. You must have a hypervisor installed on your Windows system like VirtualBox. So lets get started with the VirtualBox installation. Step 1: Installing VirtualBox Use the following steps to download and install…
ChromeDriver is a small software that helps other programs (like Selenium) to control Google Chrome browser automatically. If you want to automate a web browser using Selenium on Ubuntu or any other system, you need ChromeDriver. This small software helps Selenium control Google Chrome for testing websites or scraping data. In this tutorial, we will help you to install correct ChromeDriver version that work properly with installed Google Chrome version on your Ubuntu and other Debian based systems in a very simple way. Step 1: Update Your System Open the Terminal (press Ctrl + Alt + T). Execute following command…
With the help of the following command, you can easily find top 10 processes that are consuming high memory on any Linux system. ps is the default command available in most of Linux operating system that provide details about running processes and resource utilization details in the system. Open a terminal and execute following command: ps -eo pid,cmd,%mem,%cpu –sort=-%mem | head Output will print top 10 processes that are consuming high memory on your system in descending order. You can also use top command to filter processes by memory utilization. Example: Using ps command Here is the sample output of…
With the help of the following command, you can easily find top 10 processes that are consuming high CPU resources on any Linux system. ps is the default command available in most of Linux operating system that provide details about processes in system. Open a terminal and execute command: ps -eo pid,cmd,%mem,%cpu –sort=-%cpu | head Output will print top 10 processes that are consuming high cpu on your system in descending order. You can also use top command to filter processes by cpu utilization. Example: Using ps command Here is the sample output of ps command that shows top 10…
The APT cache stores downloaded package files on your system. Over time, this cache can take up significant disk space. How do you clear the apt cache? You simply use this apt clean command option: apt clean Clearing the APT cache is a simple way to free up space while keeping your system running smoothly. Clear Apache Cache: Step by Step Guide Step 1: Check Disk Space Usage Before clearing the APT cache, check how much disk space is currently used by the cache. Open a terminal and execute the following command: sudo du -sh /var/cache/apt This will show the…
I am working on a AI model that have a few files larger than 10MiB of trained model. While pushing those models to huggingface repository I got an error saying the files are too large to upload. Hugging Face has a size limit for single files, and files larger than 10MiB need special handling. This means I need to change the way I upload or store these files. This article will help you understand why this error happens and how you can fix it. You will learn how to push large files to a Hugging Face repository step by step.…