Category: Installation

Installation

Allow CloudFlare IP addresses with ipset?

IP sets are a framework inside the Linux kernel, which can be administered by the ipset utility. Depending on the type, an IP set may store IP addresses, networks, (TCP/UDP) port numbers, MAC addresses, interface names or combinations of them in a way, which ensures lightning speed when matching an entry against a set. To …

CPanel / WHM, Installation

cPanel EasyApache 4 Installing Redis and Redis PHP extension

cPanel EasyApache 4 Installing Redis and Redis PHP extension Installing the Redis daemon: for CentOS 6/RHEL 6 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum -y install redis –enablerepo=remi –disableplugin=priorities chkconfig redis on service redis start for CentOS 7/RHEL 7 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum -y install redis –enablerepo=remi –disableplugin=priorities systemctl enable redis systemctl …

CPanel / WHM, Installation, Uncategorized

command to activate VG on LVM?

Command to activate VG on LVM? When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups. To activate, # vgchange -ay my_vg_name To De-activate, # vgchnage -an my_vg_name A command to activate the VG in a cluster? To …

CPanel / WHM, Installation

Can’t locate DateTime perl module

If you are getting below error while installing any application on linux then perl date time module is missing. Can’t locate DateTime. pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at gatherbot_en.pl line 13. BEGIN failed–compilation aborted at gatherbot_en.pl line 13. You can use below command to install Datetime on server. yum install perl-DateTime-TimeZone -y After that if you are getting below error. Can’t locate Date/Parse.pm in @INC Then please run below command. It …

Control Panel, CPanel / WHM, Installation, MySql

How to replace MySQL with MariaDB in cpanel

Backup existing MySQL data Make sure to save all existing data just in case there are any issues. cp -Rf /var/lib/mysql /var/lib/mysql-old mv /etc/my.cnf /etc/my.cnf-old Disable the targets so cPanel no longer handles MySQL updates The following will mark the versions of MySQL we distribute as uninstalled so they are no longer maintained by cPanel/WHM /scripts/update_local_rpm_versions –edit …