We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

Category: Linux/CentOS

Change time zone on Amazon Linux AMI [AWS]

First, we need to  configure AWS instance to use the Amazon Time Sync Service :   Connect to your instance and uninstall the NTP service. [ec2-user ~]$ sudo yum erase ‘ntp*’ Install the chrony package. [ec2-user ~]$ sudo yum install chrony Open the /etc/chrony.conf file. Verify that the file includes the following line: server 169.254.169.123…

Fix : HTTP Error 404 – Not Found errors in yum on Cloudlinux Server

  If you get 404 Page Not found errors while installing or updating any applications with yum like as below http://repo.cloudlinux.com/kernelcare/7.4/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found http://repo.cloudlinux.com/other/cl7.3/mysqlmeta/cl-mariadb-10.1/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found Please comment out the following line in /etc/yum.conf : distroverpkg=cloudlinux-release You can run…

How to Safely Change the Location of MySQL Data Directory on cPanel/WHM CloudLinux Servers

1. Make a full mysqldump file # mysqldump –opt -uroot -proot_password > /tmp/mysqldump 2. Uncheck monitor in WHM > Service Manager for Mysql and save the area 3. Stop MySQL service # /etc/init.d/mysql stop 4. Ensure that the following settings are present check file /etc/systemd/system/mariadb.service.d/homedir.conf [Service] ProtectHome=false ProtectSystem=off 5. Make…

Fix CDP r1soft error : Could not find a suitable hcpdriver module for your system

When you enter below commands to update cdp kernel module r1soft-setup –get-module OR serverbackup-setup –get-module You will get below error : Failed to find headers at `/lib/modules/3.10.0-693.11.6.el7.x86_64/build. Get module failed. Falling back to old get-module   # You need to check if you have the necessary tools to build the…

How to increase phpMyAdmin Upload Limit on Centos Web Panel CWP server

Sometimes you want to upload or import large mysql database through phpMyAdmin but it fails with upload limit error. Follow below steps to increase upload or import limit for phpMyAdmin : # Login with root user on Centos Web Panel CWP server # Open below file : /usr/local/cwp/php71/php.ini Search for upload_max_filesize and post_max_size…