Changes

From Amahi Wiki
Jump to: navigation, search
83 bytes added ,  08:56, 11 March 2012
m
no edit summary
'''This page is being edited actively and a lot of sections are missing currently; feel free to help improving it.'''
Note that there is still an issue when installing. Apparently for me the install bails out halfway because the network settings are gone. If you fix these (by telling For ubunto please refer to use dhcp in /etc/network/interfaces) and rerun the installer things install fine for meUbuntu page.
=Current state=
=Requirements=
* A system to install things on. This system must support debian 6.0.4 and have the needed resources. I've assumed the system has a network connection, but it will undoubtly be possible to get things working with an installation disk and some data transfer with USB disks.
* Some experience in installing things. This also depends on the way you want to install things (see below)
* Ambition to help improving things and a lot of tolerance against problems; The current version is far from finished.
Feel free to add your platform.
* x86 virtual machine under VirtualBox We are working on getting this to run under arm as well.E.g. on: * OpenRD Client (primary development platform, armv5tel)
* SheevaPlug (same SoC as OpenRD Client, but more readily available)
* x86 virtual machine under Xen.Raspberry PICheck back later if you are interested in one of these platforms
=Installation=
* if you have a low threshold against bugs
Most of this was tested on SheevaPlug and OpenRD clientdebian 6. Some tests have also been done 0.4 on an x86 virtual machine under Xena 386 VM (using virtualbox).
==Installation using an image file==
==Installation using prebuilt packages==
<b>Currently this is only supported on i386 (32bit) intel and on arm little endian (armel) hardware and only tested on armv5tel.</b>
You need to install debian Debian on your platform. No special packages are needed. E.g. when installing on a system without a display there is no need to install a graphical desktop.
For Debian on PC I used this guide: http://www.debian.org/releases/stable/i386/ and used this iso: http://cdimage.debian.org/debian-cd/current6.0.4/i386/iso-cd/debian-6.0.1a4-i386-netinst.iso
For SheevaPlug I used this guide: http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html
For any question you get just hit return.
Then perform the following steps '''while logged in as rootor with the sudo command''':
* wget http://amahi.99k.org/debian.install
* sh debian.install yourinstallcode
When done, reboot the system and open a browser to http://hda
The system will ask you to log in, use the user that you created while installing debian. Note that after log in amahi will force you to change the password of that user to a different (!) password.
 
Note: on arm it might be that mysql initialisation is not completely done when hdactl is started. You can see that if ps ax | grep hdactl only gives one hdactl process and your grep task. In that case kill the hdactl task and start hdactl manually (with /etc/init.d/hdactl start)
==Installation using the sources==
 
Note: the procedure below describes how to generate the packages from the sources. This procedure requires the amahi git. However at the moment there are several patches pending to be committed. While generating will work, there are probably some issues present that are fixed in the binary version.
* Install debian. If you install mysql do not give it a root password.
* on this system perform the following steps:
* install the needed development packages '''apt-get install build-essential devscripts debhelper fakeroot lintian git-core'''* clone the amahi git repository: '''git clone git://git.amahi.org/amahi.git'''* '''cd amahi/platform/hdactl'''* get the debian specifc hda-install: '''wget http://amahi.99k.org/hda-install'' (this one will move to a location on amahi.org)buildit* build the hdactl package by typing '''make deb'''sh buildit* build Note that the hda-platform package by typing '''cd ../platform; make deb'''* create a local package feed by doing the following:* '''cd ../..; mkdir repo; cd repo'''* '''cp ../platform/*/release/*.deb .''' (don't forget the dot at the end!)* create the Packages file: '''dpkg-scanpackages -m . /dev/null > Packages'''* and compress it: '''gzip Packages'''script now requires root access
You have now build your packages. you now can install the packages by performing the following steps:
* echo "deb file:/root/repo amahirepo ./" >>/etc/apt/sources.list
* apt-get update
* apt-get --force-yes -y install hda-platform
* hda-install $1your-install-codewhere your-install-code is the code you obtain from www.amahi;org  Note that the echo line modifying sources.list only needs to do once. Also you need to adapt the path to the place where your repo dir is. If you ran as root it will probably be the location I gave.
121

edits