New VPS setup

Before a few hours ago this site was hosted on an OpenVZ container running a cPanel LAMP stack which was provided by the company I work for.  I found a $10 credit for DigitalOcean so I decided I would configure a LEMP stack and move this site over there since…

read more

CloudLinux mod_lsapi benchmarks

CentOS release 7.3 KVM guest: 1 CPU core (E5-2620) 4GB RAM (DDR4 2133MHz). Apache Config: StartServers 1 MinSpareServers 2 MaxSpareServers 4 ServerLimit 100 MaxRequestWorkers 80 MaxConnectionsPerChild 5000 KeepAlive On KeepAliveTimeout 2 MaxKeepAliveRequests 20 Timeout 100 PHP-FPM 5.6 Zend OpCache / Apache 2.4.23 / Nginx 1.11.6 root@openstack.donthurt.us:~ # siege –concurrent=80 –reps=100 http://blog.donthurt.us…

read more

Softaculous and CageFS

Sometimes when installing CloudLinux after Softaculous is installed Softaculous is unable to detect PHP versions outside of the server’s native PHP installation. The following steps need to be taken to configure the pre_install hooks for Softaculous to recognize multi-PHP from the command line: cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_install_cagefs{.txt,.php} cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_upgrade_cagefs{.txt,.php} cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_clone_cagefs{.txt,.php} After…

read more

Changing PHP handlers outside of WHM

cPanel makes it easy to change the handler Apache uses to interpret and execute PHP code. Changing the PHP handler is much quicker if done through the command line. EasyApache 3 With EA3 the PHP handler can be changed with /usr/local/cpanel/bin/rebuild_phpconf using the following syntax: DEFAULT_PHPVER PHP4_HANDLER PHP5_HANDLER SUEXEC_MODRUID2 For…

read more

Administering ZFS

What is ZFS? ZFS is an advanced, enterprise grade COW (Copy on Write) filesystem and volume manager. It has many features which make it easier to adminster than traditional UNIX filesystems+volume managers. Key Features Online filesystem/volume resizing. Realtime data deduplication and compression. Filesystem snapshots. Checksum all the things. Volume management…

read more

What is DKIM?

DKIM What is it? DKIM (DomainKeys Identified Mail) is a method to validate the authenticity of email messages. When an email is sent it is signed using a private key on the sending mail server and then validated on the recipient mail server using a public key that is contained…

read more