Changes

From Amahi Wiki
Jump to: navigation, search
1,677 bytes added ,  17:39, 20 June 2015
Created page with "=Install Amahi 8 using fedora 21 base cloud image inside a virtual machine= *Download base raw image from here **http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Clou..."
=Install Amahi 8 using fedora 21 base cloud image inside a virtual machine=

*Download base raw image from here
**http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz

*Create a vdi image from the archived raw image
<blockquote><pre>
xz -d Fedora-Cloud-Base-20141203-21.x86_64.raw.xz
VBoxManage convertdd Fedora-Cloud-Base-20141203-21.x86_64.raw Fedora-Cloud-Base-20141203-21.x86_64.vdi --format VDI
</pre></blockquote>

*Create a virtual machine with this VDI and make sure network is in bridged mode

*create a folder named config and change into it
<blockquote><pre>
mkdir config
cd config
</pre></blockquote>
*Create a file: config/meta-data with the following content
<blockquote><pre>
instance-id: Amahi01
local-hostname: amahi-01
</pre></blockquote>
*Create a file: config/user-data with the following content
<blockquote><pre>
#cloud-config
password: AmahiHDA
chpasswd: { expire: False }
ssh_pwauth: True
</pre></blockquote>
*Convert the config folder to ISO image
<blockquote><pre>
genisoimage -output amahi01-cidata.iso -volid cidata -joliet -rock user-data meta-data
</pre></blockquote>
*Attached image to the VBOX
*Start the virtual machine and login with:
**username: fedora
**password: AmahiHDA
*Install Amahi 8
<blockquote><pre>
sudo su -
rpm -Uvh http://f21.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm
yum -y install mariadb-libs mariadb-server
yum -y install hda-ctl hda-platform
hda-install YOUR-INSTALL-CODE
</pre></blockquote>

=Issues=
*No internet connection
*Restarting network service restores internet connection
*The IP address of the HDA is not the one from the amahi dashboard.
102

edits