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, etc… Upon testing their installation they will get 500 ISE (Internal Server Error) in their
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 going to fix this one? Many admins try using the myisamchk tool from shell in
I recently had an issue where we lost the password for IPMI to a brand new Supermicro server. The server was running Windows 2008 STD. Not wanting to mess around rebooting the box to a livecd I had to find a solution to reset the password. This could be very useful for those of you
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 easy, but what about the rest of us? Many of us do not use cPanel,
AWK is a powerful tool, a language really, that every administrator needs to know. I recommend everyone read about awk and learn how to use it. It can really make your day when you need to do something, quick and dirty. You will definitely win some friends with your awk skills, but probably not too
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:
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. The output would be a random line from our file!
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: No module named cElementTree Please install a package which provides this module, or verify that
Updated February 22nd, 2015 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 a single 120GB SSD drive and four 1TB SATA drives. My solution was to run
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 of other guides for utilizing Kernel-based Virtual Machine (KVM) hardware virtualization. What sets this guide