Install Amahi Server for development

Amahi Installation Instructions

If you are planning to work on amahi and want to get it set up in a production like environment then this guide might be helpful.

I tried setting up Amahi using both VirtualBox and VMware and turns out vmware was much better and I’ll explain it why.

Amahi Server will need a fixed IP address to run. Plus that IP address should be reachable from your host. Simple networking options
in VirtualBox or Vmware player give you following two options:

  • Nat Mode
  • Bridge Mode

Why use NAT mode?

First of all you have to understand why we need to use NAT mode. In NAT mode your VM will be assigned a fixed IP. That means even
if you move across networks you don’t have to bother about changing IP which happens in Bridge Mode.

NAT mode in Virtualbox

There is one major problem or maybe a feature of NAT mode in Virtualbox:
It assigns your VM ip in some range like You will have internet connectivity on your VM but you can’t ping your VM
from outside.
For example your host machine has IP address `` and your VM has IP addres ``. You cannot ping from
your host machine. Maybe we can write some iptable rules to make this work but I didn’t explore that because VMWare was just too easy.

NAT mode in VMWare

Whatever IP address is assigned to your VM in NAT mode, it can be pinged from your host machine and that solves your problem.

Now since we are through the basics, let’s get started to setting up Amahi Server.

First of all do a fresh installation of Fedora 25 on VMWare by taking help of instructions given on amahi website. While creating the VM pick NAT Mode for networking.  Picking up NAT mode is simple but still I have this video which might help you in case if you are confused.

Once fedora installation is done, open terminal inside the VM and type in

ifconfig : This will give you IP address of your VM

route -n :  This will give you gateway IP.


You can see here my VM IP is
Gateway IP is

Once you have the the VM IP and Gateway IP you can proceed with the installation. Go to amahi website and create a new profile using the above data.


You can get the install code after this and continue with your installation.

sudo su –
rpm -Uvh
dnf -y install hda-ctl

And then reboot the VM.
After rebooting the VM you can open the browser in your host machine and enter the IP address assigned to the VM in your browser and you’ll get access to your hda dashboard.
You will definitely come across this warning message : “Your client device is probably not using your HDA for DNS yet……. “
We can’t get across this warning because to make this work properly you have to make Amahi as your DNS Server. There are a few workarounds to it. One is that you can add static entries in your /etc/hosts file ( is my hda VM IP): hda

Or you can modify your /etc/resolv.conf file to look something like this:


Now everything should work for you without any issues. 🙂



One thought on “Install Amahi Server for development

  1. Pingback: GSoC Blog : First 10 days. | Tech and me.

Comments are closed.