October 15, 2024
Linux Monitoring with Grafana and Prometheus
Observability has become an essential practice for managing systems, especially in complex and distributed environments. It allows system administrators and developers to monitor, measure, and visualize […]
January 1, 2023
How to Use Nginx for Web Server Configuration and Optimization
Nginx is a high-performance web server that can be used for web server configuration and optimization. In this article, we will discuss how to use Nginx […]
January 1, 2023
How to automate tasks in Linux with cron
As a sysadmin, you may often need to perform tasks on your Linux system at regular intervals, such as backing up data, checking for updates, or cleaning up log files. One way to automate these tasks is to use the cron daemon, which is a built-in Linux utility that runs processes on a schedule.
December 30, 2022
How to Set Up a LAMP Stack on Ubuntu
Setting up a LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu can seem intimidating at first, but with a little guidance, it’s actually quite straightforward. In this tutorial, we’ll walk you through the process step by step, and provide all the necessary code to get your LAMP stack up and running.
December 27, 2022
How to create a multiboot USB drive in Linux with bash
A multiboot USB drive is a USB drive that contains multiple operating systems, allowing you to boot and run multiple operating systems from a single USB drive.
December 27, 2022
How to create a multiboot USB disk
Some multiboot USB software may have additional features or options, such as the ability to customize the boot menu or add additional utilities to the USB drive. Be sure to refer to the documentation for the specific software that you are using for more information.
December 23, 2022
How to create a simple PHP+MySQL blog system
Creating a blog using PHP and MySQL is a relatively straightforward process that can be accomplished by anyone with a basic understanding of web development. In this tutorial, we will walk you through the steps of setting up a simple blog using PHP and MySQL, complete with code examples and an administration page for managing the blog's content.
December 22, 2022
Manage AD Users users via php script, and notify them on account expiration via e-mail
To manage AD users with PHP and the LDAP extension, you can follow these steps: Iterate through the search results using ldap_first_entry() and ldap_next_entry() to retrieve […]
December 22, 2022
How to kill a specific active SSH session after a defined time interval – version 2
How to kill a specific active SSH session after a defined time interval – version 2   There are a few different ways you can kill […]
January 22, 2020
Azure Linux – troubleshooting the “no boot/no ssh” scenario
Azure Cloud silently released some new features to help everyday Azure Cloud Administrators with troubleshooting the "no boot/no ssh" scenario.The efforts into this direction started about 2 years ago with the public release of the "Serial Console" feature, which finally allowed customers to reach out to their VMs from the Azure Portal, without the need of an SSH connection.
April 25, 2019
Azure Storage Explorer on Linux
Microsoft Azure Storage Explorer is a widely used tool by all Azure cloud administrators. However, with the increasing number of Linux VMs in the Azure Cloud, having a working version of Azure Storage Explorer on a Linux machine became a necessity, and Microsoft did took the 1st steps into providing one.
March 21, 2018
Force close active SSH connections after a defined time interval
How to kill an active SSH session after a defined time interval ?   Every Linux admin has used the idle timeout option  in /etc/ssh/sshd_config  given […]
December 22, 2017
Linux SSH authentication with Google
Today I decided to play around with the Google two factor authentication method on one of my Linux VMs hosted in Azure. What this means? Well, my idea was to have a VM that I ususaly login with my SSH key automatically, to prompt me for a code that changes every 30 seconds. Google Authenticator offers just that.
July 31, 2017
How to remove orphaned PID files
If you have multiple PID files for the same process ( e.g. 1_process_name.pid, 2_process_name.pid, ecc. ) you may have a situation like the one described above. So, how do you delete the PID files for the processes that are no longer running, without interfering with the running processes?
February 13, 2017
Install an configure tacacs+ on Debian 8 – part 2
Let’s connect our Cisco switch with our Debian 8 tacacs+ server The first step is to connect to the ASA device and gain privilege exec access. […]
November 17, 2016
Install an configure tacacs+ on Debian 8 – part 1
About a year ago we needed at work a simple authentication solution for a VPN, but we didn’t had the budget for a standalone solution (like […]