How to install Shoutcast Published: Jan 18, 2007
  • Rating

    4/5

This guide will teach you how to install shoutcast server on Linux. Shoutcast lets you stream live music to listeners and start your own radio station on the web.

How to Install Shoutcast on Linux

What is shoutcast?

SHOUTcast is Nullsoft's Free Winamp-based distributed streaming audio system. Thousands of broadcasters around the world are waiting for you to tune in and listen. You can start your own radio station and stream music and live shows. See an example of hundreds of world-wide stations at shoutcast.com

How do we install shoutcast?

Generally you dont want to run shoutcast as root as that can be really bad and a security issue, instead we'll create a shoutcast user:

1.) Login to root through SSH on the server.
2.) adduser shoutcast
3.) passwd shoutcast

Now it will ask for a new password set this and remember it.

Now login as the new shoutcast user, or you can su to the user.  (Or you can logout completely and log in under the shoutcast user).
su shoutcast


Installing shoutcast

Lets grab shoutcast from nullsoft:

1) wget http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz

 Lets extract shoutcast:
2)  tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz

 Lets tidy up the directory:
3)  rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz
mv shoutcast-1-9-2-linux-glibc6 shoutcast
cd shoutcast

Shoutcast has now been installed!


How to configure shoutcast?

Now we need to edit the configuration file.

pico sc_serv.conf
or you can use vi which I prefer, a bit more advanced to use.
vi sc_serv.conf 

Ok lets set some important configureation options. Change these settings in the file:

MaxUser
Password
PortBase

uncomment AdminPassword and set an admin password.

Now at this point you can go threw the settings and change them to what you want or you can save and start shoutcast and it will work perfectly.

to save crtl+x (if using pico) or :wq if using vi

How do i start shoutcast?

./sc_serv sc_serv.conf

  • Rating

    4/5

Related Articles

Comments (12)

  • Gravatar - Mateus
    Mateus 21:38, March 5, 2007
    There is any problem on running Shoutcast on a Web shared hosting?<br />
    <br />
    Thanks
  • Gravatar - http://dedicados.com.mx
    http://dedicados.com.mx 18:31, April 24, 2007
    if your hosting allows SSH connection yes you can.
  • Gravatar - Safira
    Safira 22:02, July 1, 2007
    How do I restart the server. I have been trying the cd / radio ad then ls and this is what i am getting ./ ../ bin/ checkvirtfs* dev/ etc/ home/ lib/ proc/ tmp/ usr/ var/<br />
    <br />
    <br />
    help with what to do next please
  • Gravatar - Rich
    Rich 14:49, November 3, 2007
    I have shoutcast set up, but am having trouble sourcing the soundcard to transmit from. I have it set as playfile /dev/audio, and it does not work. If I type playfile /filename.mp3 it works fine. Any suggestions would be appreciated.<br />
    <br />
    Rich
  • Gravatar - Ranch
    Ranch 21:07, December 1, 2007
    How do I install to broadcast in multiple bit rates?<br />
    <br />
    IE:<br />
    56Kbps<br />
    128kbps
  • Gravatar - dave
    dave 20:32, December 20, 2007
    you would need to run 2 shoutcast servers, one at 56kbps and one at 128kbps
  • Gravatar - botakedan
    botakedan 09:07, March 22, 2008
    how to run 2 or more broadcaster in one server ?
  • Gravatar - Rich
    Rich 08:06, July 4, 2008
    Just have multiple config files.
  • Gravatar - James Rippey
    James Rippey 15:45, April 12, 2009
    Please anyone help with shoutcast set-up , I downloaded proper files from shoutcast along with winamp , from there I am lost . I cant broadcast , my IP tells me i can use my server for outgoing , i hope my server addrees is okay . Anyone please help and respond by e-mail too [email protected] , any help would be greatly appreciated . jim
  • Gravatar - michel
    michel 22:01, August 18, 2009
    [[email protected] ~]# cd /downloads<br />
    [[email protected] downloads]# wget http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz<br />
    --22:07:34-- http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz<br />
    Resolving www.shoutcast.com... 207.200.100.5<br />
    Connecting to www.shoutcast.com|207.200.100.5|:80... connected.<br />
    HTTP request sent, awaiting response... 404 /shoutcast/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz<br />
    22:07:35 ERROR 404: /shoutcast/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz.<br />
    <br />
    [[email protected] downloads]# <br />
    <br />
    <br />
    Help me plz
  • Gravatar - sean
    sean 16:01, September 22, 2009
    thanks for the info works fine but i want to know how to stop the server ... i got it to start fine .... and is there any way to add a conntrol pannel ..????
  • Gravatar - Gorgui GUEYE
    Gorgui GUEYE 10:49, December 2, 2009
    Anyone help me.<br />
    I installed shoutcast but by starting the shoutcast unsing ./sc_serv sc_serv.conf I get error message like :FATAL ERROR! Some other process is using this port!<br />

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2021 WebHostGear.com