Entries by admin

odbc and php mssql support for cloudlinux

For your Cloudlinux or a different Redhat based server, add the appropriate version repo below to your server. #RHEL 7 and Oracle Linux 7 #curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo #RHEL 8 and Oracle Linux 8 # curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo #RHEL9 # curl https://packages.microsoft.com/config/rhel/9/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo Delete any potentially conflicting […]

Phalcon Php Framework 3.x Installation

Phalcon 3.x (old version) installation steps on Cyber Panel + Ubuntu 20 server 1.Install the pecl and pear plugins for the php version you want. apt install lsphp72-pecl lsphp72-pear   2. Download Phalcon 3.4.5 tar file. wget https://github.com/phalcon/cphalcon/archive/refs/tags/v3.4.5.tar.gz tar zxvf v3.4.5.tar.gz cd cphalcon-3.4.5/build/ ./install   3.If all steps are successful, add the ini file Create […]

Centos /Cloudlinux 7 error restarting a systemd service

Unable to register authentication agent ** (pkttyagent:478736): WARNING **: 18:16:34.777: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) # groupadd -g 23 nohidproc # usermod -a -G nohidproc polkitd # mount -o remount,rw,hidepid=2,gid=nohidproc /proc # systemctl restart polkit     […]

Fix the glibc error at boot

Environment: Centos 7 Boot Process Error : System Hanging at “Starting Switch Root”,Boot fails. Solution: Replace/Reinstall glibc-x.x.x.el7.x86.64 package after boot your server with centos rescue dvd / cd / iso image rpm -ivh –root=/mnt/sysimage –replacefiles –replacepkgs /run/install/repo/Packages/glibc-x.x.x.el7.x86.64.rpm

Imunify360 enable malware cleanup for all users

One line script for enable malware cleanup for all users.It can be used as batch script for every feature those can be applied only user basis. Other command line options described here for i in $(awk -F: ‘ $3 >= 10000 {print $1}’ /etc/passwd); do imunify360-agent feature-management enable –feature av –users $i; done