Posted on Leave a comment

How to configure armitage on Kali Linux

If you tried to start armitage on Kali Linux, it will show you the following error.

The error says that the service cannot connect to the database. Now let’s see how to configure armitage on Kali Linux. First, lets check if armitage is installed on our machine or not. Open terminal and type the command “apt-cache search armitage”Then type the command “apt-get install armitage”. If everything is right, it tells you that armitage is already installed.

Now let’s rectify the database connection problem. Type the command “service postgresql start”. This will start our database service. Then start metasploit service by typing the command “service metasploit start”

Then type the command “armitage”. You should successfully see armitage working.

Posted on 1 Comment

How to install GUI in Ubuntu Server

Ubuntu server comes default with a Command line interface. Of course we can install GUI in Ubuntu Server if we find command line troublesome. Here are the steps.

First navigate to the “etc/apt” directory and open a file named “sources.list.d” using the command “vi sources.list.d”. 

Then check whether software from “universe” ad “multiverse” repositories are allowed.

Then type the command “sudo apt-get update” to update all repositories.

After updating is finished, type the command “sudo apt-get upgrade”.

Then type the command “sudo apt-get install ubuntu-desktop”. It will take some time to finish all the processes.

After the installation is finished, restart the server to see your GUI interface.