Amahi 8

From Amahi Wiki
Jump to: navigation, search
Warning.png WARNING
This is recommended for advanced users only, please proceed with caution.



This page is about the Alpha release of Amahi on Fedora 21.

Prerequisites

  • The netinstall may work, LiveCD may work, but only minimal is supported
  • 32-bits is not supported any more in Amahi

Install Fedora

  • Install Fedora 21 minimal ... NOT the Desktop:
    • Boot, choose Install Fedora, choose language; then in software selection choose minimal install
    • This is NOT the default and is at the bottom of the list. Don't forget to remove the DVD after installing and before rebooting.
  • Choose the hard drive partitioning scheme
  • DON'T change the hostname (it may create issues)
  • Click on Begin Installation and the installer will proceed
  • Create a user with a password. Make sure it's an admin user. Recommend creating a root password.
  • After a minimal install one needs to login as root first (in a text console)
  • Login with the user and become root for the rest of the installation
 sudo su -

Install Amahi

  • Install the Amahi repo by hand with:
  rpm -Uvh http://f21.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm
  • Get the mariadb base packages (this is to avoid dependency conflicts)
  yum -y install mariadb-libs mariadb-server
  • Try installing both hda-ctl and hda-platform. This should install a lot of dependencies with them
   yum -y install hda-ctl hda-platform
  • If that works, ```and only if that works```, so the Amahi install (also as root; replace YOUR-INSTALL-CODE with the code you set up in Amahi.org):
  hda-install YOUR-INSTALL-CODE
  • If that fails, check the Express CD troubleshooting page. For help, please fpaste the log (you may have to yum -y install fpaste). The log should be in
 /root/hda-install-*.log
  • If all goes well, it should tell you to reboot

Post Install Notes

  • It will boot with the static IP you preconfigured in the Amahi control panel
  • You can verify if the dashboard is available by accessing from any client using the IP address.
  • It's strongly recommended that you turn off the previous DHCP server and let Amahi handle DHCP so that DNS falls into place
  • Reboot all the clients to get them to use your Amahi server
  • Your Amahi dashboard should be available at http://hda
  • The first time it will initialize and will ask you to login to create a dashboard password for the admin user you created


Upgrading from Amahi 7/F19

We'll need testing on this procedure. The steps to update Amahi from F19 to F21 are:

  • Install Amahi 7 with the express CD
  • Do not install any apps
  • Update everything in the system: yum -y update
  • Reboot to pick up new kernels, etc.
  • Update everything in the system again: yum -y update
  • If there are any updates, do it again. If there are new kernels, reboot
  • Follow with the upgrade below

Actual upgrade

Install the upgrade tool:

 sudo yum -y install fedup

Do the live update over the network:

   sudo fedup --network 21 --product=server

If you plan to test this more than once, you may want to download the ISO and do this locally, to avoid large downloads over the network each time the update is done.

Ref: FedUp Wiki