Installing SHOUTCast Radio Server (Online Media Streaming) on Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

46 Responses

  1. Carlos Huerta says:

    I did it and works like a charm! No more S****fy and things like that LOL. Thanks so much for this guide, very useful and clear, imho.

    One question: I’m using Winamp for now from my PC, but i want to make this all from the server side. Can you please give me some ideas? .

    You are awesome! You deserve a ton of cookies.

    • Matei Cezar says:

      I don’t understand what you’re trying to achieve.

      • Carlos Huerta says:

        Let me try to explain it:

        I want to leave all the music on the server and make a playlist. Then try to let Shoutcast know that i want to hear that playlist.

        Right now i’m using Winamp, and it’s ok and works pretty well, but i want to make the server do all the work.

        Is there any suggestion you can give me?. Thanks for answer my question and have a great day!


  2. Gustavo Beron says:

    What a difficult process friend !!!

  3. Augusto Casagrande says:

    Hi! Thanks for the blog it was very useful!

    I want to broadcast in my company’s LAN one or two radios from internet ( to reduce internet bandwidth consumption), what can i do about it?

    Thanks in advice, regards.
    – Augusto

    • Matei Cezar says:

      And what this have to do with SHOUTCast Radio Server? If you want to reduce internet bandwidth consumption you should limit your internal users to access some internet resources. Squid proxy or some firewall should do the trick. Allow only one or two radio broadcast addresses in your LAN. Ban everything else. Sill, this wont stop users to consume your internet bandwidth if they all listen radio on each machine at the same time.

  4. Vishnu Prasad says:

    Hi Matei Cezar,

    I tried to add this ‘playlistfile=playlists/playlist.lst’ to my sc_serv.conf file, and when i starting the daemon I am getting the following warning,

    `[CONFIG] Invalid item on line 12 of sc_serv.conf -> `playlistfile'`

    seems like its not working

    can you guide me how to do the on demand streaming with shout cast?


    • Matei Cezar says:

      Use the following command to generate a playlist file: find /path/to/mp3/directory -type f -name “*.mp3” > playlist.lst
      Then specify the playlist file relative path to shoutcast sc_serv directory or use the absolute path to be sure.

      Ex: PlaylistFile=example.lst (example.lst must be located in the same directory as sc_serv binary.) Also, the name of the playlist is case-sensitive.

  5. Kirt Hamlin says:

    I followed this to a tee. All is good but one thing. My website that is on the same server is now not available. I intended to broadcast on this site. Is this not possible? Did I do something wrong? FYI I am a newbie at this stuff! Any help would be appreciated!

    • Roberto says:

      You have to restart the service using ssh – find the folder where you installed shoutcast the use command here is a sample : Configuration file location

      How to stop/start service
      Start service: radio start
      Stop service: radio stop

    • Matei Cezar says:

      What I understand from your comment is that you host a web server (website page) on the same system you’ve installed shoutcast. Make sure you’ve started the web server and verify in your firewall if ports 80/443 and 8000 are opened for incoming connections. It should be no issue with your web server as long as the shoutcast daemon is instructed to bind on a different port that your web server is listening to.

  6. sergio says:

    I did everyting and the server is running but mixx wont connect it keep saying check your user and password

  7. Eric Newcomb says:

    Hi. I’ve followed your instructions, but I keep getting the following error whenever I start the server:

    [CONFIG] Ignoring streampath_1=http://localhost:8000 as this will produce an invalid path.

    I’ve tried a few variations on the path, including the actual URL I’m using and I get the same error no matter what I put in there. Is this something I need to worry about, and how do I fix it?

    Also, is it possible to play music directly from the server, or must it be relayed through the server from something like MIXX?

    • Matei Cezar says:

      Verify if port 8000 is opened on firewall or there’s no other service that binds on that port.
      Shoutcast has the ability to play music directory from a directory all you need to do is to specify a playlist on config file with the following statement: playlistfile=playlists/playlist.lst and populate the list with music from a specific directory:
      find /path/to/music dir/ -type f -name “*.mp3” -exec ls -1 {} \; > /home/radio/server/playlists/playlist.lst

  8. taff Nouvelle says:

    all installed, and I can edit the config file uing putty with my username and password, but I cannot log onto the web page with the same user name and the adminpassword that I set, what am I missing?

    • Matei Cezar says:

      Double check the conf file and verify the adminpassword variable in order to log in to web interface.

      • taff Nouvelle says:

        After searching the web, I finally found that the user name should be admin, not the real user name for the account, that was not explained anywhere in the install instructions on any of the web pages that I found. Anyway, all working now.

  9. Matei Cezar says:

    Try to manually edit sc_serv.conf. Make sure you have the right permissions to edit this file.

  10. Roberto says:

    Everything goes well until i try to get the config file to edit it. I am so close to make this happen, any suggestions why it wont let me pull the file

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.