• 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 for series of errors while invoking msfconsole. For instance, I had to switch between various commands like bundle install, gem install, apt-get install etc…to fix each error. Well, if you…

  • 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 sometime, the IP address is automatically removed from the eth0 interface in-spite of having the entry for eth0 in /etc/network/interfaces file. How to solve this issue? Solution: It can happen…

  • How to Fix OpenStack Error – Failed to delete network? [Solved]

    OpenStack Horizon allows you to configure network, subnets, routers etc…It also allows users to delete network with a click of a button. To do that, you need to login to the Horizon interface and click NETWORK > Networks and click on the pull down button under Actions and select “Delete…

  • How to Fix libpci header check failed. Disable KVM Device Assignment capability?

    Question: I got an error “libpci header check failed. Disable KVM Device Assignment capability” while compiling qemu-kvm package on Ubuntu server. Please tell me how to solve this error: # ./configure warning: proceeding without pkg-config Error: libpci header check failed Disable KVM Device Assignment capability. Solution: You need to install…

  • How to Fix apt-get Failed to Fetch error in unsupported Ubuntu releases

    For one of my project, I need to install an older version of Ubuntu (11.10 oneiric release). But apt-get failed (install) or apt-get update was no longer working and failed with an error message  “Failed to fetch” and “404 not found”.  Below are the errors: $ sudo apt-get update W:…

  • Fix Error: libpci check failed. Disable KVM Device Assignment capability [Solved]

    Question: I was stuck with an error “Error: libpci check failed.  Disable KVM Device Assignment capability” while compiling qemu-kvm package on Ubuntu machine. Below is the complete error message. [qemu-kvm] $ ./configure Error: libpci header check failed Disable KVM Device Assignment capability. How to solve this error. Solution: The error…

  • How to use yum to install a specific version of a Package?

    If you ever want to instruct YUM to install only a particular version of a package, then here’s how you can do that. Well, there can be a multiple versions of package in the yum repository and if not instructed, yum will install the default version. But sometimes you might…

  • How to Create Kali Linux Image in QCOW2 format for OpenStack?

    If you ever wanted to try Kali Linux in OpenStack, then you have landed on the right page. In this tutorial, I’ll show how to create a Kali Linux image in qcow2 format for OpenStack Mitaka. Kali Linux is one of the most advanced penetration testing distribution developed by Offensive…

  • How to Extract 7z package in CentOS/RHEL/Fedora?

    Are you stuck in extracting .7z file in Linux? Then here’s how you can install 7z extractor in CentOS, RHEL and Fedora based machines. 7z files are generally smaller in size (as it creates a file with a very high compression ratio) and supports only limited compression methods. It supports…

  • How to Fix Metasploit error – requires the bundler gem to be installed? [Solved]

    Question: I was stuck with an error “Metasploit requires the bundler gem to be installed” while executing msfconsole from the Metasploit framework. The issue here is, I did tried installing bundler gem using ‘gem install bundler’, but still msfconsole script produces the same error. Here’s the snapshot of the error…

  • Understanding Puppet Resources, Manifests, Modules and Classes with Examples

    In this tutorial, I’ll be explaining about Puppet resources, manifests, modules and classes with examples. Also, I assume that you already have Puppet master/agent nodes installed and ready for use. In order to use Puppet, you need to understand how puppet handles resources and how manifest & modules are created….

  • How to Install and Configure Puppet 4 on CentOS and Ubuntu? [Master and Agent]

    Puppet, a popularly known configuration management tool for Unix and Windows based systems that allows an administrator to easily automate repetitive and error-prone system administration tasks – which includes provisioning, installation of packages/software, configurations and management of the entire infrastructure. Puppet comes in two flavors – Puppet Enterprise and Puppet…

  • Here’s everything you can do with Nmap – Command Examples

    Nmap is an open source network mapper that allows one to scan network of hosts, services, perform security assessment and auditing. This useful command comes with loads of options and capabilities, but you need to have expertise in using it. In this tutorial, I’ll try to introduce few command examples that can help…

  • How to Fix – Sudo unable to resolve host in Ubuntu?

    If you getting an error “Sudo unable to resolve host” while executing sudo command in Ubuntu, then here’s how you can fix the issue. Below is the snapshot of the error: ubuntu@test$ sudo su – sudo: unable to resolve host (test) Solution: Check if /etc/hostname contains the correct hostname of your…