Add PHP 7.4 support on Virtualmin GPL on CentOS 7 Distribution Rumi, April 14, 2022 Install Remi Release repo and clear cache yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm && yum clean all Install PHP packages version 7.4 and/or 8.0 yum -y install php74-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd,opcache,bcmath,imagick,mbstring} yum -y install php80-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd,opcache,bcmath,imagick,mbstring} Configuring Individual Virtual Servers You can configure the PHP version being used for a specific Virtual Server by selecting Server Configuration -> PHP Options. The first line there specifies what PHP version will be used by default. If you wish, you can specify a different PHP version to be used for a specific directory. Src: https://forum.virtualmin.com/t/php-7-4-not-showing-as-option-under-virtualmin/104088 https://stackoverflow.com/questions/64370480/linux-add-php-7-4-to-webmin-virtualmin Multiple PHP Versions Related Administrations Configurations (Linux) Networking PHP 7.4virtualmin
Install and Configure Fail2Ban for Zimbra on CentOS 7 September 12, 2023 Below is how to install and configure Fail2Ban for Zimbra. In this guidance, I use CentOS. Please adjust python-pip version if using another OS 1. Install pip yum install python3-pip 2. Install dependencies required by Fail2Ban pip3 install pyinotify pip3 install dnspython 3. Download and extract Fail2Ban cd /tmp/ wget… Read More
Fix Proxmox (PVE) “can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ – got timeout” (Proxmox can’t shutdown/stop virtual machine) (Proxmox kill/force stop virtual machine) August 14, 2020 The Issue When trying to “Stop” or “Shutdown” virtual machine from Proxmox (PVE) web gui, the “Cluster log” shows end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmstop:xxx:root@pam: can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ -got timeout end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmreboot:xxx:root@pam: VM quit/powerdown failed The Fix We can manually delete the lock from following path /run/lock/qemu-server # The file will… Read More
Postfix SMTP Rotating IP using IPTables August 1, 2022 I got 5 Public IPs. i’m Gonna configure them, so Postfix can use multiple interfaces/ips for outgoing smtp connections. First we need creating Interface aliases for those 5 public IPs. In my system, using centos: # cd /etc/sysconfig/network-scripts/ # cp ifcfg-eth0 ifcfg-eth0:1 Edit ifcfg-eth0:1 # vi ifcfg-eth0\:1 DEVICE=eth0 <– default… Read More