Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Closed TopicStart new topic
> Icecast Server with Relaying, Installation and Configuration on CentOS 4.x
post Aug 31 2006, 10:35 AM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069

Hello everyone,

This one is going to be a Icecast streaming server guide on CentOS 4.x , for those who do not know what Icecast is, well it's a cool software that can stream music for you, for more details see .

In this guide I will only cover howto install Icecast in order to relay music from other webradio servers like ShoutCast, this is how I use it for the company in order to please the users. And since I doubt that anyone will have the time to update the playlist every day this is the stuff for lazy people how just want to hear music without having to work for it to much.

Let's begin, you install a CentOS 4.0 - 4.3 minimal install with only CD1 , or you do it with a full install not important.

Then you update the system to latest like this :

In terminal/console type :

yum update

yum install rpm-devel rpm-libs rpm-build libvorbis-devel libogg-devel curl-devel libxslt-devel libtheora-devel speex-devel

once done you will probably have to restart system if a new kernel was downloaded, you can do it anyway it wont hurt you.


then we get Icecast package src.rpm file from this website like this :

cd /home

then we need to build the rpm package from this src.rpm like this

cd /home
rpmbuild --rebuild icecast-2.3.1-0.src.rpm

once this is done there will be a rpm file in your /usr/src/redhat/RPMS/i386/

cd /usr/src/redhat/RPMS/i386
rpm -Uvh icecast*.rpm

next step we configure icecast , there is a minimal configuration we need to do in order to get relaying working.

edit the /etc/icecast.xml file like this, changing only the things I mention here :




you can have multiple relays, without problems, just create the aditionals relay under the first <relay> ... </relay> option.

Now we must create the directory and files for the logging.

mkdir /var/log/icecast
chown nobody.nobody /var/log/icecast
cd /var/log/icecast
touch access.log
touch error.loog
chown nobody.nobody *.log

with this done, you can finally start your icecast server like this

icecast -b -c /etc/icecast.xml

Here is a sample music.pls file for winamp :


then you simply load the music.pls file with winamp, and it should play fine.

Robert B

ps.: hereby I would like to ask for a little help, if you know of any good trance station please send me a pm, thank you

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd March 2018 - 10:16 AM