Editing Files in Vim Cheat Sheet

Vim is a very powerful text editor that provides a huge array of extended functionality over the standard editors included with Linux distros.  This Vim cheat sheet contains a common set of functions an every day user will most often use,  however it by no means covers everything. For full functionality, you should read the Vim documentation. ...

Linux SSH Cheat Sheet – Basics

Understanding SSH is fundamental to server management, and being able to quickly fire off commands to move around, view/edit files, update configurations, etc is essential to effectively investigating issues you are presented with. We hope this linux ssh cheat sheet will help you get the basics. A popular free SSH client used by many of ...

Install ImageMagick On A cPanel Server

Install ImageMagick On A cPanel Server
If you are running a cPanel server, you may be aware they recently removed their ImageMagick installation script. This now means that to install ImageMagick on a cPanel server, you must either use yum or perform a manual installation. The CentOS 6.x repositories are much more current than they used to be, so it is now a relatively ...

Install htop in CentOS

Install htop in CentOS
Htop is a text-mode, interactive process viewer for Linux run via console/ssh, and to install htop in CentOS is a pretty simple task. Among other things, htop allows you to: quickly view key performance statistics such as CPU(multi-core layout) and Memory/Swap usage; scroll the process list vertically and horizontally to see all processes and complete command lines; kill processes ...

Remove All error_log Files In Home Directory

If you ever find yourself wanting to remove the error_log files from all the hosted sites on your server, and you have access to the server via SSH, the following command will quietly remove these files in one hit. find /home/ -type f -name error_log -delete

cPanel Server Hardening

Performing some basic cPanel server hardening steps is essential in protecting your server and its hosted content from unwanted access.  Whilst the steps below are no guarantee that your server will not be accessed by intruders or used for rogue activities, these are some of the good practices you can follow to help minimise the ...

Install GotRoot ModSecurity Rules On A cPanel Server

Install GotRoot ModSecurity Rules On A cPanel Server
ModSecurity is a web application firewall that provides script request filtering to prevent poor or malicious coding from being executed or exploited on a Linux server. This module is easily installed when running a cPanel server by using the EasyApache application and is highly recommended to enhance your server’s security. Install GotRoot ModSecurity rules on a ...

Disable Use Of Custom PHP.INI files On cPanel Server

When compiling Apache using cPanel’s EasyApache application, you have the option of installing ‘Mod suPHP’, which is just one of many options that make your php installation more secure when hosting multiple sites on the same server; e.g. shared hosting server. When you have Mod suPHP installed, you can configure your server to force the ...