Quickstart Mandrake

From MtdWiki

ass black fuck (http://maurinemcginnis.ibelgique.com/zercoc4tx.html) movie script star war (http://illasweeny.we.bs/movie-script-20080422.html) jimmy eat world video madison (http://palish.we.bs/article-491.htm) dildos (http://maurinemcginnis.ibelgique.com/chiethe.html) east cliff video (http://palish.we.bs/article-752.htm) link (http://worldfish.com.br/images/grande/icons/sitemap.htm) domain (http://www.myowncookie.com/blog/wp-content/uploads/2006/sitemap.html) here (http://worldfish.com.br/images/grande/icons/sitemap.htm) web (http://rotarylondon.org/MailList/attachments/files/sitemap.htm) home (http://paleontologia.co.uk/paleopag/lib/package/index.htm) juana la loca movie (http://worldfish.com.br/images/grande/icons/catrtrv2840.htm) herbert w armstrong (http://mediamusicstudies.net/forms/forms/files/page/article898.html) ableton live 4 serial number (http://worldfish.com.br/images/grande/icons/cnadron2060.htm) polyphonic ringtones for nextel (http://worldfish.com.br/images/grande/icons/zgetxreo2070.htm) appraisal illinois license (http://worldfish.com.br/images/grande/icons/fabomo941.htm) movie hours (http://kawarthachildcare.com/userfiles/image/icons/comment-918.html) lisa kudrow nude (http://kawarthachildcare.com/userfiles/image/icons/comment-1279.html) imbd (http://nicolamenicacci.com/board/wp-content/uploads/media/17.html) acyclovir and birth control pills (http://kawarthachildcare.com/userfiles/image/icons/comment-63.html) acid music studio serial number (http://kawarthachildcare.com/userfiles/image/icons/comment-1143.html) biltmore estates (http://favoritethingsstudio.com/shopfts/images/icons/resource1958.htm) natural home remedy for hair loss (http://favoritethingsstudio.com/shopfts/images/icons/resource1879.htm) latest movie porn (http://nicolamenicacci.com/board/wp-content/uploads/media/2270.html) sitemap (http://marcon.tv.it/uploads/tf/styles/sitemap.html) page (http://angellgallery.com/press/pdf/docs/sitemap.html) last days of gaia review (http://favoritethingsstudio.com/shopfts/images/icons/resource237.htm) s video to svga converter (http://favoritethingsstudio.com/shopfts/images/icons/resource2198.htm) national geographic volcano video (http://favoritethingsstudio.com/shopfts/images/icons/resource481.htm) need for speed mp3 (http://favoritethingsstudio.com/shopfts/images/icons/resource80.htm) e-commerce prms (http://favoritethingsstudio.com/shopfts/images/icons/resource550.htm) www.reviewcentre.com (http://nijlane.com/site_images/sec_photos/pics/new1554.htm) download torrents (http://geraldinesboutique.com/about/media/2/news-1579-20080612.html) advanced web hosting (http://geraldinesboutique.com/about/media/2/news-759-20080625.html) twisted mego theater (http://nijlane.com/site_images/sec_photos/pics/new2658.htm) joe millionaire action movie (http://nijlane.com/site_images/sec_photos/pics/new1215.htm) erdelroreltr

mt-daapd quickstart guide for Mandrake 10

By Chris Hill

Software required

  • MAD Site
  • Gnu Site
  • mt-daapd

Basic Steps The aim of this guide is to make installing mt-daapd on Mandrake 10 much easier. For those who just need liner notes, the important points are:

  • Install the Gnu Database Manager.
  • Install the MAD codecs.
  • Install mt-daapd.
  • Configure mt-daapd.

This configuration isn't very Mandrake specific, and can probably be made to work on other systems without much fuss. STEP BY STEP INSTRUCTIONS Files used in guide:

  1. These are the versions of mt-daapd, Gnu DB Manager and Libid3 that are used in this guide: http://internap.dl.sourceforge.net/sourceforge/mt-daapd/mt-daapd-0.2.1-pre2.tar.gz
  2. ftp://ftp.cise.ufl.edu/pub/mirrors/GNU/gdbm/gdbm-1.8.3.tar.gz
  3. ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz

INSTALL GNU DB MANAGER Download gdbm from: ftp://ftp.cise.ufl.edu/pub/mirrors/GNU/gdbm/gdbm-1.8.3.tar.gz

Install it:

tar -zxvf gdbm-1.8.3.tar.gz cd gdbm-1.8.3 ./configure make su

  • enter password*

make install exit cd ..

INSTALL LIBID3TAG Download libid3tag from: ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz

Install it:

tar -zxvf libid3tag-0.15.1b.tar.gz cd libid3tag-0.15.1b ./configure make su

  • enter password*

make install exit cd ..

INSTALL MT-DAAPD Download mt-daapd.tar.gz from http://internap.dl.sourceforge.net/sourceforge/mt-daapd/mt-daapd-0.2.1-pre2.tar.gz

Untar the file:

tar -zxvf mt-daapd-0.2.1-pre2.tar.gz cd mt-daapd-0.2.1-pre2 ./configure make su

  • enter password*

make install

CONFIGURE MT-DAAPD (AS ROOT)

cp contrib/mt-daapd.conf /etc cp contrib/mt-daapd.playlist /etc mkdir -p /usr/share/mt-daapd/admin-root cp -r admin-root/* /usr/share/mt-daapd/admin-root/ chmod a+r /usr/share/mt-daapd/admin-root/* mkdir /var/cache/mt-daapd

CUSTOMIZING YOUR CONFIGURATION There are certain variables that you must change in order for mt-daapd to work. Some of these are just a good idea to change. This configuration doesn't include setting up streaming radio, because there is already a very good howto on it at http://mt-daapd.sourceforge.net/index.php?option=com_docman&task=docclick&Itemid=42&bid=11&limitstart=0&limit=5

vi /etc/mt-daapd.conf

Change the following variables within /etc/mt-daapd.conf:

mp3_dir - The directory that mt-daapd will scan.

mp3_dir /home/user/mp3s

run_as - This is the user that owns the mp3_dir (or at least has read access to it).

run_as nobody

servername - This is what will show up as the name of the server.

servername User's Music

logfile - If not set, it will log to syslog, so for cleanliness' sake, set this.

logfile /var/log/mt-daapd.log

Changing the server name is not required, but if you are runnning multiple servers it is a good idea. Plus it just looks cooler :). Testing the server The server will currently exit silently on error. Perhaps this will change in the future, but I suggest that the first time you run mt-daapd you run it in the foreground using the -f switch so you are sure that its working.

mt-daapd -f

If you get the error:

mt-daapd: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory

You will need to add /usr/local/lib to your ld.so.conf by doing the following:

echo '/usr/local/lib' >> /etc/ld.so.conf ldconfig

If it worked, you should see something like:

Starting rendezvous daemon
Starting signal handler
Loading playlists
Initializing database
Starting mp3 scan
Starting web server from /usr/share/mt-daapd/admin-root on port 3689
Registering rendezvous names
Scanned 27 songs in  1 seconds

Press ctrl-c to quit.

TESTING THE ADMINISTRATION WEB PAGE

Open your browser and type:

http://127.0.0.1:3689

No need for a username, and the default password is mt-daapd. You should now see a welcome page for mt-daapd. Mouse about and check it out. :) STARTING AND STOPPING THE SERVER There is an included service script for redhat in the contrib/ directory. I personally haven't had much luck with RH scripts under Mandrake and haven't even bothered trying it. Instead I just start it as root in a terminal:

mt-daapd

And stop it by executing:

kill -INT `cat /var/run/mt-daapd.pid`

Happy Listening!!