PDA

View Full Version : shoutcast on a server



Rix
10-03-2006, 09:26 PM
how do you setup shoutcast on your own linux server

Luckyrare
10-03-2006, 09:57 PM
You need shell.

Upload the zip into your home/root folder. Then press Extract File Contents, then rename the dir to "radio".

Go into the radio dir and edit the config (sc_serv.conf)

You only need to edit


MaxUser=32

Password=changeme

PortBase=8000
Okay now open your shell program (download.com or use cpanels one called "SSH/Shell Access" on your main cpanel page)

Log into it using your details and type


cd /home/username/radio/
Once you have done that type in


./sc_serv
Now use your servers IP address and the details you entered in the config to login to winamp (Password and port)!

Enjoy

For updated version see

http://habboxforum.com/showthread.php?p=1480224#post1480224

Tomm
11-03-2006, 07:16 AM
Better way:

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

tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz

rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz

mv shoutcast-1-9-2-linux-glibc6 shoutcast

cd shoutcast

Then open up sc_serv.conf and edit: MaxUser, Password, and BasePort. Also uncomment admin pass and put a diffrent password in there. Save and upload the file.

To run shoutcast type:

./sc_serv sc_serv.conf

Also to keep the shoutcast server up and running make a cron job for about evey 5 mins:

#!/bin/bash

if [ "`/sbin/pidof /pathtoscservdir/sc_serv`" == "" ]; then
nohup /pathtoscservdir/sc_serv /pathtoscservdir/sc_serv.conf &
fi

Replace /pathtoscservdir with the path to your shoutcast folder.

Sygon.
11-03-2006, 11:36 AM
Perl 0.o

Rix
11-03-2006, 09:01 PM
i've done that but it won't accept my admin pass

Luckyrare
12-03-2006, 10:48 AM
Have you got shell/perl?

Rix
15-03-2006, 12:10 AM
yes i have

Tomm
15-03-2006, 07:46 AM
Sure you uncommented the admin pass part? And did you use the username admin?

Rix
15-03-2006, 09:59 PM
danny the shoutcast is on ur reseller maybe you could help

Tomm
16-03-2006, 07:44 AM
Lol I fixed the problem, he forgot to uncomment the admin pass. Still need to restart the shoutcast though..

Rix
16-03-2006, 07:51 AM
danny can u terminate my shoutcast process so i can start it agian

Want to hide these adverts? Register an account for free!