• Error: md5 validation failed for PyYAML-3.11.zip possible download problem? [Solution]

    Question: I was installing Packstack and was hit with an error “error: md5 validation failed for PyYAML-3.11.zip; possible download problem?“. Below is the command I used to install Packstack. $ cd packstack && sudo python setup.py install The setup.py installed few packages and it failed while downloading PyYAML version 3.11….

  • 6 Ways to Stop Microsoft From Spying What you do in Windows 10!

    Windows 10 is a huge hit, says Internet and reports from Microsoft. But wait, there are few serious bugs and privacy concerns surrounding Windows 10. I recently came across an article, that says Microsoft is monitoring everything you do with Windows 10 (such as Microsoft knows how long you use…

  • 4 Ways to Find Out a CPU Core that is running a particular Process in Linux

    Question: I would like to know if there’s a command in Linux (may be in CentOS, RedHat or Fedora) that allows me to find out which CPU core is currently running a particular process? Answer: Yes, there are at least four ways that lets you identify the CPU core that’s currently running…

  • How to Find Which Package an Executable or File belongs to in RedHat/CentOS/Fedora?

    Question: I would like to know if there’s a command in CentOS that allows me to find which package an executable or file or library belongs to? For example, how can I find which package contains /usr/bin/sha256sum executable or which package contains a /usr/lib64/libnss3.so library file. Answer: You can use rpm -qf command…

  • How to Change the Timezone Settings in Linux?

    Question: I would like to know the steps to change the default Timezone in Linux. I have CentOS 6.7 installed and the date command displays CST timezone as shown below $date Tue Dec 19 00:22:20 CST 2015 Can you explain me how to change CST to IST timezone in Linux? Answer: In…

  • How to Check if SSL Certificate is SHA1 or SHA2 using OpenSSL?

    Question: How to check if a particular website is using SHA1 or SHA2 Certificate? I would like to know the steps to check via web browsers and also using OpenSSL commands. How to check Signature Algorithm of SSL certificate using OpenSSL Command? The OpenSSL command shown below will fetch a SSL…

  • About wp-embed.js in WordPress 4.4 and How to Disable it?

    I recently updated WordPress to version 4.4 and found a new JavaScript loaded in the footer. It’s none other than wp-embed.js file. After googling, I understood that WordPress 4.4 comes with a feature (oEmbed consumer) that allows users to embed content from other sites – such as YouTube videos, tweets and…

  • 3 Ways to Disable XML-RPC in WordPress [Security]

    XML-RPC in WordPress is an useful feature that allows you to remotely publish posts via mobile phones or tablet or Windows Live Writer. However, keeping XML-RPC enabled on your WordPress blog is always a risk. Recently, an attacker used xml-rpc on one of my WordPress blog to send some spam traffic…

  • PHP Startup Error : Unable to load dynamic library, wrong ELF class: ELFCLASS64 [Solved]

    PHP thrown this error PHP Warning:  PHP Startup: Unable to load dynamic library wrong ELF class: ELFCLASS64, while installing Composer on my CentOS box having PHP version 5.3.3. Below is the complete error message: PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/gd.so’ – /usr/lib/php/modules/gd.so: wrong ELF class: ELFCLASS64 in…

  • How to Install Composer, the PHP Dependency Manager?

    Composer is a dependency manager for PHP, which allows you to require all dependant libraries for a particular project. In layman terms, composer can bring in all dependant libraries required on a project by project basis and keeps them all at one place. You may read this article from PHILIP BROWN@culttt.com who…

  • How to Mass Delete Pending Comments in WordPress?

    Question: I have around 5,000 pending comments in my WordPress and most of those are spams. I would like to know if there’s a MySQL query that lets me to mass delete all of those? Answer: Yes, you can delete all the pending comments using MySQL query. All you need to do…

  • How to Delete Outdated RSA Keys from PuTTY in Windows?

    If you ever want to delete ssh-rsa keys in Linux, you just need to edit known_hosts file under .ssh folder. But on Windows? Well, this tutorial is just about that – removing or deleting outdated RSA keys from PuTTY on Windows operating system. Here’s a step by step guide to do…

  • How to Use RedHat Upgrade Tool to Upgrade CentOS from 6.x to CentOS 7?

    Have you been waiting for this? At least, I had been. I’m not a big fan of uninstalling the entire OS to install latest version, but I had no option until CentOS 7 was released – it means, CentOS 7 comes with an in-place upgrade feature that allows you to…

  • Preug Command – SyntaxError: Missing parentheses in call to ‘print’ – Solution

    Question: I get SyntaxError: Missing parentheses in call to ‘print’ when I invoke/execute ‘preupg‘ command on my CentOS machine. What could be the issue? Here’s the snapshot of the error: # sudo preupg File “/usr/bin/preupg”, line 25 print ‘\nAssessment interrupted.’ ^ SyntaxError: Missing parentheses in call to ‘print’ Solution: According…

  • How to Fix ‘GPG key retrieval failed’ Error during YUM Install?

    I was trying to install a package using yum and hit with an error : GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL’. I understand that yum is trying to locate GPG keys for EPEL repository under /etc/pki/rpm-gpg/ and failed because of a missing file. Solution:…

  • How to Compile and Install Python with OpenSSL Support?

    Your Python installation does not support SSL? You need to compile it again after editing Setup.dist file located in the Python source directory. Let’s see how to do that. Before we begin, check if your existing Python installation supports OpenSSL as shown below: $ python In the python prompt, type…