Have you ever wonder to build your own internet radio station ? this article will let you know how to configure shoutcast server to make your own internet radio station. Shoutcast is a script developed by Nullsoft and now is the most used script to build internet radio station.
Shoutcast give an easy installation and also it is FREE. Now, we will try to install Shoutcast in LINUX OS, this tutorial can be used in any of linux distro but i use centos and debian to build my own radio.
First, you must have VPS or dedicated server to instal and run shoutcast. Streaming internet radio will consume a lot of bandwidth and internet speed( depend on your listener and sound quality ) and also resources ( like memory, cpu ) especially when the server needed to decode/encode the songs. When you choose VPS or dedicated server / colocation server , you must check this :
If you already have server lets start to install shoutcast in your server ( I assume that you already install LINUX OS ) :
Test your server
Test streaming to your shoutcast server :
Running sc_serv as daemon
Running in console mode have a disadvantage that you can’t use your linux console to run another task and if you access linux console from remote software like putty shoutcast will shutdown when you close putty.
Run sc_serv on booting :
You can set sc_serv to run on booting by creating a custom script ( this only work in DEBIAN and CENTOS or similar linux distro , other distro check your linux manual how to create start up script ). The script is :
#!/bin/sh
# chkconfig: 2345 95 20
# description: Starting Shoutcast
# Sample init script for SHOUTcast
# by caraoge
# customized by AreaSale.Com
# process name: Shoutcast
# Check for SHOUTcast binary
test -f /usr/local/sc_serv/sc_serv || exit 0
# The init commands
case “$1″ in
start)
echo “Starting SHOUTcast server…”
/usr/local/sc_serv/sc_serv /usr/local/sc_serv/sc_serv.conf >/dev/null &
;;
stop)
echo “Stopping SHOUTcast server…”
kill -9 `ps -C sc_serv -o pid –no-headers`
;;
restart)
echo “Stopping SHOUTcast server…”
kill -9 `ps -C sc_serv -o pid –no-headers`
echo “Starting SHOUTcast server…”
/usr/local/sc_serv/sc_serv /usr/local/sc_serv/sc_serv.conf >/dev/null &
;;
*)
echo “usage: /etc/init.d/shoutcast”
echo “$0 {start | stop | restart}”
exit 1
;;
esac
Save this script on your init.d directory with name sc_serv.
If you’re using centos, execute this command :
chkconfig -levels 2345 sc_serv on
if you’re using Debian , execute this command :
update-rc.d sc_serv defaults
Try to reboot your computer and akses your shutcast administrator webpage.
Now you get your radio online, if your server already connect to internet , another people can listen to your radio using address : http://yourip:8000/listen.pls or http://yourdomain:8000/listen.pls . In the other articles , i’ll write how to setup autodj on your server to play your song without needed a dj or other pc and several acrticles about shoutcast.
Just an FYI… those of you using CentOS 5.5.. don’t bother, this script doesn’t work.
It could just be that the script is ” that ” out dated, or it could be the fact that the idiot posted it with all sorts of bad text encoding, making it a pain in the arse to convert to normal non-encoded text.
Hello, how about if I install shoutcast on diffrent user (not in root), example on shoutcast user with password shoutcast.? Still I’m using this script?
I Use debian (lenny)
Strategies For Developing A Effective Blog About Technology...
Strategies For Getting People Thinking About Your Technology Blog...
Strategies For Understanding What To Create In Your Tech Blog...
Timers are effective instruments that you can easily update according to how the events are unf...
In most cases, free submission sites request website owners to place reciprocal links on their ...
Have you ever wonder to build your own internet radio station ? this article will let you know ...