Installing LetsEncrypt SSL Certificates on CentOS + cPanel Servers

Update! cPanel supports LetsEncrypt, but you just need to install the plugin for it to work. To do this, run: /scripts/install_lets_encrypt_autossl_provider Once installed, Let’s Encrypt will appear in WHM’s Manage AutoSSL interface (Home >> SSL/TLS >> Manage AutoSSL) where you can enable the provider. At the time of this writing, LetsEncrypt is in public beta…

Read more

How to Convert InnoDB to innodb_file_per_table and Shrink ibdata1

Years ago, MySQL started allowing InnoDB to possess separate tablespace per table instead of a massive unified ibdata1 file.  Tablespace is basically a logical storage area that contains table information – references, if you will.  Every table, regardless of the storage engine, has one, and without it the table will be unrecognizable to MySQL.  MyISAM stores…

Read more

Restoring DNS Zones on a cPanel Server

In rare situations, the DNS zones located in /var/named might disappear. We’ve heard of this happening after certain bind package updates, or simply due to administrator error. In either case, it may be possible to restore or at least recreate the missing zones.  Even if the server in question does not act as a nameserver,…

Read more

Setting up a Red5 Flash Media Server

This post will explain a simple process for installing a Red5 Flash Media server in a VPS or Dedicated environment. Install Subversion and Java yum -y install java-1.7.0-openjdk java-1.7.0-openjdk-devel yum -y install subversion Install Ant (get the latest from http://ant.apache.org/bindownload.cgi) cd /opt wget http://apache.spinellicreations.com/ant/binaries/apache-ant-1.9.0-bin.zip unzip ant/binaries/apache-ant-1.9.0-bin.zip mv apache-ant-1.9.0 ant ln -s /opt/ant/bin/ant /usr/bin/ant Update bash…

Read more

Fixing Permissions of Valiases

I wrote this script a while back to fix the permissions of alias files in /etc/valiases when users were having trouble creating forwarders. You can also download the script in plaintext here. #!/bin/bash # Script to fix permissions of valiases # Written by: Vanessa Vasile 5/17/10 # http://thecpaneladmin.com for domain in `cat /etc/userdomains |awk ‘{print…

Read more

Log in