UbuntuWorkingNotes

From Amahi Wiki
Jump to: navigation, search
  • when ubuntu mysql installs, it sets the sockets to something that Amahi won't recognize. Either the amahi settings need to be changed (preferable) or the mysql settings need to be changed (haven't made this work yet). UPDATE: I made the change to /etc/mysql/my.cnf and /etc/mysql/debian.cnf files and it still didn't work. Not sure what changes still have to be made. UPDATE: Ugly hack that makes it work: sudo ln -s /var/run/mysqld/mysqld.sock /var/lib/mysql/mysql.sock It's ugly but it works for now.
  • sudo apt-get install rails git-core. This will fetch git, ruby and everything else that it needs.
  • git clone git://git.amahi.org/amahi.git
  • cd amahi/platform/platform/html
  • rake db:create
  • rake db:migrate
  • ./script/server This should now make the Amahi dashboard work. Not much else will, but it's a start.


Installing on a Ubuntu 9.04 desktop edition

  • sudo su
  • apt-get install rails git-core mysql-server mysql-client

>> set mysql password to "hda"

  • cd amahi/platform/platform/html
  • gem install -v=2.1.1 rails
  • rake db:create
  • rake db:migrate
  • ./script/server

This should start the HTTP server on your machine, accessible through http://localhost:3000/ For now it displays an error on my machine (NoMethodError in FrontController#index), probably due to the fact that my machine doesn't have any domain name associated with.

Installing on Ubuntu server edition

This would currently not be the best solution for Amahi, as the packages installed are vague and the install interface is not "end-user friendly" and would take alot more packages to install with Amahi itself than with the other (ie gnome and all packages). We could have the user install these at the beginning but it is not the best way to do it.

Basically it will cause more problems than good, best bet is to stay with the Ubuntu desktop edition.