Linux RedHat Linux

Running Internet Radio Station with Icecast server on Debian

I haven’t wrote anything a while now because I was occupied with radio station i built and we also did go on AIR on FM frequency.
In this tutorial I am going to teach you how to setup your very own radio station using RadioBOSS and IceCast2 server.

You will need to own Linux distribution.

First we are going to install IceCast2

apt-get install icecast2

After that we must edit /etc/icecast2/icecast.xml
You can whether VI or Nano depending what your favourite editor is.

Most default values should work fine for now, but you should change the passwords in the <authentication>...</authentication> section.

The source-password is the password that Ices2 will later on use to connect to Icecast2; the admin-password is the password that the admin will use in Icecast2’s web interface; we won’t use the relay-password, but anyway you should change it.

vi /etc/icecast2/icecast.xml

        <!-- Sources log in with username 'source' -->
        <!-- Relays log in username 'relay' -->

        <!-- Admin logs in with the username given below -->

Afterwards edit /etc/default/icecast2 and set ENABLE to true:

vi /etc/default/icecast2

# Defaults for icecast2 initscript
# sourced by /etc/init.d/icecast2
# installed at /etc/default/icecast2 by the maintainer scripts

# This is a POSIX shell fragment

# Full path to the server configuration file

# Name or ID of the user and group the daemon should run under

# Edit /etc/icecast2/icecast.xml and change at least the passwords.
# Change this to true when done to enable the init.d script

That’s it already, we can now start the Icecast2 server:

/etc/init.d/icecast2 start

You can now direct your browser to http://SERVERIP:8000/ (replace SERVERIP with your own IP address or FQDN) and browse through the web interface:

Now you can download some program, I highly recommend using RadioBOSS or Winamp Shoutcast to stream your music to your server.
That’s it now you are ready to connect with source password and stream live content to your listeners!
If you want to stream content directly from your server, you can use Ices2 and I will show you how to do that in next tutorial.

About the author

Luka Paunovic

I am Linux System Administrator and student of Business economics at John Naisbitt University.
Love to blog and read blogs.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *