Changes

From Amahi Wiki
Jump to: navigation, search
48 bytes removed ,  14:30, 27 December 2013
== Install ==
==== Amahi 6 === ==== One-Click Install (almostUbuntu) Automated Method====
* The Amahi [https://www.amahi.org/apps/headphones Headphones] <b>BETA</b> one-click app install for Amahi 6 works for the most part, with two exceptions.
sudo chkconfig headphones on
==== Amahi 6 (Ubuntu) Manual Method ====
These instructions are for an Ubuntu 12.04 setup, modification will be required for a Fedora install
** It should be under Setup > Apps > Webapps (you need to have [[Advanced_Settings|advanced settings]] enabled first)
** You may have to create the directory for the webapp by hand from the command line with
{{Code| mkdir -p /var/hda/web-apps/headphones/html /var/hda/web-apps/headphones/logs }}
* Install git-core in case you don't have it.
{{Code| sudo apt-get install git-core}}
* Issue the following commands to correct the html directory permissions
{{Code| sudo chown [username]:users /var/hda/web-apps/headphones/html chmod 775 /var/hda/web-apps/headphones/html}}
: Remember to replace [username] with your username
* Clone the git source from github to your web root directory (html) with
{{Code| git clone https://github.com/rembo10/headphones.git /var/hda/web-apps/headphones/html/}}
* Open and modify the included Ubuntu init.d script
{{Code| nano /var/hda/web-apps/headphones/html/init.ubuntu}}
: Change APP_PATH line to read APP_PATH=/var/hda/web-apps/headphones/html
* Copy the file to the appropriate location and tell ubuntu to use use the script
{{Code| sudo cp /var/hda/web-apps/headphones/html/init.ubuntu /etc/init.d/headphones sudo chmod +x /etc/init.d/headphones sudo update-rc.d headphones defaults}}
Test it is working by issuing the following command and checking http://headphones:8181 in your browser
{{Code| sudo /etc/init.d/headphones start}}
----
[[Category:apps]]
12,424

edits