hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : How to install shoutcast
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

How to install shoutcast

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-19-2004, 09:13 PM
Steven Steven is online now
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,784

How to install shoutcast


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:

Quote:
tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz
Lets tidy up the directory:

Quote:
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.

Quote:
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>


Last edited by choon; 02-09-2004 at 09:21 PM.
Reply With Quote


Sponsored Links
  #2  
Old 01-20-2004, 12:20 AM
Esr Tek Esr Tek is offline
Web Hosting Master
 
Join Date: Jul 2002
Location: Nashville, TN
Posts: 2,043
Now thats a handy How-to... thanks for taking time to put this together

<edit>signature removed</edit>


Last edited by choon; 02-09-2004 at 09:21 PM.
Reply With Quote
  #3  
Old 01-27-2004, 09:32 PM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
thelinuxguy, many thanks for this nice HOWTO

Reply With Quote
Sponsored Links
  #4  
Old 01-27-2004, 11:47 PM
Akash Akash is offline
Web Hosting Master
 
Join Date: Jan 2001
Location: Illinois, USA
Posts: 7,147
I don't know what category this woudl go in?

<edit>signature removed</edit>


Last edited by choon; 02-17-2004 at 03:30 PM.
Reply With Quote
  #5  
Old 01-27-2004, 11:55 PM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
I think Technical is more appropriate?

Reply With Quote
  #6  
Old 02-02-2004, 08:25 AM
CCF Hosting CCF Hosting is offline
Web Hosting Evangelist
 
Join Date: May 2002
Location: USA
Posts: 490
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>


Last edited by choon; 02-09-2004 at 09:32 PM.
Reply With Quote
  #7  
Old 02-02-2004, 09:14 AM
Slidey Slidey is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: UK
Posts: 2,560
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..

Reply With Quote
  #8  
Old 02-02-2004, 09:58 AM
hostito hostito is offline
Aspiring Evangelist
 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 428
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>


Last edited by choon; 02-09-2004 at 09:32 PM.
Reply With Quote
  #9  
Old 02-02-2004, 06:23 PM
CCF Hosting CCF Hosting is offline
Web Hosting Evangelist
 
Join Date: May 2002
Location: USA
Posts: 490
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>


Last edited by choon; 02-09-2004 at 09:33 PM.
Reply With Quote
  #10  
Old 02-02-2004, 08:57 PM
Steven Steven is online now
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,784
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>


Last edited by choon; 02-09-2004 at 09:33 PM.
Reply With Quote
  #11  
Old 02-27-2004, 10:24 AM
RYZER.NET RYZER.NET is offline
New Member
 
Join Date: Aug 2003
Posts: 4
Now you can run shoutcast in the background like this:

Code:
nohup /home/$ACCOUNT/SHOUTcast/sc_serv >/dev/null 2>&1 &
Or as another user, like this:

Code:
su - $ACCOUNT -c "nohup /home/$ACCOUNT/SHOUTcast/sc_serv >/dev/null 2>&1 &"
Regards,
Ryzer

Reply With Quote
  #12  
Old 03-21-2004, 09:15 AM
Veus Veus is offline
Web Hosting Guru
 
Join Date: Sep 2003
Location: UK
Posts: 342
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>


Last edited by choon; 03-21-2004 at 02:27 PM.
Reply With Quote
  #13  
Old 03-22-2004, 04:18 AM
XMediaTech XMediaTech is offline
New Member
 
Join Date: Mar 2004
Location: Manama, Bahrain
Posts: 4
ShoutCast Server Install

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

Reply With Quote
  #14  
Old 03-22-2004, 08:39 AM
hostito hostito is offline
Aspiring Evangelist
 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 428
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

Reply With Quote
  #15  
Old 03-22-2004, 12:08 PM
XMediaTech XMediaTech is offline
New Member
 
Join Date: Mar 2004
Location: Manama, Bahrain
Posts: 4
linux shoutcast server

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

Drew


Last edited by XMediaTech; 03-22-2004 at 12:18 PM.
Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50c7927b-8de0-4268-9140-149b45a799bf Listing 2013-03-05 18:22:52
50c7927b-42e8-4b4b-a264-149245a799bf Listing 2013-03-05 18:22:52
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?