Multiple Shoutcast Streams on A Single Machine

May 24, 2009 | Technical Stuffs

It’s very easy to set multiple shoutcast streams/servers on a single server. In this example I’m using Centos.

All you need to do is copy sc_serv binary into 3 different files (ie: sc_serv1, sc_serv2, sc_serv3) and create 3 different configuration files (ie: sc_serv1.conf, sc_serv2.conf, sc_serv3.conf).

Don’t forget to specify different ports for the three configuration files.

I put them into /usr/local/sbin/ directory:

[root@myserver sbin]# ls | grep -v log

Then edit /etc/rc.d/rc.local to load those 3 servers everytime the machine is started, don’t forget to add & after every lines.

Without & mark, only first sc_serv will be executed.

[root@myserver sbin]# tail /etc/rc.d/rc.local 
# jalankan shoutcast server
/usr/local/sbin/sc_serv1 /usr/local/sbin/sc_serv1.conf &
/usr/local/sbin/sc_serv2 /usr/local/sbin/sc_serv2.conf &
/usr/local/sbin/sc_serv3 /usr/local/sbin/sc_serv3.conf &

You should now have 3 streams on a single machine.

1 comment

This post has one comment

  1. turtlix 27/05/2009 at 15:20

    Nice article, can’t wait for video stream…


Leave a comment

Allowed tags are: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>