-
Create a hootNAS ISO image, or just download latest ISO image releases.
-
Boot the image up in a virtual machine or on a physical machine with at least three available disks, and then note the IP address displayed on the terminal screen.
If you are using VMware, set
disk.EnableUUID="TRUE"
in the vmx configuration file or in the vsphere configuration. If you are using QEMU/KVM, make sure you are using virtual SCSI or SATA disk (and not VirtIO), alternatively set a unique serial number on each virtual disk using libvirt or qemu e.g.:-drive if=none,id=disk1,file=disk1.qcow2,serial=1234567890
-
Add the IP address to your
/etc/hosts
file, e.g. if the IP address is192.168.22.48
then add the following line like this$ sudo echo "192.168.22.48 hootnas" >> /etc/hosts
You can now access the frotend webapp using the URL
http://hootnas
in your browser or log on with SSH:$ ssh root@hootnas
The default
root
password ispass1234
-
Generate a public/private rsa key pair, just accept the defaults by pressing enter repeatedly, this will create the files
~/.ssh/id_rsa
and~/.ssh/id_rsa.pub
$ ssh-keygen -t rsa
-
Copy the public key to the
hootnas
machine. This will prompt for the root password, enterpass1234
which is the defaultroot
password on the hootNAS ISO image.$ ssh-copy-id root@hootnas
-
Log on to the
hootnas
machine once, so that the machine is automatically added to the local~/.ssh/known_hosts
file.$ ssh root@hootnas
You can now log on to the
hootnas
machine without ever entering a single password. This is required for development. -
What you would ideally want to do now, unless you are developing the setup wizard itself, is to setup the storage using the setup wizard. You can do this by accessing the setup wizard with your browser on the IP address or hostname of the
hootnas
machine, e.g.http://hootnas
orhttp://192.168.22.48
. The setup wizard will guide you through the process of setting up the storage, and should also create a user account when given the opportunity by the wizard.