Cloning a virtual machine in VirtualBox

Background Cloning of a virtual machine is the easiest way around to get the copy of the same operating system environment which saves time and effort of another installation and configuration of the same. Workaround Choose the virtual machine that should be cloned. Right click on the VM and select “Clone”.                                              Provide the “Name”, “Path”…

Configure sending mail by sendmail in Ubuntu Linux

Background: I need email functionality to send emails from the web server by querying data from MySQL database and email the result to appropriate recipient. Workaround:  Install sendmail. sudo apt-get update sudo apt-get install sendmail Install mailutils. sudo apt-get install mailutils Configure the /etc/hosts file, provide your domain name in the following format 127.0.0.1 localhost…