Self-install-existing

From Amahi Wiki
Revision as of 00:57, 9 August 2010 by Cpg (talk | contribs)
Jump to: navigation, search

Installation in an existing Fedora machine

NOTE: this is NOT a recommended method to install, unless it's done on a fairly clean install of the distribution. The reason is that some things that may have been done to the machine that may affect the way Amahi behaves. The recommended method is doing it from scratch.

It is important to note that, Amahi cannot be fully uninstalled in the traditional sense, because the settings affect some subsystems across the machine and the original state of those subsystems is not preserved.

Regardless, here are the install instructions, all of them executed as root.

Fedora 12

Install the Amahi release for Fedora 12

1. Install the hda-release

  • rpm -Uvh <latest_rpm repo="amahi-f12" rpm="hda-release" arch="noarch" output="url" />

2. Install hdactl (64 or 32bit)

  • 32bit - rpm -Uvh --nodeps <latest_rpm repo="amahi-f12" rpm="hdactl" arch="i386" output="url" />
  • 64bit - rpm -Uvh --nodeps <latest_rpm repo="amahi-f12" rpm="hdactl" arch="x86_64" output="url" />

3. Now install hda-platform

  • rpm -Uvh --nodeps <latest_rpm repo="amahi-f12" rpm="hda-platform" arch="noarch" output="url" />

4. Install dependencies:

  • yum -y install rubygems ruby-libs ruby-mysql

5. Start the Amahi installer.

  • service amahi-installer start

6. And last but not least, get the installer going by accessing it with a browser:

      http://localhost:2000

Note: If after starting the install via the web interface (http://localhost:2000) you accidently kill the terminal window in which you started the 'service ' from, it does appear to complete OK.

From time to time this method may miss some dependencies. At the end, try this as root:

    rpm -Va  --nofiles

To make sure all the dependecies are met.

Fedora 10

Install the Amahi release for Fedora 10

1. Install the hda-release

  • rpm -Uvh <latest_rpm repo="amahi-f10" rpm="hda-release" arch="noarch" output="url" />

2. Install hdactl (64 or 32bit)

  • 32bit - rpm -Uvh --nodeps <latest_rpm repo="amahi-f10" rpm="hdactl" arch="i386" output="url" />
  • 64bit - rpm -Uvh --nodeps <latest_rpm repo="amahi-f10" rpm="hdactl" arch="x86_64" output="url" />

3. Now install hda-suite

  • yum -y install hda-suite

4. And last but not least, install Amahi and answer "yes" to reboot.

  • hda-install YOURINSTALLCODE

Fedora 9

     yum -y install fedora-release
  • Install the Amahi release for Fedora 9

rpm -Uvh <latest_rpm repo="amahi-f9" rpm="hda-release" arch="noarch" output="url" />

  • Then, also as full root (/usr/sbin/hda-install is not in the path otherwise), do this:
     yum -y install hda-suite
     hda-install -f YOURINSTALLCODE

In both cases,