Posts Tagged ‘radio station’

How to Create an Internet Radio Station

July 30, 2008 10 comments

This tutorial will help you set up an Internet Radio station on your server. You can create the content and then provide it for your listeners. The example uses an Ubuntu server for the set up.

Step #1: Download the Shoutcast Server (latest version):

Copy it to the /usr directory and create a folder called shout:

sudo cp sc_serv_1.9.8_Linux.tar.gz

sudo mkdir shout

cd /usr/shout

tar zxvf sc_serv_1.9.8_Linux.tar.gz

chmod 755 sc_serv

Edit the config File:
vim sc_serv.conf

Be sure you document your password for the furture.

Start the Server:


You should see that it is running.

Step #2: Create a way to feed Music Into the Server
This will use ices0.4 so you will be able to use mp3s.

Save the file to the /usr directory.

tar -zxvf ices-0.4.tar.gz

This will create a folder called ices-0.4. Move into this folder.

cd ices-0.4

Make sure your /etc/apt/sources.lst has these sources as you will need them to download the files you need. Use all of the usual sources but be sure these three are included so you can draw from them.

backports main restricted universe multiverse
free non-free

sudo apt-get update

sudo apt-get install libshout3 libshout3-dev liblame-dev libxml-dev

Make sure you have a compiler.

sudo apt-get install gcc g++ make

Compile ices
Move into the directory that you created.

cd /usr/ices-0.4

./configure –with-lame

If you do not have errors then continue, if you do have errors then download the needed dependencies.


sudo make install

Step #3: Create a mp3 Directory
You can create the directory anywhere but one good location might be /mp3.

sudo mkdir /mp3

Copy your mp3s into that location.

find /mp3 -type f -name “*.mp3” > /mp3/playlist.txt

Now edit your config file for ices.

sudo vim /usr/local/etc/ices.conf.dist

Change the Playlist to /mp3

Change the Hostname

Change the Password

Change Protocol to icy

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

Typically the port to connect to the radio station is port 8000 but you can change that in the config.