Benchmark Apache

How to test apache. Create 2 files: testload.php test.php Create a php file testload.php that checks the existence of another file named test.php in the same directory of two CentOS 7 servers with the same hardware characteristics and load but with different MPM. One of them will use event and the other one will use … Read more

Accessing Website with IP NAT Hairpinning

The term hairpinning comes from the fact that the traffic comes from one source into a router or similar devices, makes a U-turn and goes back the same way it came. Visualize this and you see something that looks like a hairpin. Hairpin NAT is a useful technique for accessing an internal server using a … Read more

How to Set or Change Hostname in CentOS 7

Use this information when changing the hostname in centos 7. Ways to show the hostname How to change the hostname. In order to change or set a CentOS 7 machine hostname, use the hostnamectl command as shown in the below command excerpt. In order to apply the new hostname, a system reboot is required, issue … Read more

How To: Fix kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0) on Azure VM

When booting an Azure VM, this error: 304.863321] —[ end Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Solution: remove old linux kernels, your /boot drive is out of space. -boot to grub and click on “Advanced options” -Select a previous kernel (should boot fine) login and enter command See … Read more

No PGP for Horde Mail in Plesk

When checking mail, I noticed the PGP option was not available. It should look like this: So, I followed this: https://support.plesk.com/hc/en-us/articles/115002313594-How-to-install-GnuPG-PHP-extension-for-Plesk-PHP- But still missing. How To Install and Use GPG Encryption In Linux In Order To Encrypt and Decrypt Files and Folder?