Remove OVH RTM (real time monitoring) from CentOS 7
ISP Manager Business: MariaDB upgrade
First need create the repo:
nano /etc/yum.repos.d/maria.repo
And past the repo info:
# MariaDB 10.3 CentOS repository list - created 2019-07-30 21:01 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
After that time to make the upgrade:
yum update -y
And fix the issues, takes after upgrade steps:
mv /etc/my.cnf /etc/my.cnf.back; mv /etc/my.cnf.rpmnew /etc/my.cnf
service mariadb restart;systemctl status mariadb.service -l
mysql_upgrade
service mariadb restart;systemctl status mariadb.service -l
ISP Manager Business: First steps:
cPanel: The domain already exists in the userdata.
Where to check:
whmapi1 domainuserdata domain=somedomain.com
grep -Rl somedomain.com /var/cpanel/users/
grep -Rl somedomain.com /var/cpanel/userdata/
grep -Rl www.somedomain.com /etc/apache2/
grep -Rl somedomain.com /etc/*domains
After that:
/scripts/updateuserdomains
/scripts/updateuserdatacache
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Softaculous: Incorrect binary permission Child failed to make LIVEAPI connection to cPanel.
Install NodeJS on CentOS 7
Add the app to the CloudLinux cagefs shell
engintron disable microcache
clamav and clamscan on CentOS7
yum install -y epel-release; yum install -y clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd
cp -v /usr/share/clamav/template/clamd.conf /etc/clamd.d/clamd.conf
perl -p -i -e 's/Example//g' /etc/clamd.d/clamd.conf
freshclam
The scan example:
clamscan -ir / >> /root/fullscan.`date +%d-%m-%Y_%H.%M`.report