Resetting email account password from Command line in cPanel 1) Login to the server as root via SSH 2) Run the command “openssl” and you will see this: [email protected] [~]# openssl OpenSSL> 3) Now in the OpenSSL prompt give the command : passwd -1 “your_new_email_password” [email protected] [~]# openssl OpenSSL> passwd -1 “[email protected]” $1$m4pq941w/j$1KYI5VwHl8C6h9H6ScTFNWy/ OpenSSL> quit Please note ...
Category: CPanel / WHM
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 ...
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 ...
Optimize MySQL & Apache on cPanel/WHM server
Optimize MySQL & Apache on cPanel/WHM server On this optimization process, we will go over the Apache core configuration and modules that are part of Apache core. We think that with the correct settings of Apache and MySQL you can get excellent results and the correct level of resource use without installing third-party proxy and cache modules. ...
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 After that if you are getting below error. Can't locate Date/Parse.pm in @INC Then please run below command. It will ...
How to change the color of your BASH prompt
How to change the color of your BASH prompt You can change the color of your BASH prompt to green with this command: export PS1="\e[0;32m[\[email protected]\h \W]\$ \e[m" It will change the colour of bash temporarily. To make it permanent then add code in bash_profile page. vi ~/.bash_profile and paste above code save the file and you ...
Kill restore process in new cpanel
Kill restore process in new cpanel In new cpanel/WHM when we try to kill restore process it is still showing in WHM >> restore full backup. Below are the steps to remove that process from WHM. You can manually mark the transfer as completed using the following instructions: Ensure the transfer is no longer ...
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 ...
Default Automatic index page when new account is created in cpanel/WHM
Default Automatic index page when new account is created in cpanel/WHM We all want to show default index page when new account is setup. Below are the steps: First of all we have to create below folder. mkdir /root/cpanel3-skel mkdir /root/cpanel3-skel/public_html Create default index page. vi /root/cpanel3-skel/public_html/index.html save and quit the file. If ...
How to Configure Multiple shared IP's in WHM
How to Configure Multiple shared IP's in WHM It is not possible to add multiple shared IP's from WHM but it is possible to do it from SSH. First of all we need to create a /var/cpanel/mainips/ directory if it is not present. mkdir /var/cpanel/mainips/ Then we have to create a file. vi /var/cpanel/mainips/root ...