Changes

From Amahi Wiki
Jump to: navigation, search
64 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.'''
 
For ubunto please refer to the Ubuntu page.
=Current state=
Feel free to add issues here. If you add an issue an email to the amahi developers list with a more detailed description and/or a bug report in our bugzilla is also greatly appreciated.
* The default debian browser (konquerer ephipany if I recall correctly) will not indicate progress while installing
* Apache status is not displayed correctly in servers tab
* only a few packages are available (if any) I tested phpsysinfo, hello-world and wakkiwiki. Not sure what is available to others and what has been assigned to me as tester.
=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 arm little endian (armel) hardware 32bit. </b> You need to install 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 only tested on armv5telused this iso: http://cdimage.debian.org/debian-cd/6.0.4/i386/iso-cd/debian-6.0.4-i386-netinst.iso
You need to install debian on your platformFor SheevaPlug I used this guide: http://www. No special packages are neededcyrius. E.g. when installing on a system without a display there is no need to com/debian/kirkwood/sheevaplug/install a graphical desktop.html
There are two things to keep in mind:
When being asked for a mysql root password, leave the password empty (actually you might will get this question more than once). <br>Also I opted for automatically start hddtempFor any question you get just hit return. Then perform the following steps '''while logged in as root or with the sudo command''':* wget http://amahi.99k.org/debian.install* sh debian.install yourinstallcodeWhere yourinstallcode is an install code you generated on www.amahi.org
Then perform the following steps:* get repo.tar.gz: ''' wget amahi.99k.org/repo.tar.gz''' (location Note, while installing you will change)* untar it: '''tar xvf repo.tar.gz''''* modify /etc/apt/sources.list. Add face a line like: '''echo deb file:/root ./ >> /etc/apt/sources.list'''. The dir long wait after file: should be the place where you unpacked the tarball (or if you generated the packages yourself where you issued the dpkg-scanpackages command)message "install code looks good" and after "initializing plugin factory"* '''apt-get update'''* '''apt-get install hda-platform'''; say y to the questions. Note that this may take quite a while.* when When done, reboot the system* after rebooting and open a browser (this may be on a different system) and go to http://yourmachine-ip:2000 where yourmachine-ip is the ip address of your amahi debian hdaThe system. It is recommended will ask you to log in, use firefox as everything is tested with itthe user that you created while installing debian. Konquerer does not seem Note that after log in amahi will force you to update progress on change the installation* insert your installation code and hit start. This will take password of that user to a substantial time different (especially when at 9% it says installing packages!) password.* Note: on arm it might be that mysql initialisation is not completely done when done without error, reboothdactl is started. You can see that if ps ax | grep hdactl only gives one hdactl process and your grep task.* next refresh In that case kill the ip address of your client hdactl task and start hdactl manually (so your hda is added to your with /etc/resolvinit.confd/hdactl start) and browse to http://hda/setup to set up your hda.
==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* check debian/hdactl.hdactl.init; if it contains a string '''mysqld''' remove sh builditNote that the trailing '''d'''script now requires root access* build the hdactl package by typing '''make deb'''* You have now build your packages. you now can install the hda-platform package by typing '''cd ../platform; make deb'''* create a local package feed packages by doing performing the followingsteps:* '''cd ..echo "deb file:/root/..; mkdir repo; cd repo'''* '''cp .amahirepo ./platform" >>/*etc/releaseapt/sources.list*.deb .''' (don't forget the dot at the end!)apt-get update* create the Packages file: '''dpkgapt-get --force-yes -scanpackages y install hda-m . /dev/null > Packages'''platform * and compress it: '''gzip Packages'''hda-install your-install-codewhere your-install-code is the code you obtain from www.amahi;org
You have now build 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 packagesrepo dir is. You can install things like explained in the previous section, skipping If you ran as root it will probably be the first two stepslocation I gave.
121

edits