Download the tarball from shoutcast.com.
$ 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
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
The default sc_serv.conf says logging should go to the current directory. I changed the lines:
LogFile=sc_serv.log
...
W3CLog=sc_w3c.log
into:
LogFile=/var/log/sc_serv.log
...
W3CLog=/var/log/sc_w3c.log
Also, make sure you set a password on the line saying:
Password=changeme
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:
PortBase=8000
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.
The sun was shining, and it was a perfect day for a walk on DjurgÃ¥rden. But it was a bit cold! About -10 degrees Celsius, so the long underwear was a must. Took some nice pictures before seeing the musical ”Mamma Mia!” at Cirkus, where photographing was forbidden.
We had nice seats, just 10 meters from the stage. The show was excellent! Great music, great singers, great performance! The sound of ABBA is still going strong!
]]>