Prev Previous Post   Next Post Next
Old 25th October 2013, 02:00   #1
feelthesound
Junior Member
 
Join Date: Jul 2013
Posts: 8
Shoutcast Installation Help and security reccomendations.

Can anyone help me? Shoutcast doesn't want to install for me, I'm not sure what I'm doing wrong.

Background: I've setup one VPS before and after some time, I was successful, so I'm new at this. Any advice is helpful.
Goal: Install and configure Shoutcast DNAS 2.0 and SHOUTcast Transcoder (SC_TRANS) on a CentOS 6 (64bit) VPS to work with WHMSonic (or similar) admin software.
Problems: I seem to be doing it wrong. Something along the way is tripping me up.
Login to root. Enter password.
Update Yum and install screen
yum update yum install screen
then,
adduser shoutcast
passwd xxxxxxxxx
cd /home/shoutcast
mkdir sc
wget http://download.nullsoft.com/shoutca...31_2011.tar.gz
tar -xzvf sc_serv2_linux_x64_07_31_2011.tar.gz -C sc (I get confused about thed above bart, many tutorials just say to do -xzf, but it only seems to install when i throw the v in there)
chown -R shoutcast.shoutcast /home/shoutcast/sc (I've read this changes the owner, but I have no idea what this does, terminal doesn't respond with anything so I have no idea if it's doing something or just failing)
nano sc/sc_serv_basic.conf
(The command above brings up the configuration options and I think I do ok changing them, i think i just change the passwords and uncomment the port part and change 80 to 8000, I'm not sure if that's the right thing to do or not. This part confuses me though:
; now we will specify the details of the stream we're going ; to serve which can be done as follows ;streamid=1 (I comment this because I want to do multiple streams multiple streams) ;streampath=/test.aac (I comment this because I want to do multiple streams multiple streams)
; or
; it can be done like this which is how it needs to be done ; if you are going to provide multiple streams from sc_serv streamid_1=1 (I UNCOMMENT this because I want to do multiple streams multiple streams, I'm not sure if I should change the values) streampath_1=/test.aac (I UNCOMMENT this because I want to do multiple streams multiple streams, I'm not sure if I should change the values) streamid_2=2 (I UNCOMMENT this because I want to do multiple streams multiple streams, I'm not sure if I should change the values) streampath_2=/test2.aac (I UNCOMMENT this because I want to do multiple streams multiple streams, I'm not sure if I should change the values)
I hit the CTRL X and Y to save and get out of nano.
I type the command "screen" and type in the start command ./sc_serv daemon <conf>
Stuff goes boom, and I'm done, haha. Do I need to write a daemon? If so, how do i install it and where? I found this Shoutcast Daemon online, not sure if it will work for me. http://my.opera.com/Viperstryker/blo...aemon-in-linux
I still have to install the transcoder, but I haven't gotten that far yet, but I assume I have to stop the shoutcast DNAS while I do that. How do I stop it, if that's what's needed?
This is my plan for nstalling the Transcoder
cd /home/shoutcast mkdir sct wget http://download.nullsoft.com/shoutca...10_07_2011.exe tar -xzvf sc_trans_win64_10_07_2011.exe -C sct (again, I throw the v in there becase some tutorials say to, and it seems to "do something". maybe I'm doing somethingwrong here though because past transcoders in tutorials were .gz, i notice this is a .exe. chown -R shoutcast.shoutcast /home/shoutcast/sct (I have no idea what this does, I know it changes owership, but maybe the tut I'm looking at is telling me the wrong way to do it. cd sct chmod a+x sc_trans
The Transcoder should be installed now and I just have to configure and start.
nano /home/shoutcast/sct/
I don't know how to configure it as I haven't seen the options yet. I assume this is where I will have to configure it to my domain? Any tips on doing that would be great. I'll save changes and exit nano.
I think I have to start it as a Daemon now. I have no idea how to write a Daemon for this, so if anyone has any tips, that would be awesome.
From my tutorial: "run this command, substituting sc_trans_basic.conf for whatever configuration file you are using: ./sc_trans daemon ./sc_trans_basic.conf" What other file would I use, do I have to make this file? I'm confused.
Other considerations: How do I install a firewall, which one, and what other security measures should I take? How cn I optimize the VPS further? how do I make all these streams work with my doman such as www.exampledomain.com:8222? I'll also have to install and configure WHMSonic or something like that to work with this, I think I'll just pay them the $10 to do that when I buy.
feelthesound is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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