Install Debian 9 with RAID 1

By // No comments:

Install wildcard certificates for apache

By // No comments:
Let's encrypt now provides wildcard certificates to be deployed for servers groups and even for the servers at intranet.

I am using CEntOS here.
Install apache and mod_ssl plugin then install certbot package.
Certbot package is available in Epel repository
Enable the EPEL repository
yum install epel-release

Install Certbot with dns plugin
yum install certbot python2-certbot-dns-rfc2136

Start the process with the following command
certbot certonly \--manual \
--preferred-challenges=dns \
--email \
--server \
--agree-tos \
-d *

Replace with your own domain and your email.

Please deploy a DNS TXT record under the name with the following value:


Before continuing, verify the record is deployed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Update the TXT record with the generated value and verify the record before pressing enter."7Cvl9fgz8OlwUCJVTFg5dLatVAcQDLPIY66AVImhXhk"

Once it it verified message is displayed as follows.

 - Congratulations! Your certificate and chain have been saved at:
   Your key file has been saved at:
   Your cert will expire on 2019-07-07. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

Certificates are saved in the location
/etc/letsencrypt/live/ and  /etc/letsencrypt/live/
Update the certificate and key file location as in apache ssl configuration file.

Install vmware tools in linux virtual machine

By // No comments:
Installing vmware tools in Redhat (CentOS)
 If you have installed Redhat or CentOS in your virtual machine with the minimal software installing vmware tools require installing ifconfig command
ifconfig command can be found in net-tools package to install it run
# yum install net-tools
Load the vmware-tools CD in the virtual machine, unpack the vmware-distribution folder to the desktop or /tmp folder and then run ./ file inside the vmware-tools-distrib folder
# mkdir /mnt/cdrom
# mount /dev/cdrom /mnt/cdrom
# cp /mnt/cdrom/VMwareTools-{version}.tar.gz /tmp/
# cp /mnt/cdrom/VMwareTools-9.4.11-2400950.tar.gz  /tmp/
# cd /tmp
# tar -zxvf VMwareTools-9.4.11-2400950.tar.gz
# cd vmware-tools-distrib
# ./

if you are not a root user, append sudo in your commands
An alternative way to install vmware-tools is install open-vm-tools
# yum install net-tools
# yum install open-vm-tools
start the vmware tools service
# systemctl start vmtoolsd.service

Installing vmware tools in Ubuntu
# sudo apt-get install net-tools
# sudo apt-get install open-vm-tools
# systemctl start vmtoolsd.service