Enable Automatic Updates – Fedora/Red Hat + Bonus Tip

Linux server security is crucial to Linux server administration. Part of keeping Linux servers secure is installing security updates shortly after they become available. Too often, compromised servers are a result of pending security updates awaiting manual installation. In general, for critical servers where you cannot afford unplanned downtime should be very careful with automatic updates. While there are […]

htop and top Alternatives: Glances, nmon

Previously we looked at top, atop, and indirectly (due to its popularity) htop. But are there other alternatives worth looking at? Regarding system health and performance, this is a matter of preference regarding the displayed data most important to you. We all prefer different ways of viewing the same thing. Update: also consider btop. htop […]

bash: /usr/bin/rm: Argument list too long – Solution

Over time, the storage used on Linux systems you manage will grow. As a result, you will, at some point, try to delete, move, search, or otherwise manipulate thousands of files using commands such as rm, cp, ls, mv, and so on, which are all subject to this limitation. As such, you will eventually come […]

Could not increase number of max_open_files to more than… (Solution)

A quick solution to the warning “Could not increase number of max_open_files to more than” when starting MySQL or MariaDB. For some background, read How MySQL Opens and Closes Tables. Here’s an excerpt: “The table_open_cache and max_connections system variables affect the maximum number of files the server keeps open. If you increase one or both of […]

Free vs. Available Memory in Linux

At times we will need to know precisely how our Linux systems use memory. This article will examine how to use the free command-line utility to view memory usage on a Linux system. In doing so, we will clearly define the difference between free vs. available memory on Linux systems.   Free vs. Available memory […]

Finding Linux Compatible Printers

Here’s all the info and links needed to find printers or all-in-one printers that currently support Linux. If you don’t want to spend hours comparing printers, have a look at my recommended Linux compatible printers. This is the promised update as per the comments section below, sorry about the delay! Fixed broken manufacture product links and replaced […]

PHP Performance: Additional CPU cores vs Faster CPU cores

Some time ago, I received an email from a client experiencing slow performance issues with a LEMP (Linux, Nginx, MySQL, and PHP webserver). During a full audit, I found that the server’s load average was pretty low (see above screenshot). However, the website was indeed very slow. There were some misconfigurations, but one of the […]

50 Top ‘Internet of Things’ Security Solutions

A couple of months back, I decided to maintain a list of companies that offer IoT (internet of things) security tools and solutions which you can find below. Feel free to share your solutions, feedback, and tips for securing IoT devices. In the future, I will update this list continuously. A few key questions arose […]

Linux top: Here’s how to customize it

The top command – referred to below as Linux top – is a command on Unix and Unix-like systems such as Linux, which provides a dynamic real-time overview of a running system. It can display system summary information and a list of processes or threads currently managed by the Linux kernel. The types of system […]

PHP-FPM tuning: Using ‘pm static’ for max performance

Let’s take a very quick look at how best to set up PHP-FPM for high throughput, low latency, and more stable CPU and memory use. By default, most setups have PHP-FPM’s PM (process manager) string set to dynamic and there’s also the common advice to use ondemand if you suffer from available memory issues. However, let’s […]