HOWTO: Install Shoutcast 1.9.8 on Ubuntu 8.0.4

If you want to stream your own radio station, Shoutcast is an easy solution. This little HOWTO focus only on the server part, and not on the actual audio/feeding client part. I recommend reading ShoutCast Streaming for beginners and Streaming radio with ShoutCast and WinAmp to get the hang of the audio part.


Download the tarball from

$ tar -xvf sc_serv_1.9.8_Linux.tar.gz
$ sudo cp sc_serv_1.9.8_Linux/sc_serv /usr/sbin
$ sudo mkdir /etc/shoutcast
$ sudo cp sc_serv.conf /etc/shoutcast

Automatic start

This will make shoutcast start when the server starts. Download the initscript (which I have modified to work in Ubuntu 8.04, source script here).

$ sudo cp shoutcast /etc/init.d/shoutcast
$ sudo update-rc.d /etc/init.d/shoutcast defaults

Check settings

The default sc_serv.conf says logging should go to the current directory. I changed the lines:




Also, make sure you set a password on the line saying:



If you have a locally installed firewall, you have to open up two ports. First the port mentioned in sc_serv.conf on the line saying:


The second is the PortBase + 1, i.e. in the default example above it is 8001. The 8001 port is used to receive data from Winamp or other audio streaming feeder and the 8000 port is used to send streaming audio to listening clients. Make sure both ports are open for TCP and UDP. And don’t forget any hardware firewalls, they have to be opened too.


Restart the server or do:

$ sudo /etc/init.d/shoutcast start

and try opening localhost:8000 in your browser and you should see the (in-)famous Shoutcast page.