virtualmin server configuration

Change PHP version in Virtualmin Server

To change PHP version for a web site hosted in Virtualmin, click on the Virtualmin tab. Select the domain from

fatal: open /etc/postfix/main.cf: Permission denied

fatal: open /etc/postfix/main.cf: Permission denied

On a CentOS server, when sending mail from PHP scripts, mail failed to work. On checking postfix log file (/var/log/maillog),

Protecting files with noclobber

Protecting files with noclobber

To protect files on Linux by accidently overwritten by > operator, you can use Now if you try to overwrite

Extract Audio from Video using ffmpeg

Extract Audio from Video using ffmpeg

To extract Audio from Video using ffmpeg, run

Email Alert When User Login Using SSH

Email Alert When User Login Using SSH

On web servers, you may need to get email alert when someone login to your server using SSH. To do

KVM VNC Allow Remote Access

KVM VNC Allow Remote Access

By default VNC Console on a KVM virtual Machine only listens to localhost. So you need to do SSH tunnel

Bash Script to Monitor Disk Usage

Bash Script to Monitor Disk Usage

This script will check disk usage on / partition and email you if disk usage is above 80% We can

Install Linux KVM on CentOS 8

Install Linux KVM on CentOS 8

To install Linux KVM hypervisor on CentOS 8, run Install libvirtd Enable libvirtd to start on boot Start libvirtd To

Joining files with Cat on Linux

Joining files with Cat on Linux

I have a movie cut with hjspit. To join them on Linux, run

Docker delete container after running

Docker delete container after running

When you run a docker image, it create a container and run it. After docker container stop, container stays, so

apt force IPv4

apt force IPv4

One of my internet provider only provide IPv4 connection. When i run apt install command, it failed with error as

CentOS 7 resolv.conf make changes permanent

CentOS 7 resolv.conf make changes permanent

On rebooting CentOS 7 server, changes made to resolv.conf is lost. This is becaise one of the network interface is