How to Create an Internet Radio Station
This tutorial will help you set up an Internet Radio station on your server. You can create the content and then provide it for your listeners. The example uses an Ubuntu server for the set up.
Step #1: Download the Shoutcast Server (latest version):
Copy it to the /usr directory and create a folder called shout:
sudo cp sc_serv_1.9.8_Linux.tar.gz
sudo mkdir shout
tar zxvf sc_serv_1.9.8_Linux.tar.gz
chmod 755 sc_serv
Edit the config File:
Be sure you document your password for the furture.
Start the Server:
You should see that it is running.
Step #2: Create a way to feed Music Into the Server
This will use ices0.4 so you will be able to use mp3s.
Save the file to the /usr directory.
tar -zxvf ices-0.4.tar.gz
This will create a folder called ices-0.4. Move into this folder.
Make sure your /etc/apt/sources.lst has these sources as you will need them to download the files you need. Use all of the usual sources but be sure these three are included so you can draw from them.
backports main restricted universe multiverse
sudo apt-get update
sudo apt-get install libshout3 libshout3-dev liblame-dev libxml-dev
Make sure you have a compiler.
sudo apt-get install gcc g++ make
Move into the directory that you created.
If you do not have errors then continue, if you do have errors then download the needed dependencies.
sudo make install
Step #3: Create a mp3 Directory
You can create the directory anywhere but one good location might be /mp3.
sudo mkdir /mp3
Copy your mp3s into that location.
find /mp3 -type f -name “*.mp3” > /mp3/playlist.txt
Now edit your config file for ices.
sudo vim /usr/local/etc/ices.conf.dist
Change the Playlist to /mp3
Change the Hostname
Change the Password
Change Protocol to icy
ices -c /usr/local/etc/ices.conf.dist
Typically the port to connect to the radio station is port 8000 but you can change that in the config.