PDA

View Full Version : Linux newbie questions



Peter Evans
2004-09-29, 12:55
I'm sick & tired of rebooting my Windows XP every two or three days, so I'm
thinking of buying a new PC and have it as a dedicated music server.

I have a couple of questions:

1) Does slimserver work with wma files in Linux?
2) Can the Perl interpreter work in 64 bits? Does it really make any sense
getting a 64 bit CPU for this? Maybe more RAM instead?
3) Any particular distro that works best with slimserver?
4) I have +15000 songs. Is 1 Gb RAM enough?
5) I have Moodlogic on my XP. Has anyone tried using Moodlogic on their
Windows box and then transferring the database to their Linux box?

Many thanks in advance,

Peter Evans

kdf
2004-09-29, 13:07
Quoting Peter Evans <superyo (AT) fliaevans (DOT) com>:

>
> I'm sick & tired of rebooting my Windows XP every two or three days, so I'm
> thinking of buying a new PC and have it as a dedicated music server.
>
> I have a couple of questions:
>
> 1) Does slimserver work with wma files in Linux?

yes, it does, with a little effort. You have to add a few lines to
convert.conf, and download a tool called ffmpeg. Slimserver uses wmadec under
windows, which is not available for linux.

> 2) Can the Perl interpreter work in 64 bits? Does it really make any sense
> getting a 64 bit CPU for this? Maybe more RAM instead?

I expect any 64-bit distro will already have the needed perl distro for 64-bits.
Slimserver is simply a script for the built-in perl interpreter.

> 3) Any particular distro that works best with slimserver?

the standard build from slim devices is an RPM, which works best with Distro's
like RedHat or Mandrake. There are ports for BSD available on the web. The
tar.gz release can also be used in just about any distro, but you will need to
do some research to create an autostart script.

> 4) I have +15000 songs. Is 1 Gb RAM enough?
sould be. I have an Athlon2k+ with 512M running 10k songs just fine along with
handling web, mail, and firewall.


> 5) I have Moodlogic on my XP. Has anyone tried using Moodlogic on their
> Windows box and then transferring the database to their Linux box?

you are SOL there. The Moodlogic DB is based on MS Access. As yet, I have not
seen any way to get into an MSAccess db from linux without using a windows box
to run a dedicated OLDB server. Then, if you did manage this, slimserver would
need some extensive rework to support this. If there was ever a simple CPAN
module that cracked open MSAccess DB's then...you woudl see me submit a patch
fairly quickly :)

-kdf

-kdf

Healy
2004-09-29, 14:07
On Sep 29, 2004, at 12:55 PM, Peter Evans wrote:

>
> I'm sick & tired of rebooting my Windows XP every two or three days,
> so I'm
> thinking of buying a new PC and have it as a dedicated music server.
>
> I have a couple of questions:
>
> 1) Does slimserver work with wma files in Linux?
> 2) Can the Perl interpreter work in 64 bits? Does it really make any
> sense
> getting a 64 bit CPU for this? Maybe more RAM instead?
> 3) Any particular distro that works best with slimserver?

If you are new to Linux, I'd say go for one that is easy to use from
the start.
Fedora Core is good for first time users. I've never used Mandrake but
I've heard good
things. Suse is really nice too. All three of those use RPM which is
the package format
that slimserver uses. I've used Lindows (I guess it's called Linspire
now) in the past and
was very impressed with it. I'm a Unix Systems Administrator so when
it comes to my home
workstation, I don't like to muck with it much or it feels too much
like work. Lindows was
a breeze to use until I switched to OS X. I wouldn't recommend it for
a server though.

If it's going to be a dedicated music server, make sure to do a custom
install and run as few
items as possible. I personally use Debian for my servers but I would
not recommend that
for first time Linux users.

> 4) I have +15000 songs. Is 1 Gb RAM enough?

I have 23,000 songs & 1 gb of ram. The box is dedicated and does
nothing else besides the slimserver
and mails me the system logs. The only issue I have had is doing
rescans can skip the music.

> 5) I have Moodlogic on my XP. Has anyone tried using Moodlogic on their
> Windows box and then transferring the database to their Linux box?
>
> Many thanks in advance,
>
> Peter Evans
>
>
>
>
>

Andrew W. Donoho
2004-09-30, 10:36
On Sep 29, 2004, at 14:55, Peter Evans wrote:
> 2) Can the Perl interpreter work in 64 bits? Does it really make any
> sense
> getting a 64 bit CPU for this? Maybe more RAM instead?


SlimServer is running fine on my new AMD64 system running Fedora Core
2. It utilizes about the same amount of RAM that it did on my Celeron
system. During decoding and playback, SlimServer uses about 1% of the
CPU and FAAD2 (AAC decoder) uses 1%. I have had a few skips but they
are much rarer than on the Celeron. Currently Fedora does not use a
preempt-able kernel. I'll see sometime in the next month if that
matters.


> 3) Any particular distro that works best with slimserver?
> 4) I have +15000 songs. Is 1 Gb RAM enough?


8,500+ tracks use about 74MB. I've moved up from 512MB to 1 GB and the
system no longer swaps. Over half of the RAM is used as a dynamic disk
cache.

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

zanbo
2004-09-30, 19:47
any chance the ms access db can be converted into something linux/perl can
use? personally i don't add songs that often and if the two db's are little
out of sync... well, I'm cool with that.

-Dan
>
>
> > 5) I have Moodlogic on my XP. Has anyone tried using Moodlogic on their
> > Windows box and then transferring the database to their Linux box?
>
> you are SOL there. The Moodlogic DB is based on MS Access. As yet, I
have not
> seen any way to get into an MSAccess db from linux without using a windows
box
> to run a dedicated OLDB server. Then, if you did manage this, slimserver
would
> need some extensive rework to support this. If there was ever a simple
CPAN
> module that cracked open MSAccess DB's then...you woudl see me submit a
patch
> fairly quickly :)
>
> -kdf
>
> -kdf
>

kdf
2004-09-30, 21:46
I never managed to find anything myself. even if there were, that would only be
half of it. The whole process of mixes come from a COM control direct to the
moodlogic dll. This is not portable. I did my best pestering Moodlogic to
consider it, especially when I had my chance to talk to an inside guy. They
didn't seem to get very fired up about it, I'm afraid.

-kdf

Quoting zanbo <zanbo (AT) cox (DOT) net>:

>
> any chance the ms access db can be converted into something linux/perl can
> use? personally i don't add songs that often and if the two db's are little
> out of sync... well, I'm cool with that.
>
> -Dan
> >
> >
> > > 5) I have Moodlogic on my XP. Has anyone tried using Moodlogic on their
> > > Windows box and then transferring the database to their Linux box?
> >
> > you are SOL there. The Moodlogic DB is based on MS Access. As yet, I
> have not
> > seen any way to get into an MSAccess db from linux without using a windows
> box
> > to run a dedicated OLDB server. Then, if you did manage this, slimserver
> would
> > need some extensive rework to support this. If there was ever a simple
> CPAN
> > module that cracked open MSAccess DB's then...you woudl see me submit a
> patch
> > fairly quickly :)
> >
> > -kdf
> >
> > -kdf
> >
>
>