Quantcast
Channel: criten.org » Icecast
Viewing all articles
Browse latest Browse all 10

Installing Icecast 2 on CentOS 5

$
0
0

I had to do this today so I’m posting a howto mainly for my own reference.

Icecast isn’t included in the CentOS yum repos. So to install it you need to build it from source.

First you’ll need to install dependencies to build Icecast

yum install curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel

yum groupinstall ‘Development Tools’

Next you’ll need to install the source RPM

rpm -ivh http://downloads.xiph.org/releases/icecast/icecast-2.3.2-0.src.rpm

Then you will need to build the binary package

rpmbuild -bb /usr/src/redhat/SPECS/icecast.spec

Finally you can install the RPM

rpm -ivh /usr/src/redhat/RPMS/i386/icecast-2.3.2-0.i386.rpm

And now you have Icecast installed. Unfortunately this method doesn’t create a startup script in /etc/init.d so you can add the following to /etc/rc.local to ensure Icecast starts with the system.

icecast –c /etc/icecast.xml –b

You will also need to edit /etc/icecast.xml for your requirements.


Viewing all articles
Browse latest Browse all 10

Trending Articles