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 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
LogFile=/var/log/sc_serv.log
...
W3CLog=/var/log/sc_w3c.log
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
Restart the server or do:
$ sudo /etc/init.d/shoutcast start