Sometimes you get into a situation where you need to delete all files in a directory or simply cleanup a directory by removing all files except files of a given type (ending with a particular extension). In this article, we will show you how to delete files in a directory except certain file extensions or types using rm, find and globignore commands. ..
Nowadays, more companies move their application to the cloud. Mostly on AWS, GCP or Azure. Using cloud infrastructure reduce their investment in hardware purchase or managing server infrastructure. Despite many benefits of running workload on the cloud, some companies opt to use a multi and/or a hybrid cloud approach. There are several reasons for this, ..
Microservices often communicate with each other to fulfill complex business operations, creating security and scaling challenges. Mutual Transport Layer Security (mTLS) can help. Here’s how to get started. Kubernetes, the de facto orchestration platform for containerized applications, provides a powerful environment for deploying and managing microservices. But as the number of interconnected services grows, the ..
Before you begin Before shrinking a WSL2 virtual disk, you need to ensure that WSL2 is not running. You can check if it’s running with the command ‘wsl.exe –list –verbose‘ in PowerShell: PowerShell PS C:\Users\valorin> wsl.exe –list –verbose NAME STATE VERSION * WLinux Running 2 Debian Stopped 2 Ubuntu-18.04 Stopped 2 kali-linux Stopped 2 It ..
One of the reasons why you may consider setting up a local apt repository server is to minimize the bandwidth required if you have multiple instances of Ubuntu to update. Take for instance a situation where you have 20 or so servers that all need to be updated twice a week. You could save a ..
Traditional storage management I use the phrase traditional storage management to describe the process of partitioning, formatting, and mounting storage capacity from a basic hard disk drive. I contrast this standard partitioning with an alternative method called Logical Volume Manager, or LVM. Storage space is typically managed based on the maximum capacity of individual hard disk drives. ..
Introduction Nginx is a high performance web server that is responsible for handling the load of some of the largest sites on the internet. It is especially good at handling many concurrent connections and excels at serving static content. While many users are aware of Nginx’s capabilities, new users are often confused by some of ..
Apache Install A basic Apache install is very easy: # sudo aptitude install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert ServerName Towards the end of the install you will see this warning: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName Although I’ll be going into some detail about the ..
ExternalDNS is a relatively new Kubernetes Incubator project that makes Ingresses and Services available via DNS. It currently supports AWS Route 53 and Google Cloud DNS. There are several similar tools available with varying features and capabilities like route53-kubernetes, Mate, and the DNS controller from Kops. While it is not there yet, the goal is for ExternalDNS to include all of the functionality of the other options by 1.0. In ..
Anyone who has spent time developing Spark applications (or any other distributed application for that matter) has probably wished for some x-ray goggles into the black-box machinery of the framework. While Spark provides a nice and increasingly feature-rich UI for checking on the status of running tasks and even gives statistics on things like runtime, memory usage, ..