The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SHOUTcast - Installation

Discussion in 'General Discussion' started by Xaviac, Feb 5, 2005.

  1. Xaviac

    Xaviac Member

    Joined:
    Nov 12, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    ive looked all around and cant find an installation guide on installing a shoutcast server. Dont know where to post this so im posting it here.

    thanks in advance!
     
  2. Shane_F

    Shane_F Member

    Joined:
    Jan 21, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1

    Should be on the same place where you downloaded it. :)
     
  3. Xaviac

    Xaviac Member

    Joined:
    Nov 12, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    it doesnt, the installtion guide is for a linux base GUI not ssh
     
  4. DoTz

    DoTz Registered

    Joined:
    Feb 5, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    :: Zach's Quicky Guide ::

    Step 1: Login to your FTP Client and load the Shoutcast Files. CHMOD sc_serv 777.
    Step 2: Login to your SSH, make sure your in the folder you uploaded files to and use the following command.
    ./sc_serv
    It should show some things including listeners which means Shoutcast is running. Make sure you have edited the config file before you started the server.
    Step 3: To kill the process, simply use killall sc_serv. This will kill any Shoutcast Servers running.

    Thanks for reading, if you need any help dont hesitate to contact me on AIM or MSN at VSupport01 on AIM and Zach@vexserv.com for MSN.

    Zach
    VexServ Solutions
     
  5. desihost

    desihost Active Member

    Joined:
    Feb 2, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    hi, de shoutcast server wrkd on my linux server.... what player can i use on my linux server to connect to de shoutcast in ssh mode... thanks....
     
  6. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    You'd need to use SAM2 or SAM3 or Winamp + DSP Plugin in Windows or Xmms + DSP Plugin in a GUI. The shoutcast server has no Linux GUI, just console.
     
  7. desihost

    desihost Active Member

    Joined:
    Feb 2, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Shoutcast...

    Hi, thanks... very much... a client has connected his home winamp to the server.... i would like to know how can i set bandwidth for him for the shoutcast server as i dont know which domain on the server hez taken the bandwidth from... thanks... :cool:
     
  8. aryapsh

    aryapsh Well-Known Member

    Joined:
    Apr 17, 2007
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    when i write ./sc_serv i have this problem : permission denied
    any idea?
     
  9. jh1rtd

    jh1rtd Registered

    Joined:
    Jan 17, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    777 little high 700 is good
     
  10. jackheskett

    jackheskett Member

    Joined:
    Jan 15, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    england
  11. hasif

    hasif Member

    Joined:
    Nov 13, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Link dead..

    hey.. the links to the guide is dead.. any updated links available?? :confused:
     
  12. whitewlf

    whitewlf Member

    Joined:
    Jan 14, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Shoutcast help

    Not sure if you got it working yet, but, keep in mind, if you are looking for a server based mp3 player or such, shoutcast is ONLY a rebroadcasting tool/server.

    You must use a playing source to feed it, either remote (your box at home) or localhost. One such program is on the icecast website, http://icecast.org/ices.php and another on shoutcast's site, http://shoutcast.com/download/broadcast.phtml (sc_trans un der the OSX, Linux, FreeBSD tools) will take a playlist and stream it to a local (or remote) server at whatever bitrate you wish.

    I am using the shoutcast one, but several web based library apps work more directly with the ices version.

    Make sure you open the ports for streaming in and out on your firewalls, and, note there are no nice simple startup tools etc for loading the server... You also need to start it backgrounded if you dont create a script, and, it will look, by default, for it's log and config files in the same directory you start it in.

    I created this for a simple, temporary startup solution. You can make copies of the app and name them with their port name if you run multiple ones, and want the stop script to only kill that one for you.

    #!/bin/sh
    # description: Shoutcast Server for xxxxxxxxx
    # chkconfig: 2345 99 00
    PORT=8000

    case "$1" in
    'start')
    cd /usr/local/shout/ ; ./sc_serv$PORT ./conf/sc$PORT.conf& > /dev/null 2>&1
    touch /var/lock/subsys/shoutcast$PORT
    ;;
    'stop')
    killall sc_serv$PORT
    rm -f /var/lock/subsys/shoutcast$PORT
    ;;
    'restart')
    stop
    start
    ;;
    *)
    echo "Usage: $0 { start | stop }"
    ;;
    esac
    exit 0
     
  13. whitewlf

    whitewlf Member

    Joined:
    Jan 14, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    More shoutcast help

    Oh, and a more complicated startup script for the sc_trans, if you are looking for that one:

    root@xxxxxxxxx [~]# cat /etc/init.d/shouttrans8000
    #!/bin/sh
    # description: Shouttrans Musac for xxxxxxxxxxxxx
    # chkconfig: 2345 99 00
    PORT=8000


    case "$1" in
    'start')
    cd /usr/local/shout/ ; ./sc_trans$PORT ./conf/sctrans$PORT.conf& > /dev/null 2>&1
    touch /var/lock/subsys/shouttrans$PORT
    ;;
    'stop')
    killall -TERM sc_trans$PORT
    rm -f /var/lock/subsys/shouttrans$PORT
    ;;
    'reload')
    killall -USR1 sc_trans$PORT
    echo "Playlist to port $PORT reloaded."
    ;;
    'reset')
    killall -HUP sc_trans$PORT
    echo "Transcoder for port $PORT Reset"
    ;;
    'next')
    killall -WINCH sc_trans$PORT
    echo "Port $PORT song advanced."
    sleep 3
    tail -n 3 /usr/local/shout/logs/sc_trans$PORT.log|grep DECODE
    ;;
    'toggle')
    killall -USR2 sc_trans$PORT
    echo "Playlist shuffle toggled on port $PORT."
    tail -n 1 /usr/local/shout/logs/sc_trans$PORT.log
    ;;
    'show')
    echo "Now playing on port $PORT:"
    tail -n 3 /usr/local/shout/logs/sc_trans$PORT.log|grep DECODE
    ;;
    *)
    echo "Usage: $0 { start | stop | reload | next | toggle | reset | show}"
    ;;
    esac
    exit 0



    Yes, I'm no shell scripting master. :) But it works, and, you can use this as a guide to add web app control (that is my next step) Oh make sure you do NOT run either as root, I doubt they are all that super duper secure.
     
Loading...

Share This Page