Install SVN PHP module from PECL on EasyApache 4

Basically, something is broken while attempting to install SVN module for PHP via “Modules installer” option. To manually install extension follow these steps: Download the SVN PECL package: wget pecl.php.net/get/svn-1.0.3.tgz Extract the package: tar xzf svn-1.0.3.tgz Run phpize for appropriate PHP version: /opt/cpanel/ea-php56/root/usr/bin/phpize Configure with appropriate PHP configuration: ./configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config Edit the Makefile to add following CFLAGS: CFLAGS = -g -O2 -std=c99...

May 23, 2017 · 1 min · Ivan Tomica

How to enlarge (resize) partition and expand LVM pool on top of it

Day or two ago I encountered a customer that had their server partitioned in a way that there was around 250GB of non-allocated space on disk. There were two partitions (sda1 and sda2) that were set up as /boot and LVM pool containing / mount point respectively. Naturally I’ve replicated that setup locally and simulated how to expand partition and LVM pool on top of it. All without loosing and data OFC....

April 28, 2017 · 2 min · Ivan Tomica

Installing cPanel on low memory system

This is more of an reminder for myself when trying to install cPanel system on cheap, low memory system, just to test something out. On CentOS 7 cPanel requires at least 1024MB of RAM, while on CentOS 6 it requires 768MB of RAM. If you have less than that install will straight out fail. I understand that this are recommended requirements, and that is not good idea to run anything serious on less memory than that....

March 24, 2017 · 2 min · Ivan Tomica

How to configure Bind with IPv6 on cPanel

This one is pretty simple, and if you properly set up your network settings when installing server it should work automatically, if not go to the Basic setup window: Navigate to the IPv6 settings section and enter your server main IPv6 address. Save settings and WHM should automatically rebuild your named.conf to listen on IPv6 address.

February 28, 2017 · 1 min · Ivan Tomica

Installing Let’sEncrypt SSL on cPanel DNSOnly

If you’re using cPanel DNS only you probably know that AutoSSL feature isn’t available on it. Reason for that is because DNSOnly cPanel installation doesn’t have web server running as classic version does. To circumvent this you may use certbot standalone mode to issue a Let’s encrypt certificate. Command you would use is: certbot certonly --standalone -d HOSTNAME -n -m CONTACT@EMAIL.EXAMPLE --agree-tos Ok, if domain resolves to the correct server certbot will launch its built-in web server and perform verification and hopefully certificate should be issued....

February 21, 2017 · 2 min · Ivan Tomica