Category Archives: Linux Guides

Understanding suPHP Permissions – Why am I getting 500 Internal Server Error?

I see this topic come up a lot with users who migrate to one of our servers or to their own setup with cPanel and suPHP. The user or their customers will install a PHP script such as wordpress, concrete5, … Continue reading

Posted in Bash One-Liners, cPanel Guides, Linux Guides | Tagged , , , , , , , , , , , , , | Leave a comment

MyISAM Repair all MySQL Databases & Tables

So you’ve probably not made the switch to InnoDB or XtraDB yet, shame on you! But tonight your server crashed, ran out of disk space or otherwise corrupted all of your active tables across various databases. Ouch! How are we … Continue reading

Posted in Bash One-Liners, Linux Guides, MySQL | Tagged , , , , , , , , | Leave a comment

suPHP on CentOS 6 from Source Code

So you’ve decided that you must run php as suPHP on your CentOS 6 based LAMP stack. This is a great idea for security on a multi-site or multi-user environment. Of course management panels like cPanel make running suPHP very … Continue reading

Posted in Linux Guides | Tagged , , , , , , , , , , , | Leave a comment

CRON ERROR: failed to open PAM security session: Protocol not supported

Got an interesting report of an error on one of our servers. I was told crons for a user account on our server weren’t running. I tailed the cron log (/var/log/cron) and came to find these errors:

Posted in Linux Guides | Tagged , , , , , , , , , , | Leave a comment

ZFS on Linux RC10 released!

The ZFS on linux team has released a new version of SPL and ZFS with multiple benefits to users. The new version is 0.6.0-rc10 and our guide found here is being updated now: Installing ZFS RAID-Z on CentOS 6.2 with … Continue reading

Posted in Linux Guides | Tagged , , , , , , | Leave a comment

Pick random line from text file with bash and shuf.

So lets say you have a text file called list.txt with entries like: What if you wanted to pick a random entry? The easiest solution is to use the ‘shuf’ tool, which is standard on CentOS as part of coreutils. … Continue reading

Posted in Bash One-Liners, Linux Guides | Tagged , , , , , , , | Leave a comment

New ZFS on Linux release (RC9).

We have one of the most comprehensive guides on the internet for ZFS. Please check the updated guide for assistance with installing ZFS on Linux, specifically CentOS 6.2 here: Installing ZFS RAID-Z on CentOS 6.2 with SSD Caching

Posted in Linux Guides | Tagged , , , , | Leave a comment

No module named cElementTree yum update error

Found yum broken on a legacy CentOS 5.x server while installing updates. The error was: root # yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: … Continue reading

Posted in Linux Guides | Tagged , , , , , , | 1 Comment

Installing ZFS RAID-Z on CentOS 6.2 with SSD caching.

Updated August 16th, 2012 I recently had a project that required data storage with deduplication, data integrity assurance, and hardware fault tolerance. Instead of going with a traditional hardware RAID solution I opted to test out ZFS. My configuration utilized … Continue reading

Posted in Linux Guides | Tagged , , , , , , , , , , , , , , , , , | 8 Comments

KVM Hardware Virtualization on CentOS 6.2 Dedicated Servers

I wrote this guide to show you how to do a proper KVM setup on your CentOS dedicated server. We will be using VNC and connecting to the dedicated server remotely from your workstation. I realize there are a lot … Continue reading

Posted in Linux Guides, Virtualization | Tagged , , , , , , , , , , , , , , , , , , | 2 Comments