Difference between revisions of "UbuntuWorkingNotes"

From Amahi Wiki
Jump to: navigation, search
(Amahi dashboard now functional)
m (added install instruction for GIT)
Line 1: Line 1:
 
* 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.
 
* 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. This will fetch ruby and everything else that it needs.
+
* sudo apt-get install rails git-core. This will fetch git, ruby and everything else that it needs.
* git clone
+
* git clone git://git.amahi.org/amahi.git
 
* cd amahi/platform/platform/html
 
* cd amahi/platform/platform/html
 
* rake db:create
 
* rake db:create
 
* rake db:migrate
 
* rake db:migrate
 
* ./script/server  This should now make the Amahi dashboard work. Not much else will, but it's a start.
 
* ./script/server  This should now make the Amahi dashboard work. Not much else will, but it's a start.

Revision as of 19:00, 18 June 2009

  • 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.