Jump to content



Photo

Shoutcast server installation (start your online radio station for FREE) - Posted By Vita94

How To

  • Please log in to reply
4 replies to this topic

#1 Cryo Kinesis

Cryo Kinesis

    Haphost Staff

  • Moderators
  • 128 posts
  • LocationGridania, Eorzea

Posted 05 August 2014 - 05:50 PM

Hi,

I'm going to show you how to install Shoutcast server and start your own radio station.
You will need one of popular linux distributions Debian, CentOS or Ubuntu. This HowTo applies to all Linux distros with bash shell.

Let's cut the talk and start with the tutorial.

1. First we need to login to our VPS as root 
2. Next we need to download shoutcast server

cd /tmp
wget http://download.nullsoft.com/shoutcast/tools/sc_serv_1.9.8_Linux.tar.gz

If you get error while trying to execute this command then you don't have wget command installed to your system. For Debian and Ubunutu use the following command to install it:
apt-get install wget
For CentOS
yum install wget

3. Next we need to create the folder for our shoutcast server and extract the archive
mkdir /home/shoutcast
tar -zxf sc_serv_1.9.8_Linux.tar.gz -C ./home/shoutcast

4. Navigate to the shoutcast folder and clear the config file
cd /home/shoutcast
echo > sc_serv.conf

5. Open the file sc_serv.conf
nano sc_serv.conf
Paste the following text
 MaxUser=32
 Password=changeme
 PortBase=8000
LogFile=sc_serv.log
RealTime=1
ScreenLog=1
ShowLastSongs=10
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
 AdminPassword=adminpass
AutoDumpUsers=0
AutoDumpSourceTime=30
PublicServer=default
AllowRelay=Yes
AllowPublicRelay=Yes
MetaInterval=32768
You should modify these settings:
A. Change the MaxUsers to wanted value but I would not recommend a value grater that 50 , but I didn't test so if you want you can test it.
B. Set the Password to a value that you know because you need it to connect to the server in order to stream music to it.
C. Optionally you can change the port by changing the PortBase to some different port.
D. AdminPassword is the web interface password. Web interface is used for banning and kicking users from the server.

6. Start the server

screen
./sc_serv

7. Press Ctrl + A + D to exit the screen and leave the server running in background.

8. Start Winamp with nullsoft shoutcast plugin on your computer.
shoutcast.png
A. Add some songs to your playlist and press play in winamp.
B. On the shoutcast plugin window Enter your VPS address and for port enter 8000 unless you changed it in the sv_serv.conf configuration file.
C. Enter the same password that you set for the Password in the sc_serv.conf
D. Set those two checkboxes to checked.
E. Finally check Auto Connect your computer will start transmitting data to the server.
 

9. Go to the http://YourVPSIp:8000 and press Listen. Stream file will be downloaded to your computer double click it and you can start listening your radio station. Give that file to others or the link for that file, so they can join and listen to the music you stream.

10. Congrats your server is up and running, you have your own online radio station in 10 easy steps wink.png.

Best Regards!


Cryo%20Kinesis%20Haphost%20Sig2.png


#2 RoboCop

RoboCop

    Member

  • Members
  • PipPip
  • 28 posts

Posted 20 January 2015 - 06:34 AM

hi

 

I love your tutos and hence I got a question very messy 

ok so I got the Shoutcast working and all but now I would like to know if there is any way to like make songs change at my will or if there would be some kind of script or something to make that possible?

 

Thanks

 

~R



#3 xdmartinhi

xdmartinhi

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationAustria, Tirol

Posted 20 January 2015 - 07:22 PM

Hi Cyro,
Thanks for this tutorial but is it possible to have a auto dj? Then the music only play when i make it or?

Sorry for bad english

#4 xdmartinhi

xdmartinhi

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationAustria, Tirol

Posted 20 January 2015 - 08:37 PM

Didn't work :-(

#5 Brian

Brian

    Member

  • Members
  • PipPip
  • 13 posts

Posted 22 January 2015 - 02:03 AM

When I briefly hosted a Shoutcast server, I used the v2 transcoder which served as an AutoDJ system. It even allowed you to skip songs via the console. I also used the transcoder as a fallback mount which would begin playing music whenever a real DJ disconnected from the server. It may be tricky to set up at first, but it's pretty awesome once you get it going...

 

http://wiki.shoutcas..._The_Transcoder







Also tagged with one or more of these keywords: How To

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users