How to change default document root of Cpanel account in EA4

In EA4 CPanel has deprecated /usr/local/cpanel/bin/apache_conf_distiller –update, so in order to make manual changes, please follow the below steps: Step 1: Login to the server though SSH Step 2: Change the Document root in the below pasted files: /var/cpanel/userdata/Cpanel_username/ /var/cpanel/userdata/Cpanel_username/domain.com_SSL example: /var/cpanel/userdata/tech/ /var/cpanel/userdata/tect/techflavourz.com_SSL You can use the following command to […]

PDO_MYSQL installation error on EA 4

In order to install PDO_MYSQL we need to use pecl. But in some cases it will through the below pasted ERROR: config.status: executing libtool commands running: make /bin/sh /opt/cpanel/ea-php56/root/usr/var/tmp/php-pear/pear-build-rootViggf0/PDO_MYSQL-1.0.2/libtool –mode=compile cc -I -I/usr/include/mysql -g -m64 -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I. -I/opt/cpanel/ea-php56/root/usr/var/tmp/php-pear/PDO_MYSQL -DPHP_ATOM_INC -I/opt/cpanel/ea-php56/root/usr/var/tmp/php-pear/pear-build-rootViggf0/PDO_MYSQL-1.0.2/include -I/opt/cpanel/ea-php56/root/usr/var/tmp/php-pear/pear-build-rootViggf0/PDO_MYSQL-1.0.2/main -I/opt/cpanel/ea-php56/root/usr/var/tmp/php-pear/PDO_MYSQL -I/opt/cpanel/ea-php56/root/usr/include/php -I/opt/cpanel/ea-php56/root/usr/include/php/main -I/opt/cpanel/ea-php56/root/usr/include/php/TSRM -I/opt/cpanel/ea-php56/root/usr/include/php/Zend […]


Please Follow the below steps to create LVM and mount it on /home: Step 1: mv /home /home_temp/ Step 2: fdisk /dev/vdc (/dev/vdc you can verify the same using fdisk -l) ———Create an Linux LVM partiton fdisk /dev/vdc Device contains neither a valid DOS partition table, nor Sun, SGI or […]

Reference’s for Beginner (Linux)

Hi, ## Basics ## 1. Introduction to Linux — 2. Linux Architecture — 3. Windows Vs Linux Comparision — 4. Bash Shell features — 5. Linux Directory Structure — 6. Linux Boot Process Detailed explanation – 7. Basic and Common Commands – 8. All […]

DDOS attack measures

  How do we confirm that the server is under DDOS attack? We can confirm it by checking the result of netstat command: netstat -an|awk ‘/tcp/ {print $6}’|sort|uniq -c This will show the states and number of connections at that time. The different states that are visible mostly in servers […]

Page 1 Page 2