Ever wanted to start your own radio station that you and your friends can enjoy?

you’ve got the option to, with Icecast.

In this article we’ll create a simple online streaming radio.

A Microphone.

Andrew Heinzman / How-To Geek

Icecast is an open-sourceHTTP/ standards-based live media streaming server created by theXiph.org Foundation.

To start, all you’ll need is a computer and a connected microphone.

Icecast is available for Linux/Unix and Windows.

Terminal window showing command to install Icecast onDebian

ePirat / Xiph.org Foundation

Similar projects exist, such asShoutcast,SnapcastandAzuraCast.

License requirements to run an Internet radio station vary by country.

yo consult the laws in your country for specific requirements.

Terminal window showing command to install Icecast on Fedora

For more info, check out thethe Wikipedia page on internet radio broadcasing.

Debian distros will run a post-install script which helps you configure things.

The source password authenticates with Icecast to allow you to start a stream.

Terminal window asking if you would like to configure Icecast on Debian

I recommend a unique password and not the default (which is “hackme”).

Maybe something like:

Relays are useful in larger setups for distributing listener load to multiple servers.

You’ll use this to access Icecast’s web interface admin section.

Terminal window asking for your address for Icecast on Debian

Change the default to something unique:

Redhat distros simply return to the command prompt after installing.

Now that Icecast is up, let’s get started on our source client.

A source client is what actually plays your music files, or streams live audio to Icecast.

Terminal window asking for a source password for Icecast on Debian

Icecast then distributes that stream to listeners via the HTTP protocol.

We’ll use BUTT to livestream from our microphone to Icecast.

BUTT is available for Linux, macOS and Windows.

Terminal window asking for a relay password for Icecast on Debian

you’re free to get it fromthe official download page.

Configuration is pretty straightforward.

A new window pops up to configure your server.

Terminal window asking for an admin password for Icecast on Debian

Leave the “Icecast User” as source and “Use legacy Icecast protocol” unchecked.

Click “Add” and then, under the parent window, click “Save”.

From “controls”, smack the “Audio” tab.

Terminal window showing the vim command to edit icecast.xml on Fedora

When you’re ready, choose the “Play” button, which will start your stream.

If you’ve configured everything correctly, you’ll currently be making your server’s radio stream debut!

Choosing a Listener Client

Listener clients in general require very little configuration.

Editor with icecast icecast.xml open, showing passwords to edit

Thanks toHTML5 audio, you could simply point a web web app to your new stream URL.

Here’s a list ofbrowser supported HTML5 audio encoding formats.

Do you hear your stream?

Editor with icecast icecast.xml open, showing bind-address to edit

That’s Icecast at work.

Additional Configuration

Icecast has many advanced features.

Some of them are:

These features and more are very well explained in theofficial Icecast documentation.

Terminal window showing the command to restart Icecast, applying new configuration

it’s possible for you to also useport forwardingto access your stream from outside your local internet.

Promoting Your Station

Promoting really depends on the pop in of station you create.

If it’s just for fun, telling a good friend will suffice!

Terminal window using systemctl command to verify Icecast daemon is running

The result is very rewarding and full of exciting moments that you’ll treasure forever.

Flowchart of Icecast stream

ePirat / Xiph.org Foundation

BUTT dialog window showing server settings

BUTT dialog window showing audio settings

BUTT dialog window showing main settings and to save configuration

BUTT main window actively streaming to Icecast

Browser window asking for username and password to log into Icecast administration section

Browser window showing Icecast administration section

Browser window showing active Icecast mountpoints

Browser window playing Icecast stream in HTML5 audio player