Difference between revisions of "UbuntuWorkingNotes"

From Amahi Wiki
Jump to: navigation, search
(Further edits regarding mysql sockets)
(Temporary fix to rake db command failures)
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.
+
* 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. This will fetch ruby and everything else that it needs.

Revision as of 16:59, 25 March 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. This will fetch ruby and everything else that it needs.
  • git clone
  • cd amahi/platform/platform/html
  • rake db:create
  • rake db:migrate