Earlier this month I won an auction for an Asus eee PC900 netbook. My
plan was to stream music to my SBR from the PC900 instead of from a
Win7 desktop PC. 

The PC900 arrived in good condition running the factory default Linux
(as I expected). The unit has 1GB RAM and two SSD drives: one 4GB, the
other 16GB. I installed Logitech Media Server from the slimdevices
repository, attached a powered USB, 500gb drive to the PC900, and got
LMS up and running with minimal hassles.

(I have been dabbling with Linux as an end-user on and off for years.
So I consider myself moderately experienced. Although often I don't
really know why things work, I can usually follow directions for
getting things to work.)

CHOOSING YOUR LINUX OS
For a handful of reasons a few days ago I decided to wipe out the
factory default Linux and install a different Linux version on the
PC900. The process took considerably longer than necessary, mostly
because it's been awhile since I have worked with Linux and thus I was
in the tweaking-experimenting mode. The purpose of this post is to
summarize the steps I took for the benefit of those who would like to
install LMS on a Linux box that can also be used as a desktop computer.
(Although I have not tried it, I would recommend using Linux vortexbox
server OS for persons who simply want a Linux server set up
specifically to run LMS.)

I downloaded several Linux ISOs and tried them out before settling on
EasyPeasy 1.6, which is built upon Ubuntu 10.04 and Debian and
customized for low-power netbooks, including the eee PC series. (See
http://wiki.geteasypeasy.com/EasyPeasy.) If your Linux server is a
desktop PC, you might go directly to Ubuntu 10.04 instead.

MAKING A BOOTABLE IMAGE FILE
The usual method for installing Linux is to download a Linux ISO file
and burn it to a bootable CD. Then, in the system BIOS, change the boot
order to boot first from the CD. At that point, follow the prompts for
loading and installing the Linux OS. Many Linux distributions now can
be run as a "LiveCD" that runs in the computer's RAM, thereby making no
changes to the installed OS.

My PC900 netbook does not have an internal CD drive, however, and I did
not have an external CD drive. Therefore I had to boot from a 2gb USB
falsh drive by creating a bootable Linux image on the drive using
UNetBootin. The process has just 3 steps:
1. Download (from http://unetbootin.sourceforge.net) UNetBootin for
Windows or Linux and run it.
2. Use it to copy your ISO file to the USB drive so that it's
bootable.
3. Boot your PC using the USB drive.

INSTALLING YOUR LINUX OS[/B]  
1. DOWNLOAD THE EASYPEASY 1.6 ISO AND BURN IT ONTO A CD-R TO CREATE A
TRADITIONAL BOOTABLE LIVE CD, OR INSTALL IT ON A USB FLASH DRIVE USING
UNETBOOTIN.

2. BOOT YOUR PC USING THE CD OR THE USB FLASH DRIVE.

3. AFTER A FEW MINUTES YOU WILL BOOT TO THE DESKTOP, WHERE YOU CAN
EXPLORE THE OS OR JUMP IMMEDIATELY TO INSTALLATION ON YOUR HARD DRIVE.
(THERE WILL BE AN \"INSTALLATION\" MENU ITEM.)

4. EASYPEASY 1.6 STEPS YOU THROUGH THE INSTALLATION. THE CRITICAL
CHOICE FOR MOST USERS WILL BE WHETHER TO KEEP THE INSTALLED OS ON THE
PC AND INSTALL EASYPEASY BESIDE IT (THAT IS, A DUAL-BOOT INSTALLATION),
OR TO DELETE THE INSTALLED OS AND REPLACE IT WITH EASYPEASY. ALTHOUGH I
DIDN'T TRY TO INSTALL UBUNTU 10.04 ON THE PC900, I AM GOING TO ASSUME
THAT THE TYPICAL INSTALL ROUTINE WILL GIVE THE SAME CHOICES.

5. I CHOSE TO DELETE THE INSTALLED OS AND THEREFORE WAS OFFERED A
CHOICE OF ACCEPTING THE DEFAULT INSTALL OR ADVANCED (THAT IS, WITH DISK
PARTITIONING) INSTALL. ALTHOUGH I CHOSE THE ADVANCED INSTALL, SETTING MY
OWN PARTITIONS, MOST USERS WILL PROBABLY ACCEPT THE DEFAULTS. (THE PC900
HAS TWO SSDS AND SO I INSTALLED THE OS ON THE 4GB DRIVE AND THE /HOME
DIRECTORY ON THE 16GB DRIVE. I DID NOT CREATE A SWAP PARTITION.) THE
WORST THAT CAN HAPPEN IF YOU MESS UP OR BELIEVE YOU MADE A WRONG CHOICE
HERE IS THAT YOU DO THE INSTALL ROUTINE AGAIN. FINISH THE STEPS, WHICH
INCLUDE CREATING A USERNAME AND PASSWORD ON YOUR NEW LINUX OS. DON'T
FORGET YOUR PASSWORD, YOU ARE GOING TO NEED IT LATER.

6. AFTER 30 MINUTES OR SO, THE INSTALL ROUTINE WILL FINISH AND YOU WILL
BE ASKED TO RESTART. MAKE SURE YOU REMOVE THE CD OR USB AFTER
RESTARTING.

7. A FEW MINUTES AFTER BOOTING TO YOUR NEW LINUX DESKTOP AND PROVIDED
YOU ARE CONNECTED TO THE INTERNET, YOU WILL BE PROMPTED TO RUN THE
UPDATE MANAGER. IF NOT, YOU CAN RUN UPDATE MANAGER FROM THE SYSTEM ->
ADMINISTRATION MENU. THIS WILL UPDATE YOUR OS -- MAY TAKE A FEW MINUTES
OR, IN MY CASE, ANOTHER 30 MINUTES.

8. BECAUSE I SERVE MY MUSIC FILES FROM A POWERED USB, 500GB HARD DRIVE,
I SHUT DOWN THE COMPUTER, ATTACHED THE POWERED DRIVE TO THE PC900, AND
STARTED THE PC. EASYPEASY FOUND THE ATTACHED USB DRIVE, YIPPEE! IN THE
LINUX FILESYSTEM, IT IS MOUNTED AT: /MEDIA.

[B]INSTALLING LOGITECH MEDIA SERVER
9. OK, how to get Logitech Media Server installed on the computer?
Ubuntu 10.04 comes with a neat software install program called
"Synaptic," which is a graphical front-end to the OS's package
management system. At this point, I am going to send you to the Ubuntu
documentation for a short HowTo on Synaptic -- here:
https://help.ubuntu.com/community/SynapticHowto -- because you will
need to tell Synaptic where to find the Logitech Media Server files by
adding those to the list of software sources (the "repository"). After
getting oriented to Synaptic, add "deb http://debian.slimdevices.com
stable main" (without the quotes) to Synaptic's Software Sources list,
and then click Reload from the Synaptic toolbar.

10. Reloading the sources list will take a few minutes -- Synaptic goes
online and updates the files from the repositories. Depending upon how
long it has been since those files have been updated, the process could
take several minutes. Once it is finished, search Synaptic for Logitech
Media Server. Then mark it for installation. 

11. While you are marking the LMS package for installation, also search
Synaptic for "NTFS Configuration Tool" and "Samba Configuration Tool."
Mark these packages for installation as well. Neither of these packages
were installed by default in EasyPeasy. The NTFS tool will come in handy
if you find that you can't access the files on your external USB hard
drive from your Linux box or from another computer on your network. See
the instructions on NTFS by forum member pablolie here:
http://forums.slimdevices.com/showthread.php?t=87719. You want Samba
installed because that is the Linux program that enables your Linux
computer to share files and folders with other computers on your
network. The Samba Configuration Tool is a graphical front-end to
configuring Samba. 

12. Mark Logitech Media Server, Samba, and NTFS Configuration Tool for
installation and follow Synaptic's instructions for installing these
packages.

13. Close out of Synaptic. Let's make sure you have access to your
external USB drive (if you are using one). Make your way to the System
-> Administration menu. Open the NTFS Configuration Tool and, as
pablolie explains, "let it noodle for a while. Enable read write etc.
It's easy if you're patient."

14. If you intend to share folders and files on your new Linux computer
with other computers on your network, you might as well open Samba from
the System -> Administration menu. Because a picture is worth a
thousand words, here is the easy way to set up Samba:
http://www.liberiangeek.net/2010/07/quick-easy-share-filesfolders-windows-ubuntu-10-04-lucid-lynx/
and
http://www.liberiangeek.net/2009/12/sharing-files-windows-xp-ubuntu-easy/.


You may need to restart your Linux computer. EasyPeasy installed LMS so
that it runs automatically on startup. For more information or if you
get stuck on how to get LMS running, see the wiki on the
SqueezeCenter/Squeezebox/LMS Debian Package install:
http://wiki.slimdevices.com/index.php/DebianPackage.

If you want to start/stop Logitech Media Server manually you can run:

        sudo /etc/init.d/logitechmediaserver stop
        sudo /etc/init.d/logitechmediaserver start 

That's it! Now you can set up your LMS account and access your music
files.


-- 
TimT
------------------------------------------------------------------------
TimT's Profile: http://forums.slimdevices.com/member.php?userid=22971
View this thread: http://forums.slimdevices.com/showthread.php?t=91747

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to