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: A Step-by-Step Guide for SysAdmins
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 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 […]
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.
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?