Upgrade PHP 5.3 to PHP 7.0 using yum on CentOS/RHEL/Fedora My web server was running PHP version 5.3 for a long time and now I would like to en-cash the...
OpenCA Error addMessage failed for log slot XML. Cannot create directory [Solved] Do you see the below error while accessing OpenCA pub page? Error 64510030 - General Error OpenCA Error addMessage failed for...
Why mysql user has bash shell in /etc/passwd? If you install MySQL on Linux, then a new user account called ‘mysql‘ will be created for running mysqld service....
Difference between /bin/false & /sbin/nologin I have seen few system administrators using /sbin/nologin and few use /bin/false to deny shell access to a particular user...
Apache2 configtest failed: Segmentation fault (core dumped) [Solved] I have installed Apache2 and it was working fine. I had also installed PHP 7.1 and everything was working fine,...
wc command prints wrong output character count [Solved] Question: Why does wc command prints wrong output character count when used with echo command in Linux? Below is the command...
ImportError: No module named MySQLdb [Solved] Question: My Python script failed with an error message “ImportError: No module named MySQLdb” while performing MySQL operation. Here’s the complete...
How to Shorten Bash Prompt in Linux? If you are working with a deep directory structure, then you might have noticed a lengthier bash prompt. This tutorial...
Install and Configure User and Group Disk quota on Ubuntu and Debian Most of the time, the user keeps all of his junk/unwanted files in his home directory and never bothers to...
How to Allow SFTP and disallow SSH? In this tutorial, I will explain how to configure SSH to allow SFTP and disallow SSH login access. Solution: Well, SFTP...
Ctrl+S freezes Vi Editor & Unix terminal/PuTTY? Here’s how you can resume it! Working on a Unix terminal and all of a sudden the terminal freezes after pressing Ctrl+S? Well, did you see the...
M2Crypto SSL Check Error: Peer certificate subjectAltName does not match [Solved] Question: I’m stuck with M2crypto SSL check error while installing Webmin package on RHEL 5.5. Here’s the complete error message: #...
Using Sed,ex & perl commands to find and replace a text in Linux Question: I would like to replace a text with a link in anchor tag of a html file. The challenge is...
Error in Sudoers file? Here’s how you can fix it. It’s quite common for an administrator to edit sudoers file and allow users to execute administrative commands. But what if...
MySQL Table Crash fix – marked as crashed and should be repaired? One of the table in my MySQL database has been corrupted and the worst part of it is, the corrupted...
How to Configure virt-manager for Nested Virtualization Support? Question: I have installed KVM hypervisor on my Debian Guest OS (basically a nested virtualization) which is hosted on a...
How to Fix Error – qemu: could not load PC BIOS ‘bios.bin’? Question: I have configured qemu-kvm on Ubuntu machine and got a qemu error – ‘could not load PC BIOS bios.bin‘...
msfconsole error after updating Metasploit Framework in Kali Linux [Solved] Updating Metasploit is quite easy – you just need to run msfupdate command. Later, you might have to be prepared...
How to Identify the Package version before Installing using a apt-get or aptitude in Ubuntu? Few days ago, I wrote an article on yum commands that allows you to know the version of the package...
Issue: IP address in Ubuntu gets cleared automatically after sometime [Solution] Question: I have set an ip address for eth0 interface in Ubuntu and it worked for a while. But after...