Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
* To install manually without customizations, [[Open_Terminal_as_root|Open Terminal as root]] and do the following:
==== INSTALL DEPENDENCIES ====
{{Code|yum install libid3tag libid3tag-devel howl-devel gdbm-devel zlib-devel}}
==== CREATE A TEMP DIRECTORY TO WORK WITHIN ====
{{Code|mkdir /tmp/mytunes
cd /tmp/mytunes}}
==== GET mt-daapd, EXTRACT, BUILD, INSTALL IT ====
{{Code|wget http://downloads.sourceforge.net/sourceforge/mt-daapd/mt-daapd-0.2.4.2.tar.gz
tar -xzf mt-daapd-0.2.4.2.tar.gz
make install}}
==== MOVE FILES NOT INSTALLED BY 'make install' ====
*First, edit mt-daapd.conf to match our needs.
chmod 600 /etc/mt-daapd.conf}}
==== MAKE SURE mt-daapd STARTS AT BOOT ====
{{Code|mv /usr/local/sbin/mt-daapd /usr/bin
/sbin/chkconfig --add mt-daapd
*If everything went right, your music server is now running.
==== CLEAN UP ====
{{Code|cd ..
rm -rf /tmp/mytunes}}
==== CREATE AN AMAHI DASHBOARD LINK ====
* Login to your Amahi dashboard. Click 'Apps', 'Webapps' then 'New Web App'
* Give your app a name like 'myTunes'
*Keep the default path and click 'Create'.
==== LINK mt-daapd WEB INTERFACE WITH AMAHI DASHBOARD ====
*Go back to Terminal.
{{Code|vi /var/hda/web-apps/myTunes/html/index.html}}
{{Code|chown apache:apache /var/hda/web-apps/myTunes/html/index.html}}
==== CLICK AND ENJOY ====
Go back to the Amahi Dashboard and click on the link to your new web app, it should bounce straight to mt-daapd's web interface where you can modify the app settings, check status, etc. (Login Credentials: mt-daapd/mt-daapd)
12,424

edits