<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Host_install</title><link>https://sourceforge.net/p/beagletombmp/wiki/Host_install/</link><description>Recent changes to Host_install</description><atom:link href="https://sourceforge.net/p/beagletombmp/wiki/Host_install/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 06 Oct 2011 00:22:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/beagletombmp/wiki/Host_install/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Host_install modified by Grant Hutchinson</title><link>https://sourceforge.net/p/beagletombmp/wiki/Host_install/</link><description>***********************************************************
INSTALLATION:
*******************************************************
install tasksel:
------------------
sudo apt-get install tasksel

open tasksel, install mysql:  *don't forget the password you enter
----------------------------
sudo tasksel install mysql-server
or
sudo tasksel     push space bar in the LAMP server box then hit enter.

WRITE DOWN YOUR ROOT MYSQL PASS YOU WILL NEED IT.

extract the contents of BeagleTomb.tar.gz to your home folder: 
-------------------------------------------------------------

Browse the contents of the folder you just extracted:
-----------------------------------------------------
cd ~/BeagleTomb/

Open the Installer:  (must be run as root)
----------------------
sudo sh ./myinstall.sh

Installer will attempt to search and install the following:

mysql-server
mpd
mplayer
mediatomb

mediatomb database table
media tomb database user with mediatomb password
grant all privilages to mediatomb


*****************************************************
AUTO CONFIGURATION:
**************************************************
run the installer again except selection menu item 2.
make sure you're in the BeagleTomb Folder
cd ~/BeagleTomb/
sudo sh ./myinstall.sh

selected 2nd menu.

******************************************************
MANUAL CONFIGURATION:
******************************************************
mediatomb:
----------------------------------------------------
Once installed you need to configure mediatomb to properly connect to mysql

Copy and replace these lines in /etc/mediatomb/config.xml to look like this.
Don't forget to edit 192.168.1.116 and put in your host local IP address.

  &lt;server&gt;
    &lt;ui enabled="yes" show-tooltips="yes"&gt;
      &lt;accounts enabled="no" session-timeout="30"&gt;
        &lt;account user="mediatomb" password="mediatomb"/&gt;
      &lt;/accounts&gt;
    &lt;/ui&gt;


And.....


   &lt;storage&gt;
      &lt;sqlite3 enabled="no"&gt;
        &lt;database-file&gt;mediatomb.db&lt;/database-file&gt;
      &lt;/sqlite3&gt;
      &lt;mysql enabled="yes"&gt;
        &lt;host&gt;192.168.1.116&lt;/host&gt;
        &lt;username&gt;mediatomb&lt;/username&gt;
	&lt;password&gt;mediatomb&lt;/password&gt;
        &lt;database&gt;mediatomb&lt;/database&gt;
      &lt;/mysql&gt;
    &lt;/storage&gt;

------------------------------------------------

mySQL:
-------------------------------------------------
1) Edit /etc/mysql/my.cnf
sudo gedit /etc/mysql/my.cnf

2)replace part of the my.cnf with your Host Local IP:

bind-address            = 192.168.1.116

3) restart mysql server
sudo /etc/init.d/mysql restart

--------------------------------------------------

**************************************************
Launch:
**************************************************
Start the mediatomb server:  (recommended you set this on startup) 
default port is 49152 however, you can choose anyp ort.

sudo mediatomb --port 49154   


Add Files to mediatomb at http://localhost:49152


</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Grant Hutchinson</dc:creator><pubDate>Thu, 06 Oct 2011 00:22:32 -0000</pubDate><guid>https://sourceforge.neta2be4283a0109780808cb825aa738b88492db32a</guid></item></channel></rss>