View Full Version : How to install shoutcast
Steven 01-19-2004, 09:13 PM 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.
How do we install shoutcast?
Generally you dont want to run shoutcast as root as that can be really bad. so we create a shoutcast user:
1.) Login to root
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.
Installing shoutcast:
Lets grab shoutcast from nullsoft:
wget http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz
Lets extract shoutcast:
tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz
Lets tidy up the directory:
rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz
mv shoutcast-1-9-2-linux-glibc6 shoutcast
cd shoutcast
How to configure shoutcast?
your going to want to edit the shoutcast configuration.
pico sc_serv.conf
or
nano sc_serv.conf
depending on what you have.
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
How do i start shoutcast?
./sc_serv sc_serv.conf
Enjoy
<edit>signature removed</edit>
Esr Tek 01-20-2004, 12:20 AM Now thats a handy How-to... thanks for taking time to put this together ;)
<edit>signature removed</edit>
choon 01-27-2004, 09:32 PM thelinuxguy, many thanks for this nice HOWTO ;)
Akash 01-27-2004, 11:47 PM I don't know what category this woudl go in?
<edit>signature removed</edit>
choon 01-27-2004, 11:55 PM I think Technical is more appropriate?
CCF Hosting 02-02-2004, 08:25 AM Hello,
What if I wanted to offer something liket his as a service. How can I support multiple shoutcast servers? I am pretty sure you can bind a server to an IP and use the same port, but how do you keep track of them all?
Also, what does the adminpassword do compared the the password?
Thanks and God Bless!
<edit>signature removed</edit>
Slidey 02-02-2004, 09:14 AM rather than giving it a password, and then logging in as that user with a password, would it not be easier and mroe secure to adduser shoutcast, then su - shoutcast ?
that way theres 1 less account on your system that can be used for an attempted breakin..
hostito 02-02-2004, 09:58 AM I did this a couple months ago and forgot a bit so forgive me ;)
./sc_serv should do it.
Did you install the streamer bit? It is another tar ball you need to get for making play lists and such. Other wise you can only stream mp3s. I think that is how I recall it...
There should be a second tar ball that allows you to make lists and such, I wish I could remember what it was called, I set this up for a friend of mine. I found out about it after many hours of searching on their forum.
<edit>signature removed</edit>
CCF Hosting 02-02-2004, 06:23 PM Hello,
What I am looking at is, setting up one shoutcast server per streaming client. Then give a dedicated IP and have them stream from that. But, how do I manage all of the Shoutcast servers, since each one would be seperate from each other?
Thanks and God Bless!
<edit>signature removed</edit>
Steven 02-02-2004, 08:57 PM well you can make separate configs, and in the configs bind separate ips. then
./sc_serv config1.conf
./sc_serv config2.conf
./sc_serv config3.conf
./sc_serv config4.conf
<edit>signature removed</edit>
RYZER.NET 02-27-2004, 10:24 AM Now you can run shoutcast in the background like this:
nohup /home/$ACCOUNT/SHOUTcast/sc_serv >/dev/null 2>&1 &
Or as another user, like this:
su - $ACCOUNT -c "nohup /home/$ACCOUNT/SHOUTcast/sc_serv >/dev/null 2>&1 &"
Regards,
Ryzer
Does anyone know what option it is in the config to allow http access? As ive followed this however when i enter the ip of my box followed by the portbase number nothing comes up.
<edit>signature removed</edit>
XMediaTech 03-22-2004, 04:18 AM Ok,
how do you set up the server to random play the playlist?
I believe there needs to be a dsp pluggin and possibly a player xmms?
I have the shoutcast server running but no go yet as for stream
I have had a Windoze shoutcast station running for two years, now trying to make the jump to a real linux shoutcast server.
thanx for any help guys
cheers
Drew
hostito 03-22-2004, 08:39 AM You should be able to either stream up to it, but there is also a plugin that does what you want, I found it looking through their forums, it is not too clear...
I will see if I can dig up a copy of it somewhere and see what the name of it is :)
XMediaTech 03-22-2004, 12:08 PM The above linux shoutcast server is easy to set up for relaying a stream.
Normally the Winamp client uses the DSP plugin to encode MP3 files and send a single stream to a DNAS Server (Shoutcast) for distribution to listeners.
Download the SHOUTcast DSP Plug-In for Mac OS X, Linux and FreeBSD (http://www.shoutcast.com/download/broadcast.phtml#posixdownload)
Drew
XMediaTech 03-22-2004, 12:26 PM Been trying to get on Shoutcast forums to find some info, but the site has been offline
Drew
moltar 03-22-2004, 08:57 PM Do not download the version mentioned in the first post. It has a dangerous bug (http://www.security-protocols.com/modules.php?name=News&file=article&sid=1622).
There is a new version (1.9.4) available at shoutcast (http://www.shoutcast.com/download/files.phtml) website.
Kuroro Luc 05-23-2004, 09:40 PM nevermind...problem fixed :rolleyes:
Hello, I have installed the servant of radio in a dedicated servant of Managed.com, when attempt to connect to listen to it with the Winamp gives to east error [ICY 401 Service Unavaible ] http:/(/xxx.xxx.xx.xx:8000 if I enter the Web: http://xxx.xxx.xx.xx:8000 puts to me: "Server Status: Server is currently down. "
Somebody knows to solve this problem?
Steve M. 06-13-2004, 06:02 AM Originally posted by Axo
Hello, I have installed the servant of radio in a dedicated servant of Managed.com, when attempt to connect to listen to it with the Winamp gives to east error [ICY 401 Service Unavaible ] http:/(/xxx.xxx.xx.xx:8000 if I enter the Web: http://xxx.xxx.xx.xx:8000 puts to me: "Server Status: Server is currently down. "
Please refer to this tutorial.
http://www.webhostingtalk.com/showthread.php?threadid=275976
Ako, if you still cannot figure out how to correct this problem, please send me a PM (if my status is Online!) or otherwise send me an email at uidzero@sympatico.ca. I'll help you get this corrected and your shoutcast server up.
Novahosts 07-27-2004, 10:28 PM how would i stop the sever runing plz ive been trying 2 do it but i just not sure of the command i wonder if somone out there can help me plz
GetWired 08-03-2004, 09:50 PM Is there a script to make sure it runs 24/7 and restarts if it goes down?
That would be useful..
Novahosts 08-05-2004, 03:15 AM Hi THere how do i make my shoutcast server automaticaly start when the server reboots ?
GetWired 08-05-2004, 06:27 PM Script is here:
http://forums.winamp.com/showthread.php?threadid=188891&goto=newpost
funkyhost 10-06-2004, 05:40 AM dsp plugin does not seem to connect.
psyxakias 10-17-2004, 08:01 PM Hello,
Regarding Shoutcast.. there is a small issue I had faced with FreeBSD 4.xx but hopefully fixed it:
If you customize your kernel and set HZ=1000 (as suggested in several docs for better performance during heavy traffic or DDoS attacks), each shoutcast will be using 1-5% CPU even when it's idle with no listeners/source. And if you run several shoutcasts, you'll be having a quite busy CPU.
So if you're planning to run several shoutcasts, remember to leave HZ at default: 100.
SAIFAM 10-18-2004, 06:26 PM psyxakias: thanks for the pointer
psyxakias 10-18-2004, 07:14 PM No problem, I just wanted to share it as I kept having trouble with that cpu consuming issue and finally found out what was the issue.
It may be a good idea to e-mail shoutcast authors as well, as they may want to mention it on their site.
JakReloaded 11-01-2004, 09:53 AM Hey everyone :)
Ok got the server up and stuff thanks for the great guide btw :D
Only problem im having is when i click on the stream link it connects and plays but thiers no sound comming through :confused:.
We have it set up with somone broadcasting to the server, its just confusing lol. Also if you connect to the WebSide of SHOUTcast theres a link to the admin login, what details do you enter in here? i tried just entering in the admin pass as set in the config file but with no luck.
Sorry for the stupid questions and i hope somone can help out :)
cheers
Jak
BrandonSCSN 11-08-2004, 12:21 AM Sure, I can help you
lucasuam 12-28-2004, 01:19 AM Hi Palls.
First off, I'd like to congratulate for the info given at this forum.
Secondly, please, be so kind to forgive my mistakes as far as I speak spanish.
Well, to start up, I'd like to tell you I hired an account with SSH permissions. and with FreeBSD 4 OS.
I've made all what you have just said in your nice manual (the first decent one I see). I've tried to get help from shoutcast forum people and only give useless links from past threads.:angry:
Today, after 4 weeks of searching this topic, one of the guys from startlogiic gave me this link. I follow all the instructions just as kindly said by you but first all the uncompressed (un-tar) files are in this directory: /usr/shoutcast//shoutcast-1-9-4-freebsd4-elf/ .
Probabily I should have been done the wgct command from the /usr/ directory, but as see I made a mistake and this happened.
To tell you the truth, I'm totally inexpert on linux. 20 years ago I had a unix based server and I can still recall some commands like cd ls -l tar, and some others. But now I find it difficult even the commands you mention like nano and pico do not work. Or the edit command also does not work. I tried the "ee" command and nothing happened after 35 minutes of waiting.
Can anyone give me a hand?
I'm really stuck on this.
Kind Regards
lucasuam 12-28-2004, 01:24 AM PS.
I'm refering to what "thelinuxguy" wrote.
Regards
fryem720 01-16-2005, 03:45 PM Sorry if this not an appropriate topic for this forum, but I just want to listen to shoutcast streams using xmms. I downloaded the shoutcast dsp plugin, untarred and unzipped it, but despite the claims on the website, there were no installation instructions. Can anyone help me? I'm running Fedora Core 2.
Any help would be greatly appreciated.
BrandonSCSN 01-17-2005, 11:15 AM Originally posted by fryem720
Sorry if this not an appropriate topic for this forum, but I just want to listen to shoutcast streams using xmms. I downloaded the shoutcast dsp plugin, untarred and unzipped it, but despite the claims on the website, there were no installation instructions. Can anyone help me? I'm running Fedora Core 2.
Any help would be greatly appreciated.
This board talks about Webhosting. There was just a discussion about how to run a shoutcast server on your dedicated machine on here. A better place to ask this question might be on the Winamp forums
Nice tutorial :) very handy stuff there.
error404 04-21-2005, 09:59 PM Just a note for anyone interested, IceCast (http://eu.icecast.org/) is an open-source streaming media server much like ShoutCast but with additional functionality that might be useful, such as web-based administration, multiple streams (with a single session/port), Ogg (including Theora video) support.
Handy tut too :).
netcommander 06-30-2005, 09:52 AM how do can I stop shoutcast ?
I have change to admin pass but old password can acess now how must I do?
TrophyHost 07-23-2005, 10:25 AM 1.) Login to root
2.) adduser shoutcast
3.) passwd shoutcast
Do you mean create a new account?
pico sc_serv.conf
or
nano sc_serv.conf
depending on what you have.
I get command not found for both of them.
novelidea 07-27-2005, 02:12 PM Originally posted by netcommander
how do can I stop shoutcast ?
I have change to admin pass but old password can acess now how must I do?
Yeah. I need to restart the Shoutcast server too b/c I changed my password. Anyone know how to do that?
novelidea 07-28-2005, 01:08 AM Ok. For those who are newbies like me, this is the way I figured out how to stop the Shoutcast server. Of course there are probably folk here who know a better way to do this and could to it in their sleep. But this worked for me and hopefully will work for other newbies.
First, I have WHM (you know, the hosting manager).
I logged in and clicked "Show Current Running Processes".
I scrolled down until I saw (sc_serv). It's in parenthesis
Look at the number right before (sc_serv). That's the process ID number running your shoutcast server. This is what you'll need to know in order to stop th shoutcast server
Now, open your favorite ssh program. I use Putty
Log in as root user
Get to the directory where your sc_serv file is located with the change directory command:
(example: cd /home/something/ )
At the prompt, type:
kill _______
In that blank space, but that process ID number you just found by going into your WHM
The Shoutcast server has stopped.
Make your changes to the sc_serv.conf file in an editor
Now restart the Shoutcast server with the start command:
./sc_serv sc_serv.conf
That's it.
Just trying to be as helpful as i can.
ownagesbot 07-30-2005, 02:03 PM is there anyway of building the player into linux?
ownagesbot 07-30-2005, 02:29 PM [Edit]h t t p://webhostingtalk.com/showthread.php?s=&threadid=275976
forumtalk 10-11-2005, 03:04 PM Any one got able to work shoutcast with authorization system ? :(
forumtalk 10-11-2005, 03:25 PM I found this but still fail :(
http://www.spacialaudio.com/knowledge/question.php?qstId=75
Rainner 11-21-2005, 09:34 PM Hi all,
I have shoutcast running on linux with multiple sessions just fine. What I'm trying to do is be able to run multiple sessions on a windows machine. I'm geared more into Linux so windows is a new creature for me. Can anyone hepl me?
Cheers!
NuPixel 11-22-2005, 11:24 AM Wow. This was very helpful. I just got mine installed and working within 15mintues. Possibly less. Thanks!
novelidea 12-11-2005, 04:19 AM Does anyone know if how to have it kill the shoutcast server each time you finish broadcasting?
NuPixel 12-14-2005, 07:59 PM Nope. Sorry. =/
avythe 12-14-2005, 08:03 PM Does anyone know if how to have it kill the shoutcast server each time you finish broadcasting?
This is not possible with ShoutCAST by default. You would need to create a script that monitors the process and kills it when you're finished broadcasting. Also, how are you supposed to reconnect when you want to go back on? Are you going to login and restart it every time?
NuPixel 12-14-2005, 09:03 PM Hmm..does anyone know how to have several audio files on the server, and have shoutcast play them as if it was a playlist?
Groovy 01-04-2006, 06:38 AM BTW, if you are running FreeBSD,
DONT use the freebsd version of the shoutcast server. Its running on to old libs and will cause a memory leak wich will eat up your max open files, wich can also cause your server unreachable. :mad:
Just run the linux version and enable linux binary support wich is in the freebsd handbook (http://www.freebsd.org/handbook)
Groovy 01-04-2006, 06:38 AM Dual post ... pls del
chican0 01-08-2006, 02:42 AM Hmm..does anyone know how to have several audio files on the server, and have shoutcast play them as if it was a playlist?
Did you figure it out or find an answer to this somewhere else? I am looking for the same answer.
NuPixel 01-08-2006, 09:02 AM Yes I found out. Look for sc_serv. If you cant find it or an readme for it, I have it. Email/IM me if you need help.
UnrealSilence 01-13-2006, 12:01 AM I logged into the web panel and it said server down, after I already started it up.
Event log:
<01/12/06@21:52:33> [SHOUTcast] DNAS/Linux v1.9.5 (Dec 27 2004) starting up...
<01/12/06@21:52:33> [main] pid: 14252
<01/12/06@21:52:33> [main] loaded config from sc_serv.conf
<01/12/06@21:52:33> [main] initializing (usermax:8 portbase:9000)...
<01/12/06@21:52:33> [main] No ban file found (sc_serv.ban)
<01/12/06@21:52:33> [main] No rip file found (sc_serv.rip)
<01/12/06@21:52:33> [main] opening source socket
<01/12/06@21:52:33> [main] source thread starting
<01/12/06@21:52:33> [main] opening client socket
<01/12/06@21:52:33> [main] Client Stream thread [0] starting
<01/12/06@21:52:33> [main] client main thread starting
<01/12/06@21:52:33> [source] listening for connection on port 9001
<01/12/06@21:52:38> [dest: 69.117.103.118] Invalid resource request(/favicon.ico)
<01/12/06@21:53:25> [sleeping] 0 listeners (0 unique)
Can someone please explain a few things also (including the above)
1. Run multiple servers, also in background
2. Adjust dedicated IP per server? I know its in the config file, but what line is it?
3. Monitor bandwidth? Any Scripts?
Thanks in advance.
NuPixel 01-13-2006, 07:40 AM 1. Run multiple servers, also in background
When you set it up, just change port 8000 to a different port. Like 8001
Then when you want your listeners to connect, have the link go to:
http://yourip:8001
I know how to do #2, but I gotta read my config to make sure I'm telling you the right thing
v_pals 02-22-2006, 05:03 PM May be dump question, If I install shoutcast on vps will it work on the node ?
Do I have to install it for every account or package to use it on vps server?
If I install it, is it available for all the accounts in the server
If I want domain1.com and domain2.com hosted in the server, both accounts would be able to use shoutcast?
NuPixel 02-22-2006, 05:08 PM Use it like how? like a link?
v_pals 02-22-2006, 05:16 PM If I use domain1.com/shoutcast , domain2.com/shoutcast on same server . will it work, I dont think so but just confirmation.
BrandonSCSN 03-19-2006, 12:48 AM 1. Run multiple servers, also in background
When you set it up, just change port 8000 to a different port. Like 8001
Then when you want your listeners to connect, have the link go to:
http://yourip:8001
I know how to do #2, but I gotta read my config to make sure I'm telling you the right thing
No, the new port needs to be at least +2 away from a port in use.
PORT NUMBER + 1 (such as 8000 and 8001) are both used by a single Shoutcast process (8000 -> outgoing, 8001 <- incoming)
aminso 03-20-2006, 08:33 AM i have dedicated server and i want run shoutcast on it
where should i put my server ip and user and pass ?
put my server ip on RelayServer= ?
some one please help me
thanks
DeVious HostinG 03-27-2006, 08:18 PM it just supports audio ? or video? help please, any HOW TO's
NuPixel 03-31-2006, 01:45 PM i have dedicated server and i want run shoutcast on it
where should i put my server ip and user and pass ?
put my server ip on RelayServer= ?
some one please help me
thanks
No, it does not go into the Relay, thats only if you are relaying it from/too another server.
it just supports audio ? or video? help please, any HOW TO's
You need to download a certain codec/plugin for your server I believe.
bally12345 04-08-2006, 07:33 PM Hi I executed ./sc_serv and started my server but for some reason I still cant connect to it and when I goto mydomain:8000 I just get page cannot be displayed. Does anyone know what I am doing wrong?
I used phpshell to execute sc_serve
here what I got if this helps
$ cd ../radio
$ ./sc_serv
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************
Event log:
<04/08/06@08:54:33> [SHOUTcast] DNAS/Linux v1.9.5 (Dec 27 2004) starting up...
<04/08/06@08:54:33> [main] pid: 1414
<04/08/06@08:54:33> [main] loaded config from sc_serv.conf
<04/08/06@08:54:33> [main] initializing (usermax:32 portbase:8000)...
<04/08/06@08:54:33> [main] No ban file found (sc_serv.ban)
<04/08/06@08:54:33> [main] No rip file found (sc_serv.rip)
<04/08/06@08:54:33> [main] opening source socket
<04/08/06@08:54:33> [main] source thread starting
<04/08/06@08:54:33> [main] opening client socket
<04/08/06@08:54:33> [main] Client Stream thread [0] starting
<04/08/06@08:54:33> [main] client main thread starting
<04/08/06@08:54:33> [source] listening for connection on port 8001
$ cd ../radio
bally12345 04-08-2006, 07:34 PM Also I tried on other ports too so now I got 3-4 of these running but cant use them and dont know how to kill the process :S
David 04-08-2006, 07:39 PM bally12345,
Don't try to bypass your hosts restrictions: it's only going to get your account permanently suspended.
bally12345 04-08-2006, 08:06 PM How do I kill the servers I got running even though I cant use it. Whats the telnet commands?
Rainner 04-17-2006, 09:43 PM How do I kill the servers I got running even though I cant use it. Whats the telnet commands?
I use the kill command.
I shell in using putty myself, its much better the a telnet in my opinion. I'm also running Fedora Red Hat, so this command usually work with other flavors of linux also.
I have multiple streams running on one server so I do a " ps x | grep sc " which produces a list of all services running starting with sc (as in sc_serv). Then you look in the far right column for the service you want to kill or stop. Follow it back to the far left column and get the id number. This is generally just 4 to 5 numeric digits. Its the first columns data. Then type " kill -9 # " without the " " symbols and the # being that id number in the left column corresponding to the service in the right column you want ot kill).
tarakonas 04-26-2006, 11:13 AM bally12345,
Don't try to bypass your hosts restrictions: it's only going to get your account permanently suspended.
or try launch sc_serv into background by adding '&' (no quotes) at the end of command.
cyberturk 05-07-2006, 09:54 PM Hello
What does it mean when i try to start the second shoutcast server it says:
<05/08/06@03:52:03> [main] opening source socket
<05/08/06@03:52:03> [main] error opening source socket! FATAL ERROR! Some other process is using this port!
David 05-07-2006, 09:56 PM That would mean something is already using the port you've specified in shoutcast.
Have a chat with your webhost.
BrandonSCSN 05-07-2006, 09:59 PM That would mean something is already using the port you've specified in shoutcast.
Have a chat with your webhost.
He specified "second"
Anyways, remember, each shoutcast server utilizes two ports.
Portnumber +1.
So, if you have the first Shoutcast server on port 8000, the next avaiable port is 8002.
BrandonSCSN 05-07-2006, 10:01 PM or try launch sc_serv into background by adding '&' (no quotes) at the end of command.
The host will still find the process via "top" or a variety of other commands. They will notice if they have a clue...
BrandonSCSN 05-07-2006, 10:03 PM Hi I executed ./sc_serv and started my server but for some reason I still cant connect to it and when I goto mydomain:8000 I just get page cannot be displayed. Does anyone know what I am doing wrong?
I used phpshell to execute sc_serve
here what I got if this helps
$ cd ../radio
$ ./sc_serv
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************
Event log:
<04/08/06@08:54:33> [SHOUTcast] DNAS/Linux v1.9.5 (Dec 27 2004) starting up...
<04/08/06@08:54:33> [main] pid: 1414
<04/08/06@08:54:33> [main] loaded config from sc_serv.conf
<04/08/06@08:54:33> [main] initializing (usermax:32 portbase:8000)...
<04/08/06@08:54:33> [main] No ban file found (sc_serv.ban)
<04/08/06@08:54:33> [main] No rip file found (sc_serv.rip)
<04/08/06@08:54:33> [main] opening source socket
<04/08/06@08:54:33> [main] source thread starting
<04/08/06@08:54:33> [main] opening client socket
<04/08/06@08:54:33> [main] Client Stream thread [0] starting
<04/08/06@08:54:33> [main] client main thread starting
<04/08/06@08:54:33> [source] listening for connection on port 8001
$ cd ../radio
Your host likely uses a firewall, and is blocking incoming connections on that port...
cyberturk 05-07-2006, 10:10 PM He specified "second"
Anyways, remember, each shoutcast server utilizes two ports.
Portnumber +1.
So, if you have the first Shoutcast server on port 8000, the next avaiable port is 8002.
The first one is on 8000 and the second one i give 7777 but it fails. I think i have to look the running process to identify and ask my host whch ports are available.
Thank you
David 05-07-2006, 10:18 PM or try launch sc_serv into background by adding '&' (no quotes) at the end of command.
Please be aware that doesn't "launch" it into the background.
That simply ensures it keeps running after you close your shell.
It's still blatantly obvious to your host :P
tarakonas 05-08-2006, 01:04 AM Please be aware that doesn't "launch" it into the background.
That simply ensures it keeps running after you close your shell.
And the difference between background and running software after you close shell is ?
JoshA 05-24-2006, 11:52 AM And the difference between background and running software after you close shell is ?
Running a process in the background means that it will continue to execute while you are logged in while you perform other tasks with the shell that you're using. If you just run it in the background then when you log out, the process will terminate.
tarakonas 05-24-2006, 12:30 PM Running a process in the background means that it will continue to execute while you are logged in while you perform other tasks with the shell that you're using. If you just run it in the background then when you log out, the process will terminate.
No, it won't
When type adduser schoutcast get this error message
-bash: adduser: command not found
I`m new at this pls need help
TheReliableHost 01-07-2007, 02:48 AM 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.
How do we install shoutcast?
Generally you dont want to run shoutcast as root as that can be really bad. so we create a shoutcast user:
1.) Login to root
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.
Installing shoutcast:
Lets grab shoutcast from nullsoft:
Lets extract shoutcast:
Lets tidy up the directory:
How to configure shoutcast?
your going to want to edit the shoutcast configuration.
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
How do i start shoutcast?
./sc_serv sc_serv.conf
Enjoy
<edit>signature removed</edit>
hi i was just looking for such tutorial.. can you tell me if i can install shoutcast in my shared hosting? if i can.. plz tell me how ??:)
NuPixel 01-07-2007, 09:22 AM Well do you have shell access to the server? I don't think you get that on shared hosting. Perhaps a VPS.
TheReliableHost 01-07-2007, 11:08 AM i have also root access for my another virutal server vds.. is that okay? how cna i install than?
Hostingforyou 01-22-2007, 01:16 PM Great tutorial I used to use the same method untill I got castcontrol which is great far far easier than manually creating a shoutcast server can limit bandiwdth usage also :)
x3n1x 06-24-2007, 04:17 PM Wow... a thread so old... but still shows up first in Google and helped me install on my VPS.. Amazing..
A trillion thanks to the OP..
Brilliant
safira 06-28-2007, 12:19 AM Hey could I have some help please? I understand the steps but I dont know where i Shells to start
Stasmi 07-10-2007, 09:50 PM Thank you for the detailed instructions. They were exactly what I was looking for. It seems nobody really cares about Linux at the Winamp/Shoutcast forums.
Now, if someone could put that much detail into explaining the whole port forwarding thing, I would be thrilled!
I have a feeling that is the only thing that is keeping me from getting everything going.
I have been continually getting this error for the 3 days I have been trying to get Shoutcast setup:
<07/10/07@21:48:52> [yp_add] yp.shoutcast.com gave error ()
<07/10/07@21:48:53> [dest: 205.188.234.101] connection closed (44 seconds) (UID: 5)[L: 1]{Bytes: 256000}(P: 0)
<07/10/07@21:48:53> [dest: 207.200.98.2] starting stream (UID: 7)[L: 2]{A: SHOUTcast Directory Tester}(P: 0)
and nobody at the Winamp/Shoutcast forums will help me. I have several questions that have been left unanswered,
and they aren't the annoying questions that everyone has already been asking.
If anyone could help me, I would be very grateful and they would be guaranteed some sort of good Internet karma. :)
htw_Mehdi 09-30-2007, 12:24 PM Hello,
i have correctly installed Shoutcast, but i'm Unable to broadcast to shoutcast server from shoutcast source.
it's shown "Connecting" after that nothing and try to reconnect.
my shoutcast server is running on port 8000 and accessible from http .
Regards
Hello,
i have correctly installed Shoutcast, but i'm Unable to broadcast to shoutcast server from shoutcast source.
it's shown "Connecting" after that nothing and try to reconnect.
my shoutcast server is running on port 8000 and accessible from http .
Regards
Are you behind a router?
Might need to open port 8001 aswell
htw_Mehdi 10-01-2007, 09:58 PM Hello,
i'm not using a router.
a have resolved the problem by opening port 8001 on my server and adding it to the apf list to unblock.
Regards,
proshosting 10-04-2007, 03:51 PM I want to do it through virtual dj atomix can someone help me?
htw_Mehdi 10-04-2007, 03:56 PM Do you want to install Shoutcast ?
if yes sure i can help you !
just email me : mehdi[@]hostoweb.com
or PM
Regards,
pitobread 11-24-2007, 10:14 PM If anyone reads this tutorial, I would reccomend using icecast (icecast.org), the memory usage is almost half of what it was with shoutcast on my VPC. Which is good if you don't have a lot of memory to play with.
Just food for thought.
VenomInc 11-26-2007, 11:53 AM are they recommendations ? I want to install it .
CoffinSupply 01-28-2008, 01:48 AM If anyone reads this tutorial, I would reccomend using icecast (icecast.org), the memory usage is almost half of what it was with shoutcast on my VPC. Which is good if you don't have a lot of memory to play with.
Just food for thought.
Yes, but it is hard as it gets to install it unlike shoutcast
WorldOfComputing 08-08-2008, 09:08 AM The link in the first thread doesn't work... is it possible to get the correct link?
Thanks.
htw_Mehdi 08-08-2008, 11:19 AM Hello,
link to download is perfectly working
http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz
Right Click, then copy link location.
Regards
WorldOfComputing 08-08-2008, 11:29 AM Hello,
link to download is perfectly working
http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz
Right Click, then copy link location.
Regards
I get an error saying Permission Denied.
Thanks.
htw_Mehdi 08-08-2008, 11:35 AM Hi,
i just uploaded it to my FTP.
I hope this will work !
http://www.hostowebcenter.com/files/shoutcast-1-9-2-linux-glibc6.tar.gz
WorldOfComputing 08-08-2008, 11:57 AM Hi,
i just uploaded it to my FTP.
I hope this will work !
http://www.hostowebcenter.com/files/shoutcast-1-9-2-linux-glibc6.tar.gz
Nope, still get permission denied :(
My ISP have blocked access to the shoutcast.com site :(
Thanks.
Viper3773 08-11-2008, 05:21 PM going to thy this, thanks for the tutorial
hostmasti 06-02-2009, 06:59 PM thank you very much
bobbobagan 06-27-2009, 06:44 AM Thanks for this tutorial... will come in handy very shortly!
2012Panda 07-01-2009, 06:15 PM If you want to offer shouycast as aservice you can easilydo so. Cast control . Net offer shouycast streaming and you can also manage your clients as well as bill them on a frequent basis
csemultimedia 05-14-2010, 08:33 PM i am building a radio stations website and i will need a player that will be able to play their live stream that is being fed to their website from the station through the my VPS server. i have the shoutcast linux server software being installed on my server but i cant find any players that i can embed in a webpage to play the live stream
Jaseeey 05-14-2010, 09:50 PM Hi mate,
Check out the WHMSonic and Centova Cast control panels. They usually offer an embedded flash player which you can chuck onto your website. I think WHMSonic is the cheaper one, and also integrates with WHM/Cpanel if you use it.
If you don't want a control panel, then I'm unsure of any standalone players. You could try asking Google (http://lmgtfy.com/?q=stream+radio+in+flash).
Regards,
csemultimedia 05-14-2010, 10:00 PM yes i do use a control panel on ours...will this work with the shoutcast server edition that we have installed on the server?
Jaseeey 05-14-2010, 10:09 PM Hi,
WHMSonic is definitely built off Shoutcast, but I'm not so sure about Centova Cast. Check out the trial version and test it.
The stream servers generally follow a protocol so most players should be compatible in playing these streams. The only ones that won't be compatible are encoded streams where the player isn't designed to decode it appropriately.
Regards,
ALEXEI_M 06-26-2010, 10:54 AM you can get more info from http://www.webhostgear.com/396.html
SyntexHostCom 07-03-2011, 11:11 PM Thank you for the tutorial.
Xen Technologies 09-09-2011, 11:55 AM thats great
very needed
|