Amahi 7

From Amahi Wiki
Jump to: navigation, search

Work on Amahi 7 has started. Expected release is November 2012.

Amahi 7 is a re-engineering of some of the platform software to support a leap in technologies to the latest and greatest. We expect that there will be a lot of changes.

How to Get Amahi 7 Running

This is based on a bare Fedora 17 minimal install.

1) First let's install the dependencies:

  yum -y install wget yum-plugin-fastestmirror
  yum -y install bind bind-utils caching-nameserver sudo dhcp samba httpd
  yum -y install monit perl-Authen-PAM fpaste mysql-server perl-DBI 
  yum -y install ruby-devel ruby-mysql ruby-libs eruby ruby-augeas
  yum -y install ruby-irb ruby-racc rubygem-rdoc eruby-libs
  yum -y install perl-Authen-PAM perl-libwww-perl
  yum -y install cadaver php php-mysql perl-URI filesystem rubygem-passenger
  yum -y install mysql-server perl-DBI ruby-devel
  yum -y install hddtemp mod_passenger patch rubygem-passenger-native wol
  yum -y install tar unzip bzip2

2) Here are two binaries, compiled on Fedora 17, for 64bits and only 64bits even though the second one is a noarch rpm. (This is a temporary work-around.)

  wget http://alpha.amahi.org/tmp/hdactl-4.2.1-1.x86_64.rpm
  wget http://alpha.amahi.org/tmp/hda-platform-6.2.1-1.noarch.rpm
  rpm -Uvh hdactl-4.2.1-1.x86_64.rpm hda-platform-6.2.1-1.noarch.rpm
  # this should give you exactly TWO errors with missing dependencies: hda-greyhole and hda-platform  (if not, let us know!)
  rpm --nodeps -Uvh hdactl-4.2.1-1.x86_64.rpm hda-platform-6.2.1-1.noarch.rpm

3) Start the installer

  systemctl start amahi-installer.service
  systemctl stop iptables.service

4) Access http://localhost:2000 (or the IP of the machine instead of localhost) and the installer should come up. You may need to reboot to see it, not sure.

5) Create a profile in Amahi.org and get an install code. Punch this in and click on install

6) Report errors

7) If it all worked, reboot and the dashboard should come up at http://hda (or http://IP-OF-THE-MACHINE)

New Technology

  • Using Ruby 1.9.x
  • Using the latest Ruby on Rails (probably 3.2.8+)
  • We will try to use the Slim template engine for the platform
  • Based on Fedora 17 (or 18), because ruby 1.9 and RoR 3.x are in by default in it.
    • We're not "abandoning" Ubuntu or "going back" to Fedora. We will attempt to support both. However, Fedora is the first one to bring Ruby 1.9 and RoR 3.x out of the box, so far.

Hopeful Features

  • New disk wizard
  • Widgets
  • Gadgets
  • More modular
  • Faster and more efficient

How to Help

There are several ways to help:

  • If you are a contributor, make sure you get a machine running with Amahi 7 and get your apps to run on it
  • If you want to test the install, get a VM and an ISO file of the base OS and let's test! This is probably the best way to help without deep technical knowledge.
  • If you want to help with the platform, get in the Amahi Mailing list and get some patches going. Ruby and RoR can help here.
  • Testing and porting themes will also help
  • Want to develop a new theme? Check the How to Create a new Theme page
  • Stop by and hang out on our IRC Channel #Amahi on irc.freenode.net