Tag Archives: linux

Linux – How to Securely Copy Files Using SCP examples

This post includes SCP examples. SCP or secure copy allows secure transferring of files between a local host and a remote host or between two remote hosts. It uses the same authentication and security as the Secure Shell (SSH) protocol from which it is based. SCP is loved for it’s simplicity, security and pre-installed availability.   SCP […]

50 Top Server Monitoring & Application Performance Monitoring (APM) Solutions

November 9th 2017 update: 70 100 Top Server Monitoring & Application Performance Monitoring (APM) Solutions. August 6th 2017 update: 50 70 Top Server Monitoring & Application Performance Monitoring (APM) Solutions. Back in 2014, I compiled a list of the top 20 server performance monitoring solutions. Largely because I already had a list saved locally for my own reference. Sharing that list publicly […]

Generating Secure Passwords for your Linux Server

Very often sysadmins will have to setup new servers or harden existing server passwords during security audits. As a result, secure passwords have to be chosen for root, cPanel accounts, ftp, etc. There are many composite practices that make a server secure, but often overlooked is using secure passwords. Notice that SSH or MySQL root […]

‘Clean’ upgrade to PHP 7.* (CentOS / Debian / Ubuntu)

Earlier this year, I wrote a short article: 80% of the web powered by PHP. Also, in the article it was noted that more than 90% of PHP based websites are still using PHP 5. This remains true today. It must be said however, in the past 6 months, there’s been more upgrades to PHP 5.6 […]

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

Lets take a very quick look at how best to setup PHP-FPM for high throughput, low latency and a more stable use of CPU and memory. 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, lets compare the two management […]

Alternatives to top and htop

We’ve covered top, atop and indirectly due to it’s popularity as top’s alternative… htop (the last screenshot).  But are there any others worth looking at? That was the question today in the ask.haydenjames.io Linux forum. This is largely a matter of preference regarding what data is most important to you as it pertains to system health […]

Linux top: Here’s how to customize it

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for processes are all user […]

Using CentOS CR (Continuous Release) Repo

CentOS (Community Enterprise Operating System) is a Linux distribution that attempts to provide free, enterprise-class, community-supported computing platform functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL). CentOS is run by volunteers who work directly with Red Hat’s RPM source files and pushing them to CentOS for release. At times the project will fall behind […]

Kali Linux non-root install w/ screenshots

NOTE: If you are here for a penetration testing install guide of Kali Linux, this guide is NOT for you. The default install of Kali Linux contains many tools which can only run with root privilege. You should instead follow Kali’s default install method for root install and understand the risks. This guide will walk you […]

Linux Performance: Why You Should Almost Always Add Swap Space

We know that using swap space instead of RAM can severely slow down the performance of Linux. So then, one might ask, since I have more than enough RAM available, wouldn’t it better to remove swap space completely? The short answer is, No. There are performance benefits when swap is enabled, even when you have more than enough […]