Installing and configuring Icecast & Ices

Icecast is free software for streaming digital audio broadcasting.
Official site

Installation example on Ubuntu/Debian:

sudo apt-get install icecast2 ices2

Editing the configuration file /etc/icecast2/icecast.xml


sudo /etc/init.d/icecast2 start

Open in browser: host:8000

Check the logs to see if everything is fine: /var/log/icecast2
www files are stored at: /usr/share/icecast2
Icecast uses tcp port 8000, so if there is a firewall, it must be open.

Copy music to any directory and create a playlist:

find /home/music ogg > /etc/ices2/playlist.txt

Copy the sample configuration file and configure it:

mkdir /etc/ices2
cp /usr/share/doc/ices2/examples/ices-playlist.xml /etc/ices2/ices-playlist.xml

Create a directory for logs:

mkdir /var/log/ices

Launch ices2, after which it will start streaming music from the playlist:

ices2 /etc/ices2/ices-playlist.xml

To run ices2 in the background, set in the config: 1.
To stop Ices2:

kill -9 "pidof ices2"

Leave a comment

Leave a Reply