In this page a weekly featured application – solely run using FOSS and LINUX community distros- is demonstrated. This weeks featured application is : Internet Radio Broadcasting using Ubuntu, Please follow the link : http://196.219.168.113:8000
Applications are running on Dbcon’s local net. They are therefore only available for demonstration purposes at specific times.

Technical Realization Steps
Here are the needed technical Steps (taken from http://ubuntuforums.org/showthread.php?t=73098. Please go there for detailed instructions) :
1. Download & launch shoutcast (an Open Source streaming server program):
a. wget http://www.shoutcast.com/downloads/s…-glibc6.tar.gz
b. tar -zxvf shoutcast-1-9-5-linux-glibc6.tar.gz
c. move to a usable location (i.e. /usr/local/bin) :cd shoutcast-1-9-5-linux-glibc6/
d. sudo cp sc_serv /usr/local/bin
sudo cp sc_serv.conf /usr/local/etc
sudo chmod 755 /usr/local/bin/sc_serv
e. edit the config: sudo nano /usr/local/etc/sc_serv.conf
The password needs to be changed then saved.
f. Launch the server: sudo sc_serv /usr/local/etc/sc_serv.conf
g. Test it in a browser: localhost:8000

2. Use ices 0.4 (which handles mp3 format only)
a. The source part
a.1. get ices: wget http://downloads.us.xiph.org/release…ces-0.4.tar.gz
a.2. tar -zxvf ices-0.4.tar.gz
a.3. you will need Lame (sudo apt-get install lame liblame-dev)
a.4. ./configure –with-lame
a.5. sudo make
a.6. sudo make install

b. Configuring the playList
find /path/to/your/mp3s -type f -name “*.mp3″ > /path/to/your/mp3s/play.lst

c. The Client Part :
sudo nano /usr/local/etc/ices.conf.dist

c.1 Playlist handler has to be changed. Enter the path to the playlist you just made. Hostname will be the address to your server, localhost will usally work but you may need something more specific (if you are not sure just type localhost:8000 in a browser and see if anything happens). The protocol should be set to ‘icy’.

c.2 launch : ices -c /usr/local/etc/ices.conf.dist

_______________________________________________________________________

The above however will NOT work unless you make the following modifications

1. Create a mp3 Directory (You can create the directory anywhere but one good location mightbe /mp3.)
2. sudo mkdir /mp3 Copy your mp3s into that location.

3. find /mp3 -type f -name “*.mp3” > /mp3/playlist.txt
Note that the correct label is playlist.txt!!!!

4. Now edit your config file for ices : sudo vim /usr/local/etc/ices.conf.dist

5. Change the Playlist to /mp3/playlist.txt

6. ices -c /usr/local/etc/ices.conf.dist

Any questions and/or comments to be sent to eabdelwahab@lpi.org

 

 

 

 

Copyright 1999 - 2008 Linux Professional Institute. The LPI logo is a trademark of Linux Professional Institute.
dBconcast